LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-15-2013, 04:00 AM   #1
sj061
LQ Newbie
 
Registered: Feb 2007
Location: North Gosford,Australia
Distribution: Debian: Squeeze, Wheezy, Sid and Arch Linux
Posts: 25

Rep: Reputation: 0
Debian Fails To Boot


I have a Debian system that up to this date has caused no problems. That all changed today when I had power outage and my UPS ran out of steam. On return of the power supply I attempted to fire up my Debian box and while It will boot into the BIOS it will not boot into the O/S. A cursor just blinks sweet nothing to me. Any help would be greatly appreciated. TIA

Regards, Scott
 
Old 12-15-2013, 12:03 PM   #2
angryfirelord
Member
 
Registered: Dec 2005
Distribution: Fedora, CentOS
Posts: 515

Rep: Reputation: 66
Does the BIOS see the hard drive? If it does, do you get the GRUB menu screen?

You may want to also look at these:

http://www.debian.org/releases/stabl...h08s07.html.en
https://wiki.debian.org/GrubRecover
 
1 members found this post helpful.
Old 12-15-2013, 02:20 PM   #3
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Rep: Reputation: 47
I'd check filesystem(s) from some LiveCD; also check if BIOS has correct hdd boot order if you got several drives.
 
1 members found this post helpful.
Old 12-15-2013, 04:37 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,340

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
What is the last message that you get on the screen just before the blinking cursor?

-------------------
Steve Stites
 
Old 12-16-2013, 10:21 AM   #5
sj061
LQ Newbie
 
Registered: Feb 2007
Location: North Gosford,Australia
Distribution: Debian: Squeeze, Wheezy, Sid and Arch Linux
Posts: 25

Original Poster
Rep: Reputation: 0
Hi,

Thanks for getting back to me with some great ideas to fix my dilemma.On further investigation it seems that the bios is not recognizing one of the hard drives and that one contains the O/S and hence no boot and a cursor just flashing. Where to now your help please. Thanks.

Regards,Scott
 
Old 12-16-2013, 02:29 PM   #6
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
What happens if you switch the cables from the recognized drive to the unrecognized drive?
 
Old 12-16-2013, 05:14 PM   #7
sj061
LQ Newbie
 
Registered: Feb 2007
Location: North Gosford,Australia
Distribution: Debian: Squeeze, Wheezy, Sid and Arch Linux
Posts: 25

Original Poster
Rep: Reputation: 0
Hi Widget,

I swapped all three drives sata cable to different sata ports on the motherboard and still doesn't recognize the drive with the O/S, but if I use the sata port that the O/S drive is connected to with one of the other drives the bios recognizes this drive. My conclusion seems to point to a damaged HDD that houses the O/S. Would you come to that conclusion also? Thanks

Regards, Scott
 
Old 12-16-2013, 07:54 PM   #8
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Quote:
Originally Posted by sj061 View Post
Hi Widget,

I swapped all three drives sata cable to different sata ports on the motherboard and still doesn't recognize the drive with the O/S, but if I use the sata port that the O/S drive is connected to with one of the other drives the bios recognizes this drive. My conclusion seems to point to a damaged HDD that houses the O/S. Would you come to that conclusion also? Thanks

Regards, Scott
Yes that seems to be a fair conlusion. The question is the drive usable is not answered though it may just be shot.

Have you tried booting to a Live Session of some sort? I like the Debian Live Media personally but any would be fine for this. This is just on the off chance that booting from a usb or opical drive that the questionable drive may be seen. Stranger things have happened.

If that were to be the case you could take a look at the drive with the file manager and see what is still there.

Another thing that has worked for me on one occasion was to put a drive in an external enclosure and it could be seen then. Not sure why it worked though.

This sounds like a lot more than a file system fault though. You may have to write it off. Not knowing what you had on the drive that you may want to salvage it is kind of hard to suggest a lot of things that may not work.

One thing would be to try it on a different box too.

If bios can't see the thing nothing is going to help though. It is possible that a different bios may see it though. This is one of the reasons I am a big fan of external enclosures. You can take it and plug it in on other boxes easily.

I do know that, at least on this box, you can mess up the file system so it is not seen. Just not formatted in a way that can be read. I bricked 2 (slow learner) small (thankfully) drives when "playing" with partitioning.

If you can find something that will see it try just formatting a small partition on it. A /swap, say about where your old /swap was. This should make it show up on your box. Bios has to have something it can read to recognize a drive. I would use cfdisk as it does a cleaner job when creating partitions. Gparted tends to have partitions that very slightly overlap. Problem is that if Gparted was used in the first place cfdisk may not open the thing. Gparted isn't as picky and will probably open it if you can see it anywhere.

Gparted is good for copy/pasting partitions to another drive if you can get too them. You could also us the dd command to copy the entire disk to another drive. I think I would use gparted for that in hopes that it would do some file system clean up while at it.

Testdisk is also a great tool for recovering data. I was playing with it one a drive that I had used for Ubuntu-testing and was going to reformat. Recovered an OS that had been over written at least twice, chrooted into it and installed grub on the MBR and it booted.

But to do anything you have to be able to get the drive recognized. This one does not sound promising.
 
Old 12-18-2013, 05:30 AM   #9
sj061
LQ Newbie
 
Registered: Feb 2007
Location: North Gosford,Australia
Distribution: Debian: Squeeze, Wheezy, Sid and Arch Linux
Posts: 25

Original Poster
Rep: Reputation: 0
Hi Widget and Others,

A big thank you to one and all, especially you widget for all the help you gave me in my time of need, you guys are the best. Just an update on my final findings. No matter what I did whether it was a live CD, Gparted, system rescue the HDD with the O/S would not show up as an active drive. I can only assume the drive is dead in this computer, but shall retry HDD in an enclosure or a planed rebuild down the track. Thank heavens for back-ups and spider oak. Thanks once again.

Stay Free, Stay Open Source.
Regards, Scott
 
  


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
Debian fails to boot satimis Debian 12 10-15-2012 10:43 AM
Debian Wheezy fails to boot into GUI after POST sj061 Debian 16 05-31-2011 07:45 PM
[SOLVED] Debian upgrade fails 4 packages udev, can only boot into safemode wikapuki Linux - Newbie 6 09-03-2010 12:11 PM
New install of Debian Sarge fails to boot Joe4 Linux - Hardware 3 11-18-2005 10:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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