Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Hard Drive issues - fdisk and boot issues ( RESOLVED )
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
flipnode
Apprentice
Apprentice


Joined: 03 Oct 2004
Posts: 172
Location: USA

PostPosted: Sun Feb 18, 2007 5:23 am    Post subject: Hard Drive issues - fdisk and boot issues ( RESOLVED ) Reply with quote

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
View user's profile Send private message
morodoch
Guru
Guru


Joined: 22 Sep 2005
Posts: 523
Location: England

PostPosted: Sun Feb 18, 2007 10:20 am    Post subject: Reply with quote

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
View user's profile Send private message
flipnode
Apprentice
Apprentice


Joined: 03 Oct 2004
Posts: 172
Location: USA

PostPosted: Sun Feb 18, 2007 2:55 pm    Post subject: Oh boy. Reply with quote

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
View user's profile Send private message
flipnode
Apprentice
Apprentice


Joined: 03 Oct 2004
Posts: 172
Location: USA

PostPosted: Sun Feb 18, 2007 11:35 pm    Post subject: Recovery worked Reply with quote

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
View user's profile Send private message
morodoch
Guru
Guru


Joined: 22 Sep 2005
Posts: 523
Location: England

PostPosted: Mon Feb 19, 2007 5:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum