[CentOS] fstab problem after a failed drive

Sun Sep 23 04:00:43 UTC 2007
Von Landfried <centos.list at eyestreet.com>

You should be able to boot off the CentOS 5 (assuming its 5) DVD or  
CD1 and go into "linux rescue" mode which will allow you to mount  
the / drive in rw mode thus allowing you to remove the entry from  
the /etc/fstab. Look into that option, I have done it before, but  
can't remember the exact steps.

A quick Google search found this:


On Sep 22, 2007, at 5:19 PM, Gregory P. Ennis wrote:

> Everyone,
> I installed a sata drive on a SuperMicro with SCSI drives.  No problem
> with the installation.  Everything went as expected as the os  
> recognized
> the drive and assigned /dev/sdc to the new 300 gig Seagate drive.   
> I had
> planned to use this drive for backup tarballs.
> The drive had been functional for about a week with no problems.
> Apparently it went out today when I tried to reboot the system.   
> Now the
> boot process brings the system up into repair mode, but mounts the /
> partition in "read only" status.  I can see that the original /dev/sdc
> is present but /dev/sdc1 is not present.
> I removed the drive completely and predictably /dev/sdc is no longer
> present.
> The problem I have now is that I have an entry in /etc/fstab that
> references the disabled drive that I am unable to change because I can
> only get to /etc/fstab in "read only" status.  I am sure there is  
> way to
> remove the entry to /dev/sdc1 but I have not been able to do so.
> Any help would be appreciated
> Greg Ennis
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos