• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Any way to delete a boot record?

SithSolo1

Diamond Member
I just rebuilt my rig and I'm using a new SATA HD. Now I also have my old harddrive(IDE) installed because it has a large storage partition on it that I still have data on. Anyway my bios doesn't allow me to choose which HD to boot from so I figured if I could just get into windows and format the OS partition on the old drive it'd boot to the SATA drive all the time no problem, right? Wrong, when ever I have the old drive in there it tries to boot and then can't find what it needs and asks me to reboot. So, how do I fix this?
 
Link:

http://linuxgazette.net/issue63/okopnik.html

Linux-based solution

If you can still somehow fire up Linux - say, via Tom's Root-Boot floppy - you can simply invoke "dd", like so:

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

Yep, that's it. That MBR is gone. Obviously, you have to be root to do this.


DOS-based solution

Boot with a DOS floppy that has "debug" on it; run "debug". At the '-' prompt, "block-fill" a 512-byte chunk of memory with zeroes:

f 9000:0 200 0

Start assembly mode with the 'a' command, and enter the following code:

mov dx,9000
mov es,dx
xor bx,bx
mov cx,0001
mov dx,0080
mov ax,0301
int 13
int 20


Press <Enter> to exit assembly mode, take a deep breath - and press "g" to execute, then "q" to quit "debug". Your HD is now in a virgin state, and ready for partitioning and installation.

Anybody that walks up with a DOS floppy can do this to your system in about a minute.

pcgeek11
 
Originally posted by: Navid
Originally posted by: SithSolo1
Anyway my bios doesn't allow me to choose which HD to boot from ......

I didn't think that was possible! What motherboard is that?

I was being an idiot. You can't do it in the bios but during post there is an option for a boot menu. 😱
 
Originally posted by: travisray2004
Of course, i always tried fdisk /mbr to fix my boot record 🙂

That and the Recovery Console options (FIXBOOT and FIXMBR) are the easiest ways, assuming you have a WinXP CD around.
 
Originally posted by: SithSolo1
Originally posted by: Navid
Originally posted by: SithSolo1
Anyway my bios doesn't allow me to choose which HD to boot from ......

I didn't think that was possible! What motherboard is that?

I was being an idiot. You can't do it in the bios but during post there is an option for a boot menu. 😱

What motherboard?
 
MSI Neo4 FI

Already broke it though, OC'd too high and knocked out the onboard audio. I just ordered a DFI Ultra-D to replace it.
 
Originally posted by: SithSolo1
MSI Neo4 FI

Already broke it though, OC'd too high and knocked out the onboard audio. I just ordered a DFI Ultra-D to replace it.

I don't see how that motherboard would not have a boot priority list!
I will check it out when I get home when I have more time and post if I find it.
 
Originally posted by: A5
Originally posted by: travisray2004
Of course, i always tried fdisk /mbr to fix my boot record 🙂

That and the Recovery Console options (FIXBOOT and FIXMBR) are the easiest ways, assuming you have a WinXP CD around.

Does XP even support the fdisk command? I thought FDISK was a DOS/DOS-Mode command...
 
Originally posted by: A5
Originally posted by: travisray2004
Of course, i always tried fdisk /mbr to fix my boot record 🙂

That and the Recovery Console options (FIXBOOT and FIXMBR) are the easiest ways, assuming you have a WinXP CD around.


Original question was " Any way to delete a boot record? " wasn't it? FDISK only writes generic code into the first 512...

pcgeek
 
Back
Top