mprovenc
asked on
Linux won't boot, missing fstab
Following a crash and lots of disc corruption, my machine will no longer boot.
fsck complains about a missing /etc/fstab. I eventually get into the maintenance mode, and I can see a file called /etc/fstab~, but no fstab. I can't rename it either because the file system is read-only.
How can I bring back this file ? I have no boot or rescue disk of course...
fsck complains about a missing /etc/fstab. I eventually get into the maintenance mode, and I can see a file called /etc/fstab~, but no fstab. I can't rename it either because the file system is read-only.
How can I bring back this file ? I have no boot or rescue disk of course...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
oh boy, you're making it hard for her. all you need to do is boot to single-user mode and remount the file system using:
mount -n -o remount,rw /
or replace / with other partition like /etc, /usr.
tsk...tsk
mount -n -o remount,rw /
or replace / with other partition like /etc, /usr.
tsk...tsk
ASKER
Thanks to everyone !!
I think that last one with the remount option might have done it, however
because we've had so many problems with the hard disk and the network
card (it kept crashing under heavy traffic), the powers that be have told
me to intall NT on this machine and see if it would work better.
I know, that sucks.
Thanks again to everyone !!
I think that last one with the remount option might have done it, however
because we've had so many problems with the hard disk and the network
card (it kept crashing under heavy traffic), the powers that be have told
me to intall NT on this machine and see if it would work better.
I know, that sucks.
Thanks again to everyone !!
# mv /etc/fstab~ /etc/fstab