LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-09-2018, 12:21 AM   #1
bulgin
Member
 
Registered: Mar 2010
Posts: 33

Rep: Reputation: Disabled
Hard drive is readable but freezes at BIOS bootup


I have Ubuntu 16.04 and turned on the 'puter today and the PC freezes at the American Megatrends Logo.
The usual interrupts to access the BIOS don't work, and I hear the hard drive running as though it is working, but it is frozen on the BIOS screen.

I removed the hard drive and inserted an Ubuntu version on a USB which starts up fine and the computer runs as well as accessing the BIOS.

I take the (seemingly) faulty hard drive and connect it to a USB adapter and plug it into another computer and I can read it fine.

While there I ran the grub-recover program and re-inserted the hard drive into the original computer - same thing hangs on BIOS.

So we see the following:

1) Hard drive does not boot up and won't allow operator to access bios controls which should be easily accessible before hard drive starts clicking.
2) Hard drive is easily accessible from another computer.
3) A USB boots fine on the faulty computer and BIOS menus is accessible.
4) After running Grub-recover on the faulty hard drive and re-inserting into computer, same issue happens with computer freezing when a hard drive is present.

Any suggestions?
 
Old 08-09-2018, 01:53 AM   #2
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: Devuan+lxde
Posts: 639

Rep: Reputation: 189Reputation: 189
Possibly a bad connection on the computer? Is this a laptop or desktop? Can you try another sata port on the problematic computer?
 
1 members found this post helpful.
Old 08-09-2018, 02:05 AM   #3
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 11,602

Rep: Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494
yes, use another port, try another cable (sata, power)...
 
1 members found this post helpful.
Old 08-09-2018, 08:50 AM   #4
bulgin
Member
 
Registered: Mar 2010
Posts: 33

Original Poster
Rep: Reputation: Disabled
When you suggest another "port" you mean USB port, correct?

What I have done is plug the problematic drive into another USB port on the problematic computer and turn it on *after* I've already booted up from a Ubuntu USB drive (plugging the problematic drive as the sole USB device in a USB port results in the same problem - BIOS freeze on startup).

Doing this brings up the hdd as it had been brought up on another computer. I then attempt to decrypt the home directory using "ecrypt-recover-private" - which was very successful when this hdd was plugged into my laptop (also running linux) but on this computer (the one that has BIOS freeze) "ecrypt-recover-private" results in an error message.

I can also look at the geometry of the hdd of the problematic hdd using gparted but I haven't performed any surgery yet. Perhaps there is something wrong with boot-up parameters and I'm no expert on working on that.

update: I see a recommendation to use another SATA port. This is an all-in-one computer desktop. I do have access to the guts - how would I manipulate to use a different SATA port? I cannot access the BIOS when using the problematic drive but can access the BIOS when booting from a USB. Thank you.

Last edited by bulgin; 08-09-2018 at 09:18 AM.
 
Old 08-09-2018, 08:57 AM   #5
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 11,602

Rep: Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494
What kind of HDD is it? I think I meant sata port and sata cable, but probably I misunderstood something.
 
1 members found this post helpful.
Old 08-09-2018, 09:41 AM   #6
bulgin
Member
 
Registered: Mar 2010
Posts: 33

Original Poster
Rep: Reputation: Disabled
Toshiba DT01ACA200
3.5"
https://www.google.com/search?client...utf-8&oe=utf-8
 
Old 08-09-2018, 12:23 PM   #7
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 11,602

Rep: Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494
yes, probably the sata or power cable was damaged, you need to replace them (also use/check another sata port if possible).
(and do not use sata2 cable for sata3 device and port).
 
1 members found this post helpful.
Old 08-09-2018, 12:35 PM   #8
bulgin
Member
 
Registered: Mar 2010
Posts: 33

Original Poster
Rep: Reputation: Disabled
Thanks for that useful information. I'm not a hardware guru so when you say use a different SATA port is that a physical thing or a software-assigned designation that should be accessed via BIOS (as you know, I cannot access BIOS when the troublesome HDD is attached).

I believe the power much be okay as I can hear and feel that the drive is spinning.

And when you suggest: and do not use sata2 cable for sata3 device and port, assuming I can find the "port to use" part of this dilemma, what is my type SATA, SATA2 or SATA3? How would I find that out?

Thanks again for the assistance.
 
Old 08-09-2018, 12:35 PM   #9
bulgin
Member
 
