I don't know if we mention this in the book, although something about
multiple partitions springs to mind. This is just a heads up to anyone
who attempts to do the same.

I like to spread my system over multiple partitions, and I typically
give about 500M to / as it rarely needs any more than that; this means
that creating the tools structure and then building the actual
filesystem is a bit of a squeeze. To get around this, I put tools into
/usr, then symlink /mnt/usr/tools to /mnt, and symlink /mnt/tools to /.
This all works fine until it's time to chroot into it, and then it might
complain about not being able to find certain files. This is because the
/mnt/tools symlink is pointing to /mnt/usr/tools rather than usr/tools,
and when you chroot into it the symlink is relative to the root of your
chroot environment.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to