Magikx21 Posted May 2, 2006 Report Share Posted May 2, 2006 I was trying to get hdc1 to mount so I added a line to the Fstab file and now I can't boot the system. I get a message about a messed up superblock and I cant seem to get past it what should I do? Quote Link to comment Share on other sites More sharing options...
arctic Posted May 2, 2006 Report Share Posted May 2, 2006 Boot the first install cd and hit F1 for rescue mode. Once you are in rescue mode, open an editor (e.g. nano) and edit the fstab file again. nano /etc/fstab save with ctrl+o, exit with ctrl+x and reboot. If you are lucky, it will work again. If not, you will need to restore the superblocks, but let's take one step at a time. If you want to edit your fstab and feel unsure, just post your plan/idea here and we will point you into the right direction if necessary. Good luck. :) Quote Link to comment Share on other sites More sharing options...
ffi Posted May 2, 2006 Report Share Posted May 2, 2006 (edited) I messed up my fstab many times already :unsure: but I found that there would always be a backup, called fstab~ but this is replaced with the current fstab if you edit it, so you first want to backup fstab~ and then try if copying the content to fstab fixes the problem. Edited May 2, 2006 by ffi Quote Link to comment Share on other sites More sharing options...
Magikx21 Posted May 2, 2006 Author Report Share Posted May 2, 2006 Its telling me that nano: command not found Quote Link to comment Share on other sites More sharing options...
Gul Dukat Posted May 2, 2006 Report Share Posted May 2, 2006 You will first have to install nano with easy urpmi. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted May 2, 2006 Report Share Posted May 2, 2006 Can you post the contents of your /etc/fstab, we can then help with what you currently have and change it accordingly. Quote Link to comment Share on other sites More sharing options...
Magikx21 Posted May 2, 2006 Author Report Share Posted May 2, 2006 I went back into my fstab with vi and got it all fixed. Thanks for the help. Quote Link to comment Share on other sites More sharing options...
arctic Posted May 2, 2006 Report Share Posted May 2, 2006 If you don't have nano installed, then use e.g. vim or emacs. ;) vim /etc/fstab Hit "insert" or "i" for going into edit mode, press "esc" for quitting editing mode, press ":wq" for saving and quitting vim. oops. one second too late. :D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.