usaully when you edit a file it creates a backup of the file you were editing see if theres a fstab~. if so just rename it fstab. or type this in your terminal to get you started.
cat > /etc/fstab << "EOF"
# Begin /etc/fstab
# filesystem mount-point fs-type options dump fsck-order
/dev/xxx / fff defaults 1 1
/dev/yyy swap swap pri=1 0 0
proc /proc proc defaults 0 0
devpts /dev/pts devpts gid=4,mode=620 0 0
shm /dev/shm tmpfs defaults 0 0
# End /etc/fstab
EOF
xxx is you partition where your distro is installed
fff is your filesystem type
try google for fstab examples also I ripped the above example from the LFS handbook.
Last edited by Boow; 02-19-2005 at 07:10 PM.
|