Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-04-2004, 09:04 AM   #1
LQ Newbie
Registered: Oct 2003
Posts: 9

Rep: Reputation: 0
Repair damaged /var filesystem

My Redhat9 will not boot - it recommended manual repair of the filesystem.
I ran fsck and got lots of errors on all the file systems.
Eventually I ran fsck -y
It repaired all the filesystems except /var (which is a separate partition) which it reports that it can't fix. (EXT2 directory corrupted)
Re-running fsck gives the same result.

Is there any way to reconstruct /var without destroying the rest of the installation and starting from scratch?
Old 06-04-2004, 09:09 AM   #2
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,187

Rep: Reputation: 53
copy what you can out of it if anything, and back it up, then format the /var again and you'll likely be fine. there is little important there. log files and such mostly. then fix whatever error messages you get.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Root partition damaged, system will not boot- How to repair? applewax Linux - General 1 05-27-2005 12:53 PM
Cannot mount ext3 filesystem on damaged hard drive Mathieu_G Linux - Hardware 3 04-01-2005 11:51 PM
filesystem repair natalia21 Linux - Software 1 02-03-2005 07:50 AM
repair a damaged reiserfs wfettich Linux - General 2 05-21-2004 04:12 PM
Slackware 9.1: ext3 Filesystem Damaged Chu Linux - General 2 03-02-2004 12:22 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:42 PM.

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