LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-21-2004, 10:32 PM   #1
nbier
LQ Newbie
 
Registered: Aug 2004
Distribution: SuSE
Posts: 9

Rep: Reputation: 0
System won't boot: hangs at grub, can't mount hd through alternate means


Not sure if this should be in the suse forum or not...:

I shutdown and physically moved my suse 9.0 box today. Upon restarting hung for what seemed like a long time at "grub loading stage2", then dumped me to grub command line. I was not able to do anything from the command line (perhaps should say, I don't know how to do anything from the grub command line).

Loaded the SuSE CD. Selecting the "boot from hard disk" option failed (could not find root partition).

From there I tried the repair installation option. Automatic repair does the following:

The messages, relevant to my problem, that came up were:

-> Executing file system check for partition /dev/hda2
-> Error detected
-> The Reiser file system of the partition /dev/hda2 is corrupted. To repair the file system, press "Repair"
I pressed "Repair"
-> Repair was successful

-> Executing file system check for partition /dev/hda2 (repeat)
-> Error detected
-> The Reiser file system of the partition /dev/hda2 is corrupted. To repair the file system, press "Repair"
I pressed "Repair"
-> Error: Changing environment to target system was no successful

-> Check boot loader configuration
-> Searching configuration files...
-> The following configuration files were not found: /etc/sysconfig/kernel
-> Error: The file %1 was not found. YaST can not recover this file

The repair process than ended. I still can't boot up.

I've tried knoppix, but it isn't able to mount hda2 either. I'm desperate to at least get the data off this disk, but am completely at a loss as to what to do next. Thoughts or suggestions would be very welcome!
 
Old 11-22-2004, 08:15 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
Have you tried opening up the box and checking the cabling to the drive?

Also, have you noticed any unusual ticking noises from your disk recently (as these usually indicate a dying cylinder)?
 
Old 11-22-2004, 09:00 AM   #3
nbier
LQ Newbie
 
Registered: Aug 2004
Distribution: SuSE
Posts: 9

Original Poster
Rep: Reputation: 0
rjlee:

Yes, I checked the cabling, even tried putting the hard drive into a different box, w/ the same problem. I haven't heard anything unusual from the drive; it's seemed fine to this point.
 
Old 11-23-2004, 12:58 PM   #4
nbier
LQ Newbie
 
Registered: Aug 2004
Distribution: SuSE
Posts: 9

Original Poster
Rep: Reputation: 0
Success: Data Recovered

Is it too early for a celebratory drunk?

Managed to recover the data from the disk (ended up w/ 4 lost and found files, which look like system files).

Ended up using dd_rescue w/ dd_rhelp as a front end to do a direct copy of the damaged partition; was then able to work directly on the file that it created. (copies dd_rescue and dd_rhelp both available at: ftp://129.79.136.75/software/, pick the distro of your choice. Benefit over dd is that it doesn't stop at bad sectors). The new file was written to a different hd, so I was able to muck w/o further risk to the original data.

So, I went to work on the new file. Initially reiserfsck --check was failing (bread: "End of file, cannot read block"). Next tried reiserfsck --rebuildtree, which ran successfully (though w/ a few warnings). Finally, reiserfsck --rebuild-tree.

After that, mount -o loop /mnt/hdd3/dead_drive.dd /mnt/recovery did the trick. I have a mounted filesystem with what looks like everything I thought I'd lost.

Did I mention that this disk contained unbacked-up copies of my wife's dissertation research data?

Back ups, young man, backups.

After I'm sure I've recovered all the data, I'm going to try the same process on the hard disk--will see if it's just a corrupt file system (which would suggest a bad shutdown), or if it is actually a bad drive (i.e. damaged during the move).

Thanks for the tips and advice.
 
  


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
OSuse 10 won't mount cd and hangs whole system jjtrujillo SUSE / openSUSE 4 11-06-2005 10:34 PM
System hangs after mount USB has completed mat_uk111 Linux - Newbie 1 03-08-2005 05:17 AM
System won't boot: hangs at grub, can't mount hd through alternate means nbier Linux - Software 5 11-23-2004 01:17 PM
System won't boot, prints GRUB then hangs BobM Red Hat 6 09-20-2004 04:57 AM
mount firewire on Redhat 9.0; system hangs gmedapuram Linux - Newbie 1 06-18-2004 01:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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