LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-04-2004, 08:04 AM   #1
davep911
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, 08:09 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
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.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:48 AM.

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