Gentoo Archives: gentoo-user

From: Bo Andresen <bo.andresen@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error
Date: Wed, 22 Feb 2006 23:59:28
Message-Id: 200602230051.13092.bo.andresen@gmail.com
In Reply to: Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error by "Boyd Stephen Smith Jr."
1 On Thursday 23 February 2006 00:42, Boyd Stephen Smith Jr. wrote:
2 > Your 32-but kernel can't run the 64-bit bash. You'll have to use a 64-bit
3 > kernel (or as 32-bit stage3, and then gradually recompile)
4
5 Thanks for explaining that.
6
7 > If you have a little bit of free space, do a 32-bit install to a separate
8 > LV. No need to really do a full install, just enough so you can compile a
9 > 64-bit kernel and install and configure your bootloader to load the 64-bit
10 > kernel.
11 >
12 > That should be as easy as lvcreate, format, mount, extract 32-bit stage3,
13 > cp over /etc/resolv.conf, chroot, emerge <your_favorite>-sources,
14 > cd /usr/src/<whatever>, zcat /proc/config.gz > .config, make oldconfig,
15 > make, emerge grub, mount /boot, grub-install, make install, umount boot,
16 > shutdown -r now.
17
18 Is that all it takes? I'll definitely try that then. Thanks again.
19
20 --
21 Bo Andresen
22 --
23 gentoo-user@g.o mailing list