LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-15-2007, 08:23 AM   #1
emuub
Member
 
Registered: Oct 2003
Location: North London, UK
Distribution: Fedora 14
Posts: 54

Rep: Reputation: 16
How modify fstab when its 'ro' in "repair filesystem" mode ?


I modified fstab to add a label (/boot) but apparently i should have either a) left it alone or b) changed something elso too because the system stops at "Unable toresolve 'LABEL=/boot' and drops me into "repair filesystem"

A directory called /boot exists.

Mike
=======
 
Old 06-15-2007, 08:55 AM   #2
emuub
Member
 
Registered: Oct 2003
Location: North London, UK
Distribution: Fedora 14
Posts: 54

Original Poster
Rep: Reputation: 16
Smile update #1

With thanks to binoynet from linuxforums
Quote" "1. Boot your system with Redhat Linux Disk1, when you get the boot prompt
press F2 and type 'linux rescue'
2. Go through the Linux Rescue process and you will get a hash prompt
3. # vi /mnt/sysimage/etc/fstab

Here you can edit your fstab file for your requirement .end quote

In fact for some reason i couldn't delete the line i wanted to but by #ing it i could reboot to a terminal and tidy it up.

Thanks anyways guys
 
Old 06-15-2007, 08:58 AM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
mount -o remount,rw /

man mount
 
Old 03-24-2011, 07:46 AM   #4
jglenton
LQ Newbie
 
Registered: Apr 2010
Posts: 9

Rep: Reputation: 1
THANK YOU!!!!!! This worked perfectly.

I've seen this problem before, we removed a SAN filesystem attached to one of our Redhat servers and when the system rebooted it gets stuck because it tries to check the SAN filesystem it finds in fstab and bombs out and makes you go to the repair filesystem prompt.

I logged in as root, ran the remount command, edited the fstab and removed the SAN filesystem line , rebooted and server is now coming back up

Last edited by jglenton; 03-24-2011 at 07:50 AM. Reason: Wanted to add more info
 
1 members found this post helpful.
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is "sticky bit mode" , "SUID" , "SGID" augustus123 Linux - General 10 08-03-2012 04:40 AM
Root filesystem stuck in "read only" mode. tunrau Linux - Newbie 8 08-21-2004 12:25 PM
RH9 "remounting root filesystem in read-write mode" ChrisHax Linux - Newbie 3 07-23-2004 09:54 PM
How to modify dial options ( From "pulse" to "tone" ) nykey Linux - Newbie 3 11-24-2003 01:39 PM
How do I change "fstab" to Write/Edit Mode? sharathkv Linux - Newbie 4 07-29-2003 07:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration