Unbootable hard drive
Goto page 1, 2  Next

Post new topic   Reply to topic    CPU-World.com forums Forum Index -> Modern CPUs - upgrades, overclocking and troubleshooting
View previous topic :: View next topic  
Author Message
debs3759



Joined: 18 Jan 2006
Posts: 9477
Location: Northampton, Divided Kingdom

PostPosted: Tue Jan 08, 2008 11:49 pm    Post subject: Unbootable hard drive Reply with quote

I've developed a strange problem on my main PC. I can't boot directly into the hard drive, the system locks when it tries to read the MBR. If I boot with the XP setup CD, and don't press a key, it reads the partition table (presumably from the MBR) and boots the XP partition without any problems.

I tried using Partition Magic to repair the MBR, but can't see an option to do so. I installed the Windows Support Tools from the CD, and tried to use Diskprobe to read and repair the MBR. It couldn't open any drive or partition because there were no available handles.

I installed the Recovery Console, and booted into that. I ran FIXMBR, then rebooted. It hasn't fixed the problem, and the partition table is still readable (meaning I can still boot through the CD).

Has anyone ever had this problem? Do ou have any ideas how I might be able to fix it? Obviously I need to fairly urgently get some DVDs and do a full back-up of anything important, and buy a new drive, as there is a chance the MBR is on a bad sector - pretty fatal if it is Sad

_________________
My graphics card database can be found at http://www.gpuzoo.com.

I can resist anything except temptation.

Debs
Back to top
View user's profile Send private message  
hugo929



Joined: 27 Oct 2006
Posts: 6163
Location: China

PostPosted: Wed Jan 09, 2008 2:21 am    Post subject: Reply with quote

I suspect you Master Boot Recorder has been infected by virus.
Does it show any message when system lock?

here are some suggestions:
1)first boot your computer from CD, and backup your data by burning DVD or copy them to your mobile HardDisk.

2) if you has a floppy drive or a bootable CD which can boot to DOS 7.0.
boot it then try "fdisk /MBR" to fix the MBR.

_________________
My vintage CPU collection:www.cpumuseum.com
Chinese Forum: http://www.cpumuseum.com/forum
Back to top
View user's profile Send private message   Visit poster's website
bacterio



Joined: 04 Dec 2005
Posts: 242
Location: Getafe, Espaņa

PostPosted: Wed Jan 09, 2008 7:44 am    Post subject: Reply with quote

try utilities MBRTool or MBRWork Wink

http://www.ultimatebootcd.com/index.html

_________________
PSP Slim 3.71 M33-4 Very Happy
Back to top
View user's profile Send private message  
Qwerty



Joined: 20 May 2005
Posts: 3141
Location: Germany

PostPosted: Wed Jan 09, 2008 8:04 am    Post subject: Reply with quote

Have you changed any BIOS setting recently ?
There is a setting "Boot device priority" or "First boot device" in BIOS. If set incorrectly the PC won't boot from the HD.

debs3759 wrote:
If I boot with the XP setup CD, and don't press a key, it reads the partition table (presumably from the MBR) and boots the XP partition without any problems.

When booting from the XP CD the "Boot device priority" is overrided by the bootloader on the XP-CD. (The bootloader loads the HD's MBR without BIOS' assistance)



Another possibility is a virus infection, as stated by Hugo.
It must be a quite old boot or file virus that causes such kind of symptoms.

Did you use this PC to create the datasheet library?
I visited this great page yesterday and found some .exe files among the datasheets.
IMHO one of them could be infected with an ancient virus, which can't be detected by modern AV scanners.
Back to top
View user's profile Send private message  
debs3759



Joined: 18 Jan 2006
Posts: 9477
Location: Northampton, Divided Kingdom

PostPosted: Wed Jan 09, 2008 10:50 am    Post subject: Reply with quote

The MBR doesn't have a virus. It has been rewritten by FDISK, FIXMBR and now MBRTOOL (thanks for the link bacterio). There is no trace of the original. Despite that, the first sector of the disk appers not to be readable, so I'm guessing that it is bad sector and that the MBR copy is read when any other OS loader tries to read the partition table.

