Deleted /etc/fstab !!
Hi all,
being a complete idiot I hastily moved my fsab file to fstab.old and modified it. However, I accidently saved the modified file as fstab.old so fstab no longer exists. Linux now fails to bootup as the file is missing. How can I change the name of that fstab.old file to fstab. Please don't say I have to reinstall. Thanks in advance Sat |
#cp fstab.old fstab
? |
Yes, but how do I get a prompt where I can type the command. Linux does not boot as normal.
|
try a rescue disk. There's hundred's of them out there.
I like tomsrtbt (actually a single floppy distro) |
insert ur cd, power up, select rescue mode.?
|
When the system fails to boot but up I can type in the root password and try to repair. However when I try to:
cp /etc/ftab.old /etc/fstab I'm told its a read only file system. |
remount / read,write with this command:
/sbin/mount -n -o remount,rw / |
All times are GMT -5. The time now is 01:23 PM. |