Quote:
Originally Posted by tryLinux&see
Code:
# Begin /etc/fstab
# file system mount-point type options dump fsck
# order
/dev/hdc3 /mnt/lfs ext3 defaults 1 1
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
devpts /dev/pts devpts gid=4,mode=620 0 0
shm /dev/shm tmpfs defaults 0 0
# End /etc/fstab
EOF
|
(spacing adjusted by me)
Now, is that
really your /etc/fstab
on your LFS system? Or is that from the host system (or copy-pasted from the LFS book with a few modifications)? The reason I ask is because of the "EOF". If the file was created with the instructions in the book, the EOF would not be there. The EOF should be removed from the file. Go back through the book and check any other system files made with the "cat > somefile << EOF" method.
None of those files should have an EOF at the end.
Regardless, assuming that is the /etc/fstab on your LFS system, the problem is simple: you
don't have a root directory. I'm not even sure how the system boots
. You need to change this line:
Code:
/dev/hdc3 /mnt/lfs ext3 defaults 1 1
to be this:
Code:
/dev/hdc3 / ext3 defaults 1 1
Assuming that when you built LFS, you compiled and installed everything like the books suggests (inside /mnt/lfs).