Hi Andrew,

Thanks for your quick response. 
Well, I am using lfslivecd-x86-6.3-r2160.iso to boot off from. This the latest 
iso I got from the website. And it contains official LFS-6.3 book which I am 
referring to. Am I using the correct one ? I am doing so on a virtual machine.

Second, I have created two partitions : /dev/sda1 ( swap) and /dev/sda2 ( root 
).
I remember following the step to mount /dev/sda2 on $LFS ( /mnt/lfs ). Yes, I 
have not written anything on it though. On the next reboot the directory ( 
/mnt/lfs/{tools,sources} itself are not visible.
I was supposed to start from here. But see no directories inside /mnt after the 
next reboot.

I think my problem is yet not solved. Suggestions ?

Thanks,

~ Ashutosh


--- On Fri, 7/22/11, Andrew Benton <[email protected]> wrote:

From: Andrew Benton <[email protected]>
Subject: Re: Break between the builds
To: [email protected]
Date: Friday, July 22, 2011, 5:12 PM

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
-- 
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