Jump to content

Fixing Fstab [solved]


Magikx21
 Share

Recommended Posts

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. :)

Link to comment
Share on other sites

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 by ffi
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...