Problem in running "ln -s $LFS/tools /"

Stephen Liu satimis at yahoo.com
Tue Jun 28 02:23:08 PDT 2005


Hi Andrew,

Tks for your advice.

> As you can see, /tools already exists. Either you
> created it earlier or you didn't set the variable
> LFS=/mnt/lfs so when you did mkdir $LFS/tools it was
> the same as doing mkdir /tools

Sorry, I over-looked "4. Final Preparations" page
http://www.sg.linuxfromscratch.org/lfs/view/6.0/chapter04/chapter04.html

# rmdir /tools/

# echo $LFS
No printout
# export LFS=/mnt/lfs
# echo $LFS
/mnt/lfs

# mkdir $LFS/tools

# ls /mnt/lfs/
lost+found  sources  tools

# ln -s /$LFS/tools /

# exit
$ su -
Password:
# groupadd lfs (must be "su -")

# useradd -s /bin/bash -g lfs -m -k /dev/null lfs
# passwd lfs
Changing password for user lfs.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated
successfully.
# chown lfs $LFS/tools

All went through without problem


# chown lfs $LFS/sources
chown: cannot access `/sources': No such file or
directory

I'm held here again.  Any advice?

TIA

B.R.
Stephen



More information about the lfs-support mailing list