LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-12-2005, 08:55 AM   #1
Dr3n
Member
 
Registered: Feb 2005
Posts: 60

Rep: Reputation: 16
Question Bad HDD or MBR?


I think I may have a bad HDD. I've tried installing Debian and FreeBSD on my server, but neither would fully boot after the installation was complete. The farthest both got was right before the kernel booted for the post install setup process. In fact, the last word on the screen was "boot". I believe the HDD has gone bad somehow. I tried loading up Knoppix, and of course that worked fine because it just runs off the CD and loads into memory.

It's not a big deal I can get another HDD, but I just wanted to know what anyone else thought before I purchase another one. Thanks.

Last edited by Dr3n; 10-12-2005 at 08:56 AM.
 
Old 10-12-2005, 09:28 AM   #2
damicatz
Member
 
Registered: May 2004
Distribution: FreeBSD 7, Debian "Squeeze", OpenBSD 4.5
Posts: 167

Rep: Reputation: 30
Re: Bad HDD or MBR?

Boot off of Knoppix and from the commandline run the following :

smartctl -a -d ata /dev/hda (For IDE)
smartctl -a -d scsi /dev/sda (For SCSI)
smartctl -a -d ata /dev/sda (For SATA)

It should tell you if SMART has logged any errors on the harddrive, which is a good way to tell if your harddrive is going bad.

If you have Serial ATA you may have issues. Not sure if Knoppix has the required kernel modifications to support SATA with the smartctl program but it's worth trying.
 
Old 10-12-2005, 09:35 AM   #3
Dr3n
Member
 
Registered: Feb 2005
Posts: 60

Original Poster
Rep: Reputation: 16
Oh sweet ok. I have IDE. I'll try this when I get home from work tonight. Thanks!
 
Old 10-13-2005, 08:05 AM   #4
Dr3n
Member
 
Registered: Feb 2005
Posts: 60

Original Poster
Rep: Reputation: 16
I tried the command and it reported no error logs.

So I then searched through my spindel of distro CDs to find one that woudl be quick to try and install, so I grabbed Ubuntu. It installed completely fine.

So since I really wanted 'pure' Debian installed on my server I attempted it again. For some reason it worked this time. I don't know what happened the other day but I'm not questioning it.
 
  


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
Linux on Hdd and MBR on USB bigbossandy Linux - Newbie 1 05-27-2005 02:00 PM
HDD MBR ignored aufomechanic Linux - Hardware 6 02-22-2005 02:28 PM
MBR bad? eggoz Linux - Software 1 11-27-2004 03:02 AM
bad shutdown + tons of errors = bad hdd? Red Squirrel Linux - Hardware 3 11-09-2004 04:48 PM
My computer won't boot, and i think its a bad MBR... Arusegawa Linux - General 4 05-14-2004 04:50 AM

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

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