LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-09-2008, 09:51 AM   #1
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Rep: Reputation: 30
Trying To Repair Damaged Hard Drive


Hi

I am having Samsung 40GB hard drive (IDE) with Centos 5.0 installed on it using LVMs. Everything was working fine from past 4-5 months.

I was running Squid on it. Suddenly my system got restarted and now I get Kernel panic error when booting. the exact error is something like this

Quote:
EXEC OF INIT ((NULL)) FAILED - BAD ADDRESS
KERNEL PANIC! - NOT SYNCING: ATTEMPTED TO KILL INIT
When I try to reboot in rescue mode and mount it, the rescue mode cannot recognize installed OS on it. Hence no mounting. When I do fdisk -l in rescue I cannot see any hard drives.

When I try to view the hard drive content from Winxp using the software "Explore2fs" I can only see the content of /boot I cannot access /VolGroup00 it gives "Read access" error.

With all these happening one thing is sure that my OS is gone. Is there any way to fix it (I don't see much hope though).

Why do you think this happened? Was it because of OS level corruption or Hardware issue. I'm unable to draw any conclusion on this.
 
Old 09-09-2008, 10:17 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,657

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by kool_kid View Post
Hi

I am having Samsung 40GB hard drive (IDE) with Centos 5.0 installed on it using LVMs. Everything was working fine from past 4-5 months.

I was running Squid on it. Suddenly my system got restarted and now I get Kernel panic error when booting. the exact error is something like this



When I try to reboot in rescue mode and mount it, the rescue mode cannot recognize installed OS on it. Hence no mounting. When I do fdisk -l in rescue I cannot see any hard drives.

When I try to view the hard drive content from Winxp using the software "Explore2fs" I can only see the content of /boot I cannot access /VolGroup00 it gives "Read access" error.

With all these happening one thing is sure that my OS is gone. Is there any way to fix it (I don't see much hope though).

Why do you think this happened? Was it because of OS level corruption or Hardware issue. I'm unable to draw any conclusion on this.
Not alot of details, so unsure what happened. The explore2fs util won't be of much help, since the /VolGroup00 is a logical volume group, which can't be just mounted/read as ext2/3.

Are there other members of the logical volume group? Other drives? If you had your file systems on one drive, and the volume group got corrupted (somehow), you lost the group and all its members. A fresh reload or restore from backup is the only option I know of.
 
Old 09-09-2008, 11:23 AM   #3
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Original Poster
Rep: Reputation: 30
Quote:
Not alot of details, so unsure what happened. The explore2fs util won't be of much help, since the /VolGroup00 is a logical volume group, which can't be just mounted/read as ext2/3.

Are there other members of the logical volume group? Other drives? If you had your file systems on one drive, and the volume group got corrupted (somehow), you lost the group and all its members. A fresh reload or restore from backup is the only option I know of.
It was on a single LVM Drive. How can we mount /VolGroup00 any utility ?

I'm not worried about the backup. I want to know the cause why this happened. Was it really OS problem that occurred or was it hardware problem. I'm curious about this.
 
Old 09-09-2008, 11:26 AM   #4
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
You can try using testdisk from the systemrescue live cd or the parted magic cd.
 
  


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
how to tell if hard drive is damaged ? pleasehelpme Linux - Hardware 1 12-05-2007 01:43 AM
Damaged Mac Hard Drive SickNick Linux - Hardware 2 10-03-2007 06:07 PM
How to repair damaged ext2 mustangfanatic Slackware 1 01-24-2006 01:42 AM
Cannot mount ext3 filesystem on damaged hard drive Mathieu_G Linux - Hardware 3 04-01-2005 10:51 PM
repair a damaged reiserfs wfettich Linux - General 2 05-21-2004 03:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:13 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