On Fri, 22 Jul 2011 02:37:16 -0700 (PDT) Ashutosh Narayan <[email protected]> wrote:
> I am doing LFS for the second time but this time I do not wish to keep my > computer awake for days until I finish building LFS. > I have been following LFS book version 6.3 ; done till section 4.4. LFS-6.3 is very old. Why don't you try a more recent version, 6.8 > I want my computer to rest now and wish to resume next time from where I have > left. > I found that if I pass the following at the boot option : > linux LANG=en_US.UTF-8 TZ=Asia/Calcutta resume=/dev/sda1 > where /dev/sda1 is swap partition ; it should resume but it DID NOT. > I had to redo till section 4.4 If you've mounted a partition of your hard drive at /mnt/lfs then any files installed there should be written to the disk and will still be there when you remount the partition. Perhaps you booted from a live cd and didn't mount a partition at /mnt/lfs? That would explain why it disappeared when you rebooted. > Can someone suggest how can I achieve this, > so that I can take break between the builds ? If you remount the partition, how to carry on depends on where you were up to. If you're still compiling the temporary tools then you should just need to su - lfs and then carry on from where you left off. In chroot you need to remount the kernel file systems before you chroot. And if you're chrooting after you've installed bash you can change the chroot command so it uses /bin/bash not /tools/bin/bash. I've probably forgotten something, somebody correct me. Andy -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
