Hmm... hard disk doesn't seem to boot

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Hmm... hard disk doesn't seem to boot

Post by Chris Corbyn »

Just got an old PC for somebody... I mean old... it's got a 6GB HDD, 400MHz CPU, 192MB SDRAM.

The BIOS kept saying that no OS was installed so I re-installed Win2K server on it (it has run on this machine before!). It formatted the disk and copied all the files to it OK but then at the reboot stage it just hangs at a black screen (after the MBR has been read and at the point where windows' bootloader would usually fire up windows). It just sits there, no errors.

So I installed Ubuntu. Again, the disk is readbale and it installed, but Grub gets to the "Grub is loading" or whatever it says note, but enever actually manages to start Grub so it won't boot Linux neither.

Any ideas what to look for to fix this? :( I guess "dd if=/dev/zero of=/dev/hda" won't make any difference.
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post by Maugrim_The_Reaper »

Try swapping the HDD for another to see what happens? Could be the HDD has passed its time and is destined for some retailer's disposal heap. I can install Win2K Server on something even older, so it should work on a 6GB HDD unless it's MBR sectors are corrupt/damaged.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

6GB? My mp3 player has that much. Damn that's old.

Hmm... maybe use a Live CD of some distro to do some in-depth checking of the disk?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

I suspect the boot sector could be damaged, that sounds logical.

I'll try flattening the entire disk with zeroes and see if that helps. I that doesn't work, it will finish up having to have a floppy in the drive with GRUB or something on it configured to boot the system.

Hmm... ponders how easy it is to install GRUB purely on a floppy :idea:

EDIT | A GRUB boot CD looks like an awesome idea. GRUB is extremely handy if you know how to run the commands manually should all else fail on you :)

I'm currently flattening the disk from start to finish with "dd if=/dev/zero of=/dev/hda bs=1"... the bs=1 is gonna make it take a long time to finish :evil:
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

I am officially a legend :P

dd if=/dev/zero of=/dev/hda bs=1 count=512

That fixed it! w00t!

(I wonder why the linux and windows install disks don't have the same effect when they write to the boot sector? Unless they onyl write to that 446 bytes (the actual MBR!!)).
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

d11wtq wrote:I am officially a legend :P
You were already a legend. :lol:
Post Reply