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.
i made lfs system it was working well..i tried to login after 6 months ..but the problem is that i forgot my password..what should be done now to loggin.
is there anyway to login?
will this lfs system work again?
plz help!!!!!
I don't know LFS, but if you are using grub (and you probably are), you can simply pass an 'S' kernel option in to get to single-user mode. Reset root's password from there.
If you've set a grub password, and don't know that either, then you're going to need a live cd to do the job.
from where can i buy live cd.
can i purchase already build lfs system.,if yes then from where and how?
Please start your own thread. It is confusing when there is more than one subject in a thread. For your question it will help if you say which country you are in.
You can download any LiveCD from the internet, there's no real need to buy one. Then you can boot from the LiveCD and chroot into the harddisk environment and change the root password. Next, reboot and voila, up and running.
Once booted from LiveCD do this:
Code:
mkdir /mnt/tmp
mount /mnt/tmp /dev/sda1 <<< the partition that contains your LFS
mount --bind /dev /mnt/tmp/dev
mount -t proc none /mnt/tmp/proc
chroot /mnt/bin/bash
Now you've chrooted into a bash shell of your LFS system and can run
hello,
my lfs is on sda5.
i get an error /mnt/tmp is not a block device when i do mount /mnt/tmp /dev/sda5.
please help.
I am sooo close to booting my lfs.
1 sec.
root:/# passwd root
Changing password for root
Enter the new password (minimum of 5 characters)
Please use a combination of upper and lower case letters and numbers.
Bad password: too short.
Warning: weak password (enter it again to use it anyway).
passwd: password changed.
root:/#
Mount /mnt/lfs /dev/sda5
Then all the steps in 6.2.2 and 6.2.3 which includes an export to LFS.
Then I chroot to it.
Then type passed root and I got the above output
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.