View previous topic :: View next topic |
Author |
Message |
flipnode Apprentice
Joined: 03 Oct 2004 Posts: 172 Location: USA
|
Posted: Sun Feb 18, 2007 5:23 am Post subject: Hard Drive issues - fdisk and boot issues ( RESOLVED ) |
|
|
I recently had a hard reboot do the switch being hit on my surge protector. I am having issues mounting my /dev/hda drive now. I have booted to the live cd and tried to fdisk /dev/hda, and says it can't read the drive. This drive shows up fine as a device and is listed in my bios. I have an ext3 partitioning scheme. What command checks should I run on this drive? I really hoped this drive isn't fried.
Getting erros like. end_request I/O error device when trying to run e2fsck.
During boot I get : recovery required on readonly filesystem
hda : dma_timer_expiry : dma status = 0x21
Any ideas ?! Need the help. I've searched all over the forums and can't find my answer.
Thanks, peeps! _________________ I think Gentoo is great!
Last edited by flipnode on Sun Feb 18, 2007 11:35 pm; edited 1 time in total |
|
Back to top |
|
|
morodoch Guru
Joined: 22 Sep 2005 Posts: 523 Location: England
|
Posted: Sun Feb 18, 2007 10:20 am Post subject: |
|
|
sounds like you disc may be broken...
try a rescue cd
If you can't get at the partition table with fdisk, you'll have a problem reading any other data.
Is the data valuable? _________________ Well, the Sister was right. You boys could use a little churching up. Slide on down to the Triple Rock, and catch Rev. Cleophus. You boys listen to what he's got to say.
-- Curtis |
|
Back to top |
|
|
flipnode Apprentice
Joined: 03 Oct 2004 Posts: 172 Location: USA
|
Posted: Sun Feb 18, 2007 2:55 pm Post subject: Oh boy. |
|
|
What rescue disk do you recommend? The data on this drive is my webserver which was newly installed 2 weeks ago. Only thing on the drive are the sites, but I have them backed up in a SVN repository on another system. I just don't wanna rebuild this thing again. I was just going to setup a backup scheme for the partitions, but didn't get a chance. Poop!
How is the rescue disk going to help me? Thanks for responding.
I'm going to try this one.
http://www.sysresccd.org/Main_Page _________________ I think Gentoo is great! |
|
Back to top |
|
|
flipnode Apprentice
Joined: 03 Oct 2004 Posts: 172 Location: USA
|
Posted: Sun Feb 18, 2007 11:35 pm Post subject: Recovery worked |
|
|
i used this recovery cd and its nice, has cool features. Even some tab control on your mounted partitions. Shows you mounted partitions left, during your process of unmounting for a reboot.
I ran
Code: |
#fsck.ext3 -c -y /dev/hda (all partitions)
|
for some reason I could now fdisk. I did mess with the IDE cables in the box and that seemed to help. Be careful not to run the mbr tool on that recovery cd, b/c it dropped my grub and I had to install grub again to the mbr.
Issue Resolved. _________________ I think Gentoo is great! |
|
Back to top |
|
|
morodoch Guru
Joined: 22 Sep 2005 Posts: 523 Location: England
|
Posted: Mon Feb 19, 2007 5:11 pm Post subject: |
|
|
Yeah, I use the system rescue CD too, at work. It's good, because it's based on gentoo so things like lvm2 work. _________________ Well, the Sister was right. You boys could use a little churching up. Slide on down to the Triple Rock, and catch Rev. Cleophus. You boys listen to what he's got to say.
-- Curtis |
|
Back to top |
|
|
|