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 booted LFS for the first time and it runs fine, till I get to the login where I have to enter the password and username. And I'e tried everything but it keeps on saying either invalid argument or password not accepted.
I have a clone of my LFS system, from which I have not logged out yet so I can check for the files. So what files should I check to find the login? I read on the forum and found /etc/passwd and /etc/shadow/ but my shadow file is empty.
All help is very much appreciated. Its very frustrating to have come so far but be halted because of some small asentmindness!
If LFS is functioning the way it should then you can remove the host completely.
I would advise to keep the host around for a little while, if something goes wrong with LFS you can boot into your host enter the chrooted environment and use that to tackle the problem. I'm not sure if a life-cd can help (this being a VM).
Everything works fine at the moment. About the rescue option : I can change the boot order of the VM through VM settings. However is it ok to use Live CD as it doesn't support LFS 7.0 upwards?
Also another niggle. I saw the same question on the forum but search as I can, I cannot locate it.
My command line shows
bash-4.2#
What have I done wrong/omitted?
Everything works fine at the moment. About the rescue option : I can change the boot order of the VM through VM settings. However is it ok to use Live CD as it doesn't support LFS 7.0 upwards?
I wasn't talking about the LFS live cd but a generic Linux lice cd.
The point being that you can boot into your machine (VM) with the live cd, mount the appropriate partitions and repair the damage if needed.
Quote:
Originally Posted by DeeGee
Also another niggle. I saw the same question on the forum but search as I can, I cannot locate it.
My command line shows
bash-4.2#
What have I done wrong/omitted?
I don't understand the above quote. Which question are you talking about and what does this have to do with a, seemingly normal, bash prompt?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.