chroot or re-boot on 32 cross-lfs for AMD 64.

Jeremy Utley jerutley at gmail.com
Tue Apr 11 08:59:55 PDT 2006


On 4/11/06, Matt Darcy <lfs-list at projecthugo.co.uk> wrote:
>
> >
> > It seems to have worked, I built a monolithic kernel using "7.11.
> > Linux-2.6.16.1" and the gcc-64.
> >
> > # uname -a
> > Linux lfs 2.6.16.1 #1 PREEMPT Tue Apr 11 09:41:42 UTC 2006 x86_64 AuthenticAMD
> > unknown GNU/Linux
> >
> > Am I now, safely, able to use the chroot method to continue?
> >
> > -pete
>
>
> No,
>
> you can't use chroot method unless your host is the same as your target
>
> if you've just use the "boot" method to make a 64bit kernel and you've
> now booted into it, you should continue with the "boot" method, not
> switch to chroot.

Matt,

I beg to differ, but by all rights he should be able to safely chroot.
 He may still have a 32-bit userland, but his kernel fully supports
64-bit binaries, so chrooting should be perfectly fine.

Jeremy



More information about the cross-lfs mailing list