How To Change ‘fstab’ When You Cannot Boot The Machine?

Home » CentOS » How To Change ‘fstab’ When You Cannot Boot The Machine?
CentOS 3 Comments

Hello All,

So My Drobo finished formatting and I added an entry to fstab for it and now I cannot boot the machine. I get an error about

fsck.ext3: is a directory while trying to open /drobo and then a mention of a valid super block

I had mounted the Drobo as /drobo and in ‘fstab’ I copied the line for ‘/’
changing to ext3 where it was ext4.

I have made a mistake

I cannot fix it because trying to edit fstab results in a “read only file system message”

Can anyone help me learn how to recover?

Jason

3 thoughts on - How To Change ‘fstab’ When You Cannot Boot The Machine?

  • Sorry for the personal reply. An oversight.

    My hesitation with the ‘Rescue installed system’ sort of reminds me of Windows where this option will go and blindly copy new versions of files to a system to get it to boot. I wasn’t sure what would happen if I selected this option from the DVD.

    I will try it now.

  • or while it’s in single user mode with the read only /; do a mount -o remount / to get the filesystem into read write, edit your fstab file and reboot.

LEAVE A COMMENT