Fedora Linux Support Community & Resources Center
  #1  
Old 23rd February 2007, 11:07 PM
beejan Offline
Registered User
 
Join Date: Feb 2007
Posts: 37
Repair file system

In my system loaded with fc6 and was working fine. But for an experimental analysis I changed /etc/fstab file completely and started rebooting the system. Now while rebooting the system it is not coming up but stoping at repair file system. I have my original fstab file /etc but if tryinmg to hange from thye repair mode, it is showing error message as red only file. What is the option for restoring my original fstab file.
Reply With Quote
  #2  
Old 23rd February 2007, 11:23 PM
jbkt23 Online
Registered User
 
Join Date: Mar 2006
Posts: 552
Are you using a rescue disk to boot?

jbkt23
Reply With Quote
  #3  
Old 24th February 2007, 01:07 AM
Iron_Mike Offline
Registered User
 
Join Date: Jul 2005
Location: Ft Huachuca, AZ
Posts: 3,772
You might be able to repair it using fsck. Boot to runlevel 1 and type:

umount /
umount /boot
fsck -f -p

With this you will unmount the "root" filesystem, and unmount the "/boot" filesystem and then run the filesystem check program on files and automatically fix option. However if the filesystem is really borked, you might might have to run with just the fsck -p option and manually answer about fixing the inodes, etc.....
Reply With Quote
  #4  
Old 24th February 2007, 01:11 AM
daverj Offline
Registered User
 
Join Date: Jan 2006
Location: Denver, CO USA
Posts: 670
or, since you have the original /etc/fstab, you can boot up on rescue disk and restore the file.
Reply With Quote
  #5  
Old 24th February 2007, 02:20 AM
Iron_Mike Offline
Registered User
 
Join Date: Jul 2005
Location: Ft Huachuca, AZ
Posts: 3,772
And that might work if the fstab pointed to the wrong filesystem, but if the filesystem is corrupted your going to have to run fsck or reinstall
Reply With Quote
  #6  
Old 24th February 2007, 03:28 AM
beejan Offline
Registered User
 
Join Date: Feb 2007
Posts: 37
Yes. I think so
Reply With Quote
  #7  
Old 24th February 2007, 03:30 AM
beejan Offline
Registered User
 
Join Date: Feb 2007
Posts: 37
[For fedora 6, from where I will get iso image for rescue disk
Reply With Quote
Reply

Tags
file, repair

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
File system failure - Repair fgielow Using Fedora 0 9th September 2008 02:55 PM
Help to Repair System XTCHost Using Fedora 3 23rd July 2008 05:28 PM
Howto rename file under Repair file system?? tiyogi Using Fedora 7 1st March 2006 01:57 AM
Repair file system zillah Using Fedora 2 4th July 2005 04:31 AM
File system need to repair talib Using Fedora 7 31st March 2005 01:12 PM


Current GMT-time: 02:21 (Thursday, 23-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Dolynska Travel Photos on Instagram - Esperanza Photos on Instagram - Leyland