The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Moving the root partition (simple fstab / grub question) d11wtq UNIX for Dummies Questions & Answers 7 10-07-2008 09:55 AM
/ filesystem is mounted read only DGK UNIX for Dummies Questions & Answers 2 05-18-2007 01:09 AM
RedHat hang after VFS Mounted Root Ralf Linux 1 05-26-2006 01:09 AM
/ is getting mounted in read-only! yogesh_powar Linux 0 02-28-2006 07:32 PM
Mounted Root Filesystem jimthompson UNIX for Advanced & Expert Users 1 01-17-2006 12:59 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 02-26-2008
Registered User
 

Join Date: Jul 2007
Posts: 76
How to edit /etc/fstab when root was mounted as read only

can somebody help me out in editing the /etc/fstab. I am on RHEL5 (Tikanga).

**The problem is that i have given a wrong LABEL in /etc/fstab for root volume and so after reboot, it is unable to resolve the wrong LABEL;

so, i have to edit the /etc/fstab :-(

-ilan
Reply With Quote
Forum Sponsor
  #2  
Old 02-27-2008
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,200
Boot in single user mode and correct the error where the local filesystems are not mounted.
Reply With Quote
  #3  
Old 02-28-2008
grial's Avatar
El UNIX es como un toro
 

Join Date: Jun 2006
Location: Madrid (Spain)
Posts: 531
Or just:
Code:
mount -o remount,rw /
Reply With Quote
  #4  
Old 02-28-2008
Registered User
 

Join Date: Jul 2007
Posts: 76
Thanks for your time helping me.

i did it like this..
1.boot with a instalation CD and go on to 'linux rescue' mode
2. mount the root partition to some other path other than root (as it is already mounted)
say mount on to /mnt/root
3. and then i got the /etc/fstab editable.

as i had to do this on te same day...i had to ask my *boss* for this trick :-)

again, i will try your approaches too...no harm in knowing more ways to do.

-ilan
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 11:01 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0