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.
Cheers, Glen |
What version are you building 6.7/6.8 You can get a complete tar of all packages for 6.8 here http://www.hotfilesearch.com/downloa...s-6.8.tar.html
And 6.7 here ftp://ftp.lfs-matrix.net/pub/lfs/lfs-packages/ The easiest way is to download onto a pen drive. Copy to hardrive which you mounted in the begining then untar it. It will create dir sources all packages and patches will be in there |
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.
Cheers, Glen |
Are you using the lfs cd as base distro?
|
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.
Cheers, Glen |
You might find it easier to use the lfs live cd to build on
|
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 What am I missing here? Thanks for your help. |
did u cd into the binutils-build dir before running command
|
Hi,
Quote:
Also: Quote:
Don't deviate from the book, especially if this is your first LFS build: $LFS should be set to /mnt/lfs and the sources directory should be $LFS/sources. Hope this helps. |
spiky0011 - I didn't find a binutils-build directory. Here is the ls-l of binutils:
Quote:
|
Hi druuna - I've been restarting and booting using the live LFS cd. Here is the $LFS echo returns:
Code:
lfs@daisy:/mnt/lfs/sources/Downloads$ echo $LFS |
Hi,
Quote:
Quote:
Quote:
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.: Code:
cd $LFS/sources |
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.
Kind regards, Glen |
Do you just boot from cd let it load then it should offer some settings then you end up with root# There is no password as mentioned
|
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.
Kind regards, Glen |
All times are GMT -5. The time now is 03:59 PM. |