[SOLVED] installing LFS-8.0, is it safe to shutdown after completion of chapter 6?
Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
installing LFS-8.0, is it safe to shutdown after completion of chapter 6?
Hello, I managed somehow to reach the end of chapter 6 and I am ready to proceed with chapter 7. However, at this point I would like to stop the process for a while and come back again after some time. Is it OK if i shutdown the working environment at this stage? As per chapter 2 paragraph 3.3 i only need to redo some mountings when I will come back. Are there any other issues i will have to consider?
The environment I am building LFS is slackware64 14.2 that runs under Virtualbox from an external usb hdd (it can also run nativily by directly booting from this hdd outside of virtualbox).
I am not an expert on LFS, but I believe it is ok to shutdown and resume. In fact, this is exactly what I did when I built LFS. I spent several hours a day for about 7 days and shutdown each day. Each time you resume, you have to execute the chroot sequence in the book.
I shut down and resume multiple times. My LFS builds usually take weeks!
In root's home directory on the host, make a script that will mount the LFS partition, mount all the dynamic partitions on it, and do the actual chroot. If you have reached the end of chapter 6, you will want to use /bin/bash and /usr/bin/env in the chroot command. Otherwise the instructions are the same as the ones at the beginning of chapter 6. Make it executable.
At the start of each new session, just type ./setup or whatever you have called the script.
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,153
Rep:
As has been said it's fine to shutdown just make sure you redo all you need to before resuming, it's best to put the commands into a script and just execute that, that way you can't accidentaly forget anything, I also use a script when exiting the chroot to make sure stuff gets unmounted from the chroot properly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.