You are not logged in.

#1 2008-08-05 12:02:45

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

For chroot Arch32, you need to set 32-bit emulation for 64-bit kernels

Most of you folks are probably already aware of this, but I wasn't (even though it may be mentioned in the docs somewhere).

If you're running Arch64 but you maintain an Arch32 environment that you chroot into (à la these instructions), and you decide that you want to build a custom kernel, you'll need to set this kernel option in order for your chrooted 32-bit Arch to work:

CONFIG_IA32_EMULATION=y

If you don't set this option to "y", you'll get an error similar to this when you try to chroot into your Arch32 environment:

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

I added this to the "Arch64 Install bundled 32bit system" wiki page.

Last edited by dhave (2008-08-05 12:28:37)


Donate to Arch!

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

Offline

#2 2008-08-10 20:03:35

violagirl23
Member
Registered: 2008-01-24
Posts: 184

Re: For chroot Arch32, you need to set 32-bit emulation for 64-bit kernels

Would this be a way to let programs such as vmware be run in a 32 bit chroot and be able to thus use 32 bit video card drivers? (I wanted that so I could more easily enable Direct3D)


"You can't just ask to borrow somebody else's lampshade. It's AWKWARD!"

Offline

#3 2008-08-13 18:10:44

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

Re: For chroot Arch32, you need to set 32-bit emulation for 64-bit kernels

violagirl23 wrote:

Would this be a way to let programs such as vmware be run in a 32 bit chroot and be able to thus use 32 bit video card drivers? (I wanted that so I could more easily enable Direct3D)

I don't see why that wouldn't work. Check the two links that are in my first post (actually, I think they point to the same wiki page).

Sorry nobody answered sooner. That's unusual on this forum. Blame in on August (the month, not the person).


Donate to Arch!

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

Offline

Board footer

Powered by FluxBB