I think that a reply like the following would have been more helpful:

To get started to continue LFS after restart: For chapter 6:

su - lfs

su

mount -v --bind /dev $LFS/dev

mount -vt devpts devpts $LFS/dev/pts
mount -vt tmpfs shm $LFS/dev/shm
mount -vt proc proc $LFS/proc
mount -vt sysfs sysfs $LFS/sys

chroot "$LFS" /tools/bin/env -i \
     HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
     PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
     /tools/bin/bash --login +h

cd sources


Wayne Sallee
[email protected]


Bruce Dubbs wrote:
> Yuan Cao wrote:
>> Hello,
>>
>> I hope this is the right place for post this.
>>
>> According to the note on section 6.4 Entering the Chroot Environment, I
>> would need to go through sections 6.2.2, 6.2.3 and then use the chroot
>> command as given in section 6.4, if I shut down my computer at any point in
>> section 6.
>>
>> I hope you can add to the note in section 6.4 that a person might also need
>> to remount the partition by following the first 2 commands in section 2.4
>> Mounting the New Parition first to remount the partition.
>>
>> After shutting down, and starting it up again, I kept getting errors when
>> trying instructions on sections 6.2.2 and 6.2.3. That's when I noticed that
>> /mnt/lfs was empty. When I mount my LFS partition, all my files came back.
>>
>> This is probably too basic of a problem for most. But, I think it would be
>> a good idea to mention it for completeness sake.
> This is too basic.  I'll refer you to section vi. Prerequisites.
>
> "Building an LFS system is not a simple task. It requires a certain
> level of existing knowledge of Unix system administration in order to
> resolve problems and correctly execute the commands listed."
>
>     -- Bruce
>
-- 
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