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.
HI GUYS,
i am making a distribution using LFS 6.3. i just got stuck in changing to root from lfs .how to log in as user root and no longer as user lfs.
HI GUYS,
i am making a distribution using LFS 6.3. i just got stuck in changing to root from lfs .how to log in as user root and no longer as user lfs.
If you do not know how to change from one user to the other or log in as a specific user, than your experience level is too low to build an LFS system. You'll run into many situations that are not explained in the book but taken for granted. A certain amount of existing knowledge is expected: LFS Prerequisites
My advise: get familiar with the linux command line and the way tools are being used before you start this project. You might want to start with the links provoded on the LFS Prerequisites page.
BTW: Why did you choose for an older ("outdated") LFS version and not the latest stable?
EDIT: I've asked the moderators to move this thread to the LFS sub-forum here on LQ.
yeah i am very new to LFS , i was building LFS 7.1 but the livecd doesn't support 7.1, and by the way i know how to change to the root user the thing is that i am getting some problem on it, the permission is getting denied.
Please help me out on making the LFS , i have failed 5 times till now, i don't want this system to be ruined again, please tell me what to do now, it's a mini project for my collage ....
how to log in as user root and no longer as user lfs.
Quote:
Originally Posted by atul.verma.maa@gmail.com
and by the way i know how to change to the root user
You need to give us detailed information about your problem. The following doesn't tell us anything:
Quote:
the thing is that i am getting some problem on it, the permission is getting denied.
- Which LFS chapter,
- Which command,
- What is the exact (error) message,
- Did you encounter any errors leading up to this problem.
About the liveCD: You are correct in stating that it cannot be used to build LFS 7.0 or greater. But the liveCD comes with its own set of problems (mainly when restarting after a reboot).
I would strongly advise not to use the liveCD but to use the current stable version. Make sure your host confirms to the specs in the book (Host System Requirements).
If you want to build LFS 7.1 in an existing linux distribution , which distribution you would have choose, and actually i am doing this in livecd in VMWare....
Thanks for the - LFS 7.1 on Ubuntu 12.04, surely i'll be doing this, last time i was doing this on live cd i just got stuck on GCC pass 2 stating that kernal too old, i think this will help me ,, by the way i am still struggling on LFS 6.3.
it say's---
lfs is not the sudoer file. this incident will be reported..
Moved: This thread is more suitable in the Linux From Scratch forum and has been moved accordingly to help your thread/question get the exposure it deserves. Moreover the thread title has been changed to something that better introduce your question. Using a proper title makes it easier for members to help you.
Thanks for the - LFS 7.1 on Ubuntu 12.04, surely i'll be doing this
Good choice!
Quote:
by the way i am still struggling on LFS 6.3.
it say's---
lfs is not the sudoer file. this incident will be reported..
Sudo?
The LFS book doesn't mention using sudo anywhere, you need to become the user the "normal" way (using su - <user> (as shown here: 4.3. Adding the LFS User (last command on page)).
can you please explain this "The commands in the remainder of this book must be performed while logged in as user root and no longer as user lfs. Also, double check that $LFS is set in root's environment"
can you please explain this "The commands in the remainder of this book must be performed while logged in as user root and no longer as user lfs. Also, double check that $LFS is set in root's environment"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.