Help! Computer won't boot
I was trying to update my installation of Fedora core 2 to kernel 2.6.7, and after a reboot i got the error message "Error loading operating system". Now i cannot boot into windows xp or linux. My main hard drive is a 120gb and had Win XP and Fedora Linux on it. My second hard drive is a 60gb which is dynamic disk.
The last thing i did before the reboot was edit the grub configuration file so that the 2.6.7 kernel would use a ramdisk, since it wasn't working before. Also a while earlier I executed the following statement trying to resolve a problem i had:
dd if=/dev/zero of=/dev/hda bs=1022k count=1000
Apparently it changes something in the master boot record, and in retrospect executing this statement was probably a stupid idea.
I assumed that the problem was that my mbr got messed up somehow, so i put in my windows xp cd and executed fixmbr. It gave me a warning that the computer appears to have a non-standard or invalid master boot record and that continuing could damage my partition table. I ran it anyway but my computer still wouldn't boot. I went back into the winxp recovery console and ran partdisk and was shocked to see that hard disk 0 (the 120gb) is all unpartitioned space!
Is there any way to fix my boot sector so that my windows xp and linux partitions work again? Or at least get the data of the windows xp partition?