Registered: Mar 2010
Posts: 33

Original Poster
Rep: Reputation: Disabled
Thanks for that useful information. I'm not a hardware guru so when you say use a different SATA port is that a physical thing or a software-assigned designation that should be accessed via BIOS (as you know, I cannot access BIOS when the troublesome HDD is attached).

I believe the power much be okay as I can hear and feel that the drive is spinning.

And when you suggest: and do not use sata2 cable for sata3 device and port, assuming I can find the "port to use" part of this dilemma, what is my type SATA, SATA2 or SATA3? How would I find that out?

Thanks again for the assistance.
 
Old 08-09-2018, 12:47 PM   #10
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 11,602

Rep: Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494
you need to check the documentation of your motherboard about its sata ports. also you can read about it here: https://en.wikipedia.org/wiki/Serial_ATA
 
1 members found this post helpful.
Old 08-09-2018, 02:16 PM   #11
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,672

Rep: Reputation: 239Reputation: 239Reputation: 239
Quote:
I'm not a hardware guru so when you say use a different SATA port is that a physical thing or a software-assigned designation that should be accessed via BIOS
Here,"port" is just a name which means "plug" and it refers to a physical object. A sata port is where the data cable on your hard drive plugs into the motherboard. The motherboard commonly has 4 to 6 sata ports or places where you can plug in the data cable. They are usually right next to each other on the motherboard. You are being asked to plug the data cable on the hard drive into a different plug on the motherboard. It's unlikely that the sata port on the motherboard is defective but switching to a different port will let you know for sure.

Most likely cause is a problem with one of your cables, either power or data, or a problem with your power supply(psu). A psu is most heavily stressed on start up and mechanical hard drives draw a lot of power when first spinning up. A marginally functioning psu may go out of spec when stressed on start up when the hard drive is internally connected to it and function adequately when the hard drive is absent. Definitely try swapping out your data cable and connecting with a different power cable before delving into troubleshooting your power supply.

Edit:
Quote:
Hard drive does not boot up and won't allow operator to access bios controls which should be easily accessible before hard drive starts clicking.
This is symptomatic for a hard drive that is getting inadequate power. The clicking you hear is the actuator arm on the hard drive going back to the park position and attempting to reinitialize. When the power to the drive is low, it will repeat this sequence over and over. Since the drive functions fine in your sata to usb adapter which has it's own independent power supply, either your power cable to the hard drive or your psu are the most likely causes for your problem.

Last edited by kilgoretrout; 08-09-2018 at 04:35 PM.
 
Old 08-10-2018, 01:46 PM   #12
mrmazda
Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 828

Rep: Reputation: 248Reputation: 248Reputation: 248
I agree with kilgoretrout's diagnosis of power failure being most likely cause of this failure.

A common power supply failure is actually discoverable via simple visual inspection after removing the PS from the PC and removing its cover. Failed capacitors typically ooze fluid and/or bulge their tops and/or bottoms. Examples of such failures are readily available online, such as at badcaps.net, where replacement instructions are provided for those who would rather repair than replace.

Cheap red SATA cables are known to have an elevated risk of failure. The red dye if in contact with conductors induces corrosion and eventual failure.
 
1 members found this post helpful.
Old 08-11-2018, 09:19 AM   #13
bulgin
Member
 
Registered: Mar 2010
Posts: 33

Original Poster
Rep: Reputation: Disabled
SOLVED:

Moved the red cable to another port as suggested, and the drive is back up and running!

I had to take off a cover over the motherboard to access, but that was the solution.

Thanks all!
 
Old 08-11-2018, 02:05 PM   #14
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 11,602

Rep: Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494Reputation: 3494
that is good news. You learned a lot...
If you think your problem is solved please mark the thread solved.
Also if you wish to say thanks just click on yes.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Added hard drive to system, get superblock error at bootup. Arodef Linux - Hardware 2 11-18-2008 08:05 PM
How to access an NTFS hard drive and make it mount on bootup? GuyWhoKilledBear Slackware 4 10-24-2007 06:24 PM
Hard Drive not seen by Bios tonycampos Linux - Hardware 4 02-17-2006 07:50 PM
Hard Drive not in Bios casper129 Linux - Hardware 14 02-16-2005 03:53 AM
Installing Linux on new hard drive with XP readable partition TheRealNewbie Linux - Newbie 11 12-27-2004 04:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration