How to switch to root in LFS 6.3?
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. |
Quote:
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 ....
|
You are contradicting yourself:
Quote:
Quote:
You need to give us detailed information about your problem. The following doesn't tell us anything: Quote:
- 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....
|
Quote:
Have a look here for some pointers: - LFS 7.1 on Ubuntu 12.04 - Minimal Graphical Debian Host for LFS |
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.. i wish i could show you the screen shorts .. |
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.
|
Hi
Can you explain what you mean. What live cd are you using |
Quote:
Quote:
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"
It is chapter http://www.linuxfromscratch.org/lfs/...gingowner.html |
Quote:
All of chapter 5 (up to and including 5.33) is done by user lfs, 5.34 is done as root user. $LFS should contain /mnt/lfs (or whatever you used). |
so how to move to root user .
|
Quote:
Code:
su - |
All times are GMT -5. The time now is 03:03 AM. |