Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This 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.


  Search this Thread
Old 11-23-2003, 10:14 AM   #1
Registered: Oct 2003
Location: Tucson
Distribution: Fedora, RHEL, Ubuntu
Posts: 225

Rep: Reputation: 31
LFS 5.0 Chapter 5

I seem to be having tons of trouble and I am not sure why.

I am not sure if this is right but I have to run the 'export LFS=/mnt/lfs' command every time i exit my term or when I su to root. Kinda wierd. I fi don't when I 'echo $LFS' i get a blank line
[root@fedora]#echo $LFS


I keep getting this error now.
[root@fedora lfs]# ln -s $LFS/tools /
ln: `//tools': cannot overwrite directory

If anyone has ideas, please let me know!

Old 11-23-2003, 10:28 PM   #2
Registered: Nov 2003
Distribution: xubuntu
Posts: 217

Rep: Reputation: 30
Yes, that makes sense because export doesn't create the variable as a permanent alias for /mnt/lfs.

If you want to do that, you need to edit your .bash_profile file in your home directory, with "export LFS=/mnt/lfs" as a line placed where ever.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LFS 6 Chapter 6.3 chroot error gatblast45 Linux From Scratch 8 01-01-2008 03:12 AM
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM
LFS 6 Chapter 6.8 mount error gatblast45 Linux From Scratch 20 01-04-2006 05:48 PM
chapter 6.3 of LFS 6.1 Stamp Linux From Scratch 2 07-22-2005 07:10 AM
LFS 3.3 - chapter 6 - glibc error fend88 Linux From Scratch 5 04-28-2002 11:06 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration