LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 06-26-2004, 05:38 PM   #1
artistikone
Member
 
Registered: Jul 2003
Distribution: slackware-current
Posts: 76

Rep: Reputation: 15
Repairing the MBR


I have a WD30100 10GB Hardrive that I've been trying to repair. The MBR of the drive seems to be hosed and everything I've tried to repair it has failed. Here are some details:

Upon boot, my BIOS states that the drive fails. This happens if it's either mounted as a master,slave or single. If I mount it as a slave, hit F1 to get past the BIOS message, I'm able to boot off my good drive in the OS. Once in the OS, I can format/read/write the the drive in question without error.

I've tried the following common MBR repairs so far:

XP Repair Console:

fixboot - Says it worked fine
fixmbr - Says it worked fine
diskpart - Drive partitions without error
chkdsk - Reports that there are unrepairable sectors

Slackware 10 Boot disk:

fdisk /mbr - Unable to read /mbr
fdisk /dev/hda - Works fine, partitioning works without error.
fdisk -d - When showing the rata data of the drive, all zero's are returned.

Windows 95/95b/98/98SE/ME Boot Disk
DOS 5.0/6.0 Boot Disk

Western Digital Data Diagnostics Tool:

Wrote Zeros to the drive, no errors. Upon reboot (which it requests), drive fails.

I'm able to get through the full install of Slackware 10 until the end when it's time to install LILO, which is where it fails.

I would be more then happy to just use the drive as a slave, however the problem is that the BIOS will not boot into the OS without hitting F1, which makes remote reboots impossible. There isn't a way to bypass this option in the BIOS. I've tried auto-detect and manual settings, both return the same results.


I found something about using debug.exe on the Win95 boot disk to manually repair it, however the walkthrough listed differs from what my drive reports so I skipped that. I've found DBAN and MBRWizard which I am going to try tonight, but they all seem to just write zero's. I'm wondering if I'm going about this the wrong way?
 
Old 06-26-2004, 05:47 PM   #2
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Quote:
Western Digital Data Diagnostics Tool:
Wrote Zeros to the drive, no errors. Upon reboot (which it requests), drive fails.
Did you run the full diagnostic checks on the drive?
 
Old 06-26-2004, 05:58 PM   #3
artistikone
Member
 
Registered: Jul 2003
Distribution: slackware-current
Posts: 76

Original Poster
Rep: Reputation: 15
Yes, all 3 tools within the program (Quick, Full, Write Zeros) work without error and all come back saying everything is ok.
 
Old 06-26-2004, 06:13 PM   #4
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Setting your BIOS to ignore the problem drive as slave should allow you to boot and Linux should still be able to use the drive.
Passing the diagnostics would seem to say the drive is okay. Jumpers and drive cable are a couple more places to check.
The only times I have had drives fail boot is when the jumpers are wrong or the drive is failing.
If Slackware is partitioning and formatting during install, and the drive is good and configured correctly there should be no problem, in theory.
 
  


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
MBR zeroed. Can I verify backup MBR? TomF Linux - General 7 06-20-2005 05:28 PM
by tring to fix the MBR i damage the MBR that was help... AKAKAK Fedora 4 03-21-2005 08:18 AM
GRUB MBR overwritten by WIN98 MBR TOuseef Linux - General 7 11-14-2004 04:25 PM
Repairing KDE 3.3? msie02 Fedora 1 10-17-2004 01:23 AM
Repairing? cjnkns Linux - Hardware 4 03-19-2003 07:25 PM

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

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