On Thursday 23 February 2006 22:40, Boyd Stephen Smith Jr. wrote:
> On Thursday 23 February 2006 15:31, Bo Andresen <[EMAIL PROTECTED]>
> wrote about 'Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec
>
> format error':
> > On Thursday 23 February 2006 00:42, Boyd Stephen Smith Jr. wrote:
> > > > livecd gentoo # chroot /mnt/gentoo bin/bash
> > > > chroot: cannot run command `bin/bash': Exec format error
[SNIP]
> > Will a 64 bit kernel be able to run a 32 bit bash?
>
> A 64-bit kernel will run 32-bit binaries fine... Um, there may be a needed
> kernel option though... CONFIG_IA32_EMUL? Anyone?

I cannot seem to find any such kernel config option.

> > In order to get a 64
> > bit kernel a have to set CFLAGS=-march=k8
>
> Your CFLAGS in make.conf don't affect your kernel, normally.

Didn't really think so either. It's just that I still get  the Exec format 
error when I try to chroot. Is there a way to very that I really am running a 
64 kernel?

> I don't use 
> genkernel maybe it does some crazy magic like that.

I don't either.

> > and set the processor type to
> > K8 in the kernel configuration, right?
>
> Just setting the proper processor type should build your kernel as 64-bit.

Did do that.

Thanks for your replies..

-- 
Bo Andresen
-- 
gentoo-user@gentoo.org mailing list

Reply via email to