On Tue, 14 Aug 2007 00:56:44 mario wrote: > Hello, I have ended building lfs, I want to build lfs, but I don't know how > chroot. > i have to chroot using another OS than the one that served as host for the > build of lfs. because that host (the lfs live cd) did not reckonize the > network card of the computer. > > when I chroot using this other operating system. using the command at the > end of chapter 6 of the lfs book 6.2, and i do a uname -a; i don't get the > kernel of the lfs but the kernel of the machine i am chrooting from. how > could I solve that? > > how should I enter chroot now? > > the command i am currently using is: > > chroot "$LFS" /usr/bin/env -i \ > HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \ > PATH=/bin:/usr/bin:/sbin:/usr/sbin \ > /bin/bash --login > > do i still have to populate dev? > > thank you.
>From a non-expert -- I managed to build a lot of my last system (unstable from March 2007) using chroot from a previous system, using the command from LFS. Yes, you do have to mount the virtual kernel file systems and mount and populate dev. I built xorg, qt, and a basic kde system from chroot. All seem to work. After my new system was actually functional and useful I built the rest of the system from within it. If you are worried about the different kernel you can always rebuild things once you are within the new system. Peter -- The Kiwi bird is very aptly New Zealand's national emblem. It is a bird which cannot fly. It only comes out at night. It has nostrils at the end of its long beak, and It is always poking its nose into things. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
