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

William Zhou armageddonmagic at 163.com
Tue Apr 11 11:29:50 PDT 2006


Jeremy Utley wrote:
> 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
>   

It is very strange to have a 64 bit kernel while using 32-bit userland 
programs.
Besides, some like ALSA does not work if the kernel and the userland 
program
did not match.

William




More information about the cross-lfs mailing list