The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > 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 01:55 PM
/ filesystem is mounted read only DGK UNIX for Dummies Questions & Answers 2 05-18-2007 05:09 AM
RedHat hang after VFS Mounted Root Ralf Red Hat 1 05-26-2006 05:09 AM
/ is getting mounted in read-only! yogesh_powar Debian 0 02-28-2006 10:32 PM
Mounted Root Filesystem jimthompson UNIX for Advanced & Expert Users 1 01-17-2006 03:59 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-26-2008
ilan ilan is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 101
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
  #2 (permalink)  
Old 02-27-2008
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,323
Boot in single user mode and correct the error where the local filesystems are not mounted.
  #3 (permalink)  
Old 02-28-2008
grial's Avatar
grial grial is offline Forum Advisor  
El UNIX es como un toro
  
 

Join Date: Jun 2006
Location: Madrid (Spain)
Posts: 531
Or just:

Code:
mount -o remount,rw /

  #4 (permalink)  
Old 02-28-2008
ilan ilan is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 101
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
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:42 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0