The exe files that are on the site are all processor tools, and I believe them all to be from the original manufacturers site (I think, apart from some of the Cyrix files, that I downloaded them all myself from either the original sites or via sites like the Wayback Machine. As such, combined with the fact that I always have the latest anti-virus definitions installed and Zone Alarm warning me (not fixing without telling) of any unexpected behaviour or asking permission to run any program, there is no chance of an infection spreading through my computer.

I'm pretty certain now that I need to buy a new hard drive. Not a major hassle, it just means I have reorganise a small percentage of my spending for the next 3 weeks (it's not going to affect my paying all this months chip bills, it just means I have to think a little Smile ).)

Thanks for the various suggestions. Although the only new idea was MBRTool, it has confirmed that the drive is very close to total failure Sad Oh well, at least I know the ATBF (Actual Time Before Failure) for this drive has been 25000 hours or more Smile

_________________
My graphics card database can be found at http://www.gpuzoo.com.

I can resist anything except temptation.

Debs
Back to top
View user's profile Send private message  
Marcin



Joined: 02 Jan 2005
Posts: 8519
Location: Poland

PostPosted: Wed Jan 09, 2008 11:32 am    Post subject: Reply with quote

sorry guys and girls I didn't read all answers because I'm in hurry in last days but I must say about problem which I had. I had boot sequence : 1 FDD, 2 CDROM, 3 HDD. Even where wasn't any media in drives HDD not booted. I changed HDD to 1st place and it started working. Try that Debbie !
_________________
Visit ABC CPU - Virtual CPU Museum.
Back to top
View user's profile Send private message [ Hidden ] Visit poster's website
D.8080



Joined: 03 Apr 2006
Posts: 1474
Location: Italy

PostPosted: Wed Jan 09, 2008 11:32 am    Post subject: Reply with quote

At least you'll have a new hard drive with guarantee. I guess it'd have been better if the cpu had failed instead... lots of replacements right at hand!
Back to top
View user's profile Send private message  
debs3759



Joined: 18 Jan 2006
Posts: 9477
Location: Northampton, Divided Kingdom

PostPosted: Wed Jan 09, 2008 11:40 am    Post subject: Reply with quote

Marcin: I already tried setting it to boot the HDD first, but that didn't help Sad I even tried disabling all other boot devices.
_________________
My graphics card database can be found at http://www.gpuzoo.com.

I can resist anything except temptation.

Debs
Back to top
View user's profile Send private message  
andamus



Joined: 06 Dec 2004
Posts: 1029

PostPosted: Wed Jan 09, 2008 12:01 pm    Post subject: Reply with quote

Hi,
from the Recovery Console you can try to use the FIXBOOT command instead of FIXMBR, the problem seems to me non a MBR problem but the lack of the default bootloader of win.
Btw I recomend you to make a backup/clone of you harddisk BEFORE any command on MBR/partition table/bootloader.
Back to top
View user's profile Send private message  
debs3759



Joined: 18 Jan 2006
Posts: 9477
Location: Northampton, Divided Kingdom

PostPosted: Wed Jan 09, 2008 12:10 pm    Post subject: Reply with quote

andamus wrote:
Hi,
from the Recovery Console you can try to use the FIXBOOT command instead of FIXMBR, the problem seems to me non a MBR problem but the lack of the default bootloader of win.
Btw I recomend you to make a backup/clone of you harddisk BEFORE any command on MBR/partition table/bootloader.


Thanks for the suggestion, but it is definitely the MBR which is the problem. I did try FIXBOOT, but didn't mention it as that isn't the problem.

If the Windows partition boot sector was damaged, I wouldn't be able to boot the hard drive through the bootloader on the install CD, as once control is passed to the boot sector it doesn't matter where it was loaded from.

