[SOLVED] How To Gain Access For lfs User To Comply With 3rd Important Note in LFS Man., Sec. 5
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
How To Gain Access For lfs User To Comply With 3rd Important Note in LFS Man., Sec. 5
Hi everyone. I downloaded and un-tarred packages (as a regular user) to a new folder in Download. How do I access this file as user lfs? Also I can't locate the patches I downloaded in the Download folder. As the original user I have cd'd to the file that holds the packages and tried to cp them to lfs's Download folder to no avail. Any help will be greatly appreciated. I am stuck at Section 5.3 of LFS 6.8 Manual.
Thank you spiky0011 for your reply and comments. I'm using version 6.8. I've been using an external hard drive to install LFS. I have a Dell Desktop Inspiron 530S with Win 7, Ubuntu 10.04, PCLinuxOS 2010.12, and Mint 10 installed. I purchased a Seagate Free Agent external hard drive so I can install other Linux Distros. Installing LFS is my first attempt at using the hard drive. I'll try what you've suggested and get back to you. Thanks again.
No, I'm using version 6.8 of the manual. The biggest problem I'm now having is switching back and forth between my regular user name and 'lfs' user name. I'm trying this build in Ubuntu 10.04 and it won't allow 'lfs', as regular desktop user, to 'mkdir' nor many other commands that are required for the build of LFS. I'm in section 5.4 of the manual and I can't make a directory for binutils without logging out then back in as a sudo approved user. I've finally managed to get all the downloads untarred and in a directory that 'lfs' user can access. I must be missing something here but I haven't been able to figure this out. Thanks for trying to help.
Tried the live cd but didn't get past request for "root" password. I tried several entries to no avail. Went to website for lfs cd and didn't find any reference there or in FAQ. Went back to using the manual and got stuck at 5.4.1. I get the following output:
lfs@daisy:/home/binutils-build$ ../binutils-2.21/configure \
> --target=$LFS_TGT --prefix=/tools \
> --disable-nls --disable-werror
bash: ../binutils-2.21/configure: No such file or directory
Does that indicate that the variable $LFS is set correctly? I've noticed that the"lfs-sources" list in the cd lists different (earlier) revisions of the packages that were downloaded. ie. /binutils-2.17 vs /binutils-2.21?? Thanks a lot for your help. When I boot the computer using the live cd it asks for a root password ( root[ # ] = )??
Does that indicate that the variable $LFS is set correctly?
Yes that is correct.
I've noticed that the"lfs-sources" list in the cd lists different (earlier) revisions of the packages that were downloaded. ie. /binutils-2.17 vs /binutils-2.21??
Some of the LFS liveCD come with the source files. But be careful: The sources on the cd are for LFS version 6.3!! You probably do not want to use those (very old version), use the packages you downloaded (probably LFS 6.8, latest stable version).
When I boot the computer using the live cd it asks for a root password ( root[ # ] = )??
Like I stated before: It does _not_ ask for a password!!
About the (binutils-)build directories: As stated in the book, you need to create them (commands are in the book) from within the untarred package. I.e.:
tar zxf package.version.tar.gz
# now create the build dir
Hi druuna - Thanks for your response. I'm going back to the beginning of the manual and will study all before proceeding. Originally, I started at Partitioning Section and went forward. I'm still confused by the "root [~]# =" in the cd. If I don't make an entry there and just press "enter" it doesn't move on. Thanks again for your help.
Thank you druuna and spiky0011 for your patience. Man, I must be really slow on the uptake. Finally figured out that "root[~]#" was a prompt and not a request for a password. I'm currently practicing un-tarring and installing some sample programs as suggested near beginning of manual/guide. Thanks for hanging with me.