[FIXED]: remove linux, and then install Windows XP
John Abreau
jabr at blu.org
Thu Apr 27 16:22:01 EDT 2006
Zhao Peng wrote:
> Then, I did "fdisk /mbr" when booted from floppy.
>
> But after this, the system did show "missing operating system" whenever
> the machine was restarted.
>
> Isn't is true that ""fdisk /mbr" and "dd if=/dev/zero of=/dev/hda bs=512
> count=1" are supposed to achieve same purpose?
Both commands got rid of grub, the linux boot loader that was trying to
load the system you had deleted. But they're doing two different things
to accomplish that.
"fdisk /mbr" overwrites the MBR with the MS Windows boot loader code.
"dd if=/dev/zero of=/dev/hda bs=512 count=1" overwrites the MBR with 512
bytes that are all zero.
It's the MS Windows boot loader that's reporting "missing operating
system".
--
John Abreau / Executive Director, Boston Linux & Unix
ICQ 28611923 / AIM abreauj / JABBER jabr at jabber.org / YAHOO abreauj
Email jabr at blu.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99
More information about the gnhlug-discuss
mailing list