Joseph M Dupre wrote:
> It seems to me that if you have booted an "empty" system (i.e empty
> hard drive) with the LFS CD, then you can entirely skip chapter 5
> (the temporary system) and go straight to chapter 6.  Is this right?

I don't think this would work. If you do something like this:
mkdir /mnt/lfs/tools
ln -s /{sbin,bin,lib} /mnt/lfs/tools
chroot /mnt/lfs /tools/bin/bash

You would find that the binaries under /tools are linked against /lib,
which would cause problems (since it doesn't exist). The point of
setting up the temporary system is that the library paths need to be
valid. The only way to get around this would be to set up the links to
the equivalent places in the chroot, but then you'd end up installing
your LFS onto the host system (which wouldn't be a good idea, and
wouldn't work from the LiveCD anyway (since it's read-only)).
Basically, if this was possible from the LiveCD, it would be possible
from any host - and then it wouldn't be in the book. :)

-- 
Lennon Victor Cook
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to