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

Stephen Liu satimis at
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

# rmdir /tools/

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

# mkdir $LFS/tools

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

# ln -s /$LFS/tools /

# exit
$ su -
# 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
# chown lfs $LFS/tools

All went through without problem

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

I'm held here again.  Any advice?



More information about the lfs-support mailing list