You are not logged in.

#1 2008-08-05 09:27:17

dhave
Arch Linux f@h Team Member
From: Outside the matrix.
Registered: 2005-05-15
Posts: 1,112

[SOLVED] Can't chroot into Arch32 with custom 2.6.27 kernel

As usual, I'm in over my head.

I run Arch64.

I installed kernel26zenmm-git from AUR, which builds kernel 2.6.27-rc1. Everything's fine except that I can't seem to chroot into /opt/arch32*, from where I run 32-bit apps

I get this error message when I try to chroot into /opt/arch32

"chroot: cannot run command '/bin/bash': Exec format error"

When I load my stock 2.6.25.11 kernel, this chroot system works fine.

Is there a kernel option that I need to enable in order to chroot into my Arch32 environment? Or is there some other reason that my new kernel isn't cooperating?



-------------

* I have Arch32 installed here, and I chroot into this environment to run 32-bit apps. See http://wiki.archlinux.org/index.php/Arc … bit_system

Last edited by dhave (2008-08-05 11:56:57)


Donate to Arch!

Tired? There's a nap for that. --anonymous

Offline

#2 2008-08-05 09:40:19

dhave
Arch Linux f@h Team Member
From: Outside the matrix.
Registered: 2005-05-15
Posts: 1,112

Re: [SOLVED] Can't chroot into Arch32 with custom 2.6.27 kernel

dhave wrote:

Is there a kernel option that I need to enable in order to chroot into my Arch32 environment? Or is there some other reason that my new kernel isn't cooperating?

This, for example?

CONFIG_IA32_EMULATION=y

I see that this is set in my stock 2.6.25 kernel config but not set in my zenmm 2.6.27 kernel config.


Donate to Arch!

Tired? There's a nap for that. --anonymous

Offline

#3 2008-08-05 11:56:33

dhave
Arch Linux f@h Team Member
From: Outside the matrix.
Registered: 2005-05-15
Posts: 1,112

Re: [SOLVED] Can't chroot into Arch32 with custom 2.6.27 kernel

dhave wrote:
dhave wrote:

Is there a kernel option that I need to enable in order to chroot into my Arch32 environment? Or is there some other reason that my new kernel isn't cooperating?

This, for example?

CONFIG_IA32_EMULATION=y

I see that this is set in my stock 2.6.25 kernel config but not set in my zenmm 2.6.27 kernel config.

O.K., I've set CONFIG_IA32_EMULATION=y in my zenmm 2.6.27-rc1 kernel config, and the kernel that I built therefrom lets me chroot into my Arch32 environment with no problems.

I'm tagging this thread [SOLVED].


Donate to Arch!

Tired? There's a nap for that. --anonymous

Offline

Board footer

Powered by FluxBB