I apologize in advance if this is a duplicate post. My fat fingers got ahead of me...
I recently booted a dual boot system (win98/RH8) with partition Magic and deleted the Linux partitions. I then booted the system to make sure Windows was ok. It was not! Instead, Grub came up and I could not get around it. I had to reinstall Linux and let the partitions be rebuilt.
Then, upon multiple suggestions, I booted into Windows and at a DOS prompt I typed fdisk /mbr
I then rebooted and received the message "Missing operating system"
The paramedics came and resuscitated me
I then booted into Linux with a boot disk and from a terminal typed /sbin/grub-install /dev/hda
That got me back to the point where I have a dual boot system. LMAO! Still trying to figure out how to remove Linux partitions.
Not much help with your ultimate goal, I'm sure, but I thought I should share this with you.