Jump to Navigation

097 - How to edit /etc/fstab with single user mode.

If you configure a wrong settings in /etc/fstab, Linux OS can not reboot normally.
The error message is like the followings.

fsck.ext3: No such file or directory while trying to open /dev/emcpowera1
/dev/emcpowera1:
The superblock could not be read or does not describe a correct ext2 filesystem.
If the device is valid and it really contains an ext2 filesystem (and not swap or ufs
or something else), then the superblock:
e2fsck -b 8193 <device>

You need to modify /etc/fstab in order to correct the configuration. but you can not modify it under the single user mode.
The remount(rw) option allows you to modify /etc/fstab.

# mount -o remount,rw /dev/VolGroup00/LogVol00

 



Main menu 2

Story | by Dr. Radut