Hello, I am seeking your assistance today regarding a rather mysterious error I am getting while trying to work my way through LFS version 7.1.
So far, I went through chapter 5 with out incident. I followed every command in the book, and both sanity checks came back good. At the end of chapter 5 I noticed the note that said to change to root and check that $LFS was set in root's environment so I did the following:
Code:
lfs@Miranda:/mnt/lfs/sources$ su - root
Password:
root@Miranda:~# export LFS=/mnt/lfs
root@Miranda:~# echo $LFS
/mnt/lfs
Assuming this was done correctly, I continued with the book and changed ownership of $LFS/tools from lfs to root by doing this:
Code:
root@Miranda:~# chown -R root:root $LFS/tools
Now here is where things get messed up, the book (in section 6.2) wants me to create a few directories for the file systems to be mounted it wants me to enter:
Code:
mkdir -v $LFS/{dev,proc,sys}
upon doing this the outcome is not very favorable. I get this:
Code:
root@Miranda:~# mkdir -v $LFS/{dev,proc,sys}
mkdir: cannot create directory `/mnt/lfs/dev': File exists
mkdir: cannot create directory `/mnt/lfs/proc': File exists
mkdir: cannot create directory `/mnt/lfs/sys': File exists
I'm at a loss due to limited Linux experience. I am working on a VM, with Ubuntu 12.04 host. I hesitate to continue because the book doesn't say that this is a normal situation, would any of you happen to have any idea why it's doing this?