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.
Hello, I am using LFS version 7.1, and my host is a Debian installation.
I was at chapter 6.8 when my power supply was gone, and so, as the note at chapter 6.4 say, i have to remount everything in 6.2.2 and 6.2.3 .
When i tried to remount them, the following was my output.
Code:
root@debian:/home/roshan# mount -v --bind /dev $LFS/dev
/dev on /dev type none (rw,bind)
root@debian:/home/roshan# mount -vt devpts devpts $LFS/dev/pts
devpts on /dev/pts type devpts (rw)
root@debian:/home/roshan# mount -vt tmpfs shm $LFS/dev/shm
shm on /dev/shm type tmpfs (rw)
root@debian:/home/roshan# mount -vt proc proc $LFS/proc
mount: proc already mounted
root@debian:/home/roshan# mount -vt sysfs sysfs $LFS/sys
mount: sysfs already mounted or /sys busy
mount: according to mtab, sysfs is already mounted on /sys
root@debian:/home/roshan#
When the PS failed, proc and sysfs was not unmounted. The entry is still in $LFS/etc/mtab. Could you post the contents of $LFS/etc/mtab, or delete the lines starting with proc and sysfs before remounting.
When the PS failed, proc and sysfs was not unmounted. The entry is still in $LFS/etc/mtab. Could you post the contents of $LFS/etc/mtab, or delete the lines starting with proc and sysfs before remounting.
I am a newbie. Can you explain the bolded part a bit more. I mean how to do it ?
Also, should i be the lfs user for applying these mount commands ?
So, I am going to perform the mounting of lfs again using
Code:
mount /dev/sda1 /mnt/lfs
and the performing the following mounts
Code:
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
No, for me it was /dev/sda1. For you it will be /dev/sda8. You posted while I was typing. If you did not unmount /mnt/lfs or rebooted, then you do only have to mount proc and sysfs.
No, for me it was /dev/sda1. For you it will be /dev/sda8. You posted while I was typing. If you did not unmount /mnt/lfs or rebooted, then you do only have to mount proc and sysfs.
By just giving the commands for mounting proc and sys, i got the errors like sysfs is busy or /sys is already mounted, and proc is already mounted. That is why I remounted again from mount /dev/sda1 /mnt/lfs
If it was me I would reboot the system and do chapter 2.4 mounting the new partition as you did earlier, then chapter 6.2.2 and 6.2.3 then 6.4
Yeah man, you are right. Only after mounting the partition again, it worked.
Another question. Do we have to delete all the extracted directories and the <package>-build directories in chapter 9 ? I haven't read anywhere to keep those directories till now .
How is the pc connected to the internet. If it gpse through a router you wont need that part
I use GPRS connection for accessing net. Currently, I have followed the book chapter 7.2.2 and 7.2.3 . I get to know they are not meant for my configuration. Is it possible to undo those steps I did, and continue from chapter 7.4 ?
At chapter 7.5, Where should the command prompt be ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.