Sadly, I am still convinced that it is a hardware failure, not a code problem (like if it were merely a corrupt MBR or boot sector), so the BIOS will never be able to read sector 0 as it has become inaccessible. It's certainly not a major problem (until the rest of the drive fails, but I'll have a new one before then, unless I have a really unlucky couple of days coming up!), just a darned inconvenience! Smile Being able to boot through the CD just means I have to keep the set-up CD in one of the DVD drives for a few days (after backing THAT up as well, in case the drive gets too hot with a disc left in - shouldn't, but you never know).

_________________
My graphics card database can be found at http://www.gpuzoo.com.

I can resist anything except temptation.

Debs
Back to top
View user's profile Send private message  
andamus



Joined: 06 Dec 2004
Posts: 1029

PostPosted: Wed Jan 09, 2008 1:06 pm    Post subject: Reply with quote

Hi,
if sector 0 is broken or wrong, the cd should not be able to boot from that disk, it should start the installation of win. If you put a new formatted disk without any data on it the cd will try to boot from it (if you don't press any key) ending with a ntldr missing error. Btw you can try with another bootloader maybe lilo or grub from any linux distro. Or you can try this, (but this can be dangerous for your data Smile ) boot with the win cd, when it ask if you want to install or recover choose instal, now it should search your disk for previous installation of win, if this test fail (and this will be sad, big partition table problem) stop. If it found a Windows installation it ask you if you want to try to recover it or to install again, select recover, now the installer should delete some system files from your hd, reinstal theme and write again the MBR and the boot sector. In this way it should over-write the system without deleting any data/configuration/program but backup is non an optional, you should do it just before anythig else.
Back to top
View user's profile Send private message  
debs3759



Joined: 18 Jan 2006
Posts: 9477
Location: Northampton, Divided Kingdom

PostPosted: Wed Jan 09, 2008 1:26 pm    Post subject: Reply with quote

That's wrong.

The CD will start windows installation ONLY IF YOU PRESS A KEY. When you don't press a key, it reads the partition data from the MBR, and I am guessing that the bootloader on the Windows CD is clever enough to know how to use the MBR copy, which the BIOS can't do. That is why I can boot to Windows if I first give control to the bootloader on the CD, and let that give control to the boot sector of the Windows boot partition - it doesn't care that sector 0 is unreadable, and just uses the copy (I am not sure of the details of the copy of the MBR, it is still within track 0 - I just don't remember for the moment where my detailed info on the MBR is, to try booting with a low level sector editor and copying the good MBR over, which still shouldn't work if none of the other things I tried did, as it would still need access to sector 0 to WRITE....).

No version of windows that I have tried (and I have at some point installed almost every flavour of Windows since Windows 3.1 and NT 4.0) will attempt to install if you haven't pressed a key (what would happen if you forgot to remove the CD after another task?).

Unfortunately I am looking for a solution to a hardware problem, NOT a software problem. I hope I have now given enough info that nobody else will think I just need to put the Windows CD in or run a virus check Smile

Of course, if I am right about the disk being damaged, it might motivate me to write code to control and attempt recovery of the drive Smile

_________________
My graphics card database can be found at http://www.gpuzoo.com.

I can resist anything except temptation.

Debs
Back to top
View user's profile Send private message  
spongiforme



Joined: 02 Aug 2006
Posts: 168
Location: Montpellier, France

PostPosted: Wed Jan 09, 2008 5:56 pm    Post subject: Reply with quote

I had to recover files from a corrupted drive a couple of months ago, and ended up using R-Studio, which worked well: http://www.r-studio.com/
Back to top
View user's profile Send private message  
debs3759



Joined: 18 Jan 2006
Posts: 9477
Location: Northampton, Divided Kingdom

PostPosted: Wed Jan 09, 2008 6:11 pm    Post subject: Reply with quote

I wish it was a corrupt drive, it would be far easier to lose everything than to have a perfectly accessible drive that just can't be booted directly into Smile (Yes, I am being serious - most of what I would lose is just junk I have never got round to deleting, the rest would take a week to replace Smile )
_________________
My graphics card database can be found at http://www.gpuzoo.com.

I can resist anything except temptation.

Debs
Back to top
View user's profile Send private message  
Wizzard1



Joined: 05 Nov 2006
Posts: 930
Location: Boston MA USA

PostPosted: Thu Jan 10, 2008 12:27 am    Post subject: Reply with quote

Can you image it to another drive and test?
IN recovery console, chkdsk /r then fixmbr then fixboot... I saw 2HDDs last year with bad boot sectors, I repair about 20-30PCs/wk.
Back to top
View user's profile Send private message   AIM Address
Display posts from previous:   
Post new topic   Reply to topic    CPU-World.com forums Forum Index -> Modern CPUs - upgrades, overclocking and troubleshooting All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001 phpBB Group