Jump to content
Posted 15 June 2006 - 19:16
Posted 19 June 2006 - 21:59
You are not supposed to keep hitting enter, you press "y" and then hit enter.
well what basicaly happens with me is i did sepll it right, i typed "fdisk /mbr" and it said "are you sure you want to write a new mbr?" and i hit enter, than it just says it again and again, so i couldnt figure out how to restart my pc from there so i hat to hit th power and it was still GRUB.
Posted 20 June 2006 - 00:44
well, it doesnt say what to do, and it only lets me type one letter
Posted 20 June 2006 - 15:47
What do you do if your Windows XP CD resides on a HD, for example on a Dell, and the HD you are wanting to recover is on a separate HD. How do you recover it then? Is there a Boot CD that can be downloaded and used?
If for some reason you find the need to get back to your Windows XP bootloader instead of the one installed by your Linux distro, simply follow these instructions:
1. Boot up with your Windows XP disc.
2. Select the option Recovery Console.
3. At the prompt, type "fdisk /mbr" (without the quotes of course)
4. Restart your computer.
Edited with correct info from the following posts...
Posted 20 June 2006 - 17:48
Edited by markjensen, 20 June 2006 - 18:08.
Posted 20 June 2006 - 20:45
That still leaves you with the "borrow a CD" option.
For a real odd trip, if you can get a copy of the first 446 bytes of the MBR from a "normal" Windows box (using a Linux LiveCD or some such), you can use a LiveCD on your destination box, and have Linux write the Microsoft MBR back for you.
EDIT: If you hold on a second, I will get one from a Windows box around here, and post the 446 bytes that you should need. then all you need to do is to write this data using a Linux LiveCD on your target machine.
EDIT#2: Attached is the file created from a Win95 box (hey, I needed to write to a FAT partition...) using the following command to extract the relevant 446 bytes from the MBR (you don't want the partition table from this beast! )
dd if=/dev/hda of=/mnt/hda1/mbr.bin bs=446 count=1
Switch the Input File and Output File definitions (adjust to suit your hardware config), and you will have reset your MBR.
Worst case, you can still grab an XP CD and boot it into recovery console.
(file had to be renamed with a .txt extension so I could upload it here)
Posted 20 August 2006 - 20:39
Posted 03 September 2006 - 16:43
Posted 03 September 2006 - 17:37
Posted 14 September 2006 - 12:37
Posted 14 September 2006 - 12:51
I have Win XP and Fedora 5 on my machine and I want to go back to the Windows bootloader. I've read the posts here but as I don't have an XP install disk and don't know where to find one I'm a bit stuck. The computer came with a system restore disk but this doesn't have fdisk on it!
Posted 14 September 2006 - 14:24
OK, but as a newbie I'm not sure which one will be able to restore an XP bootloader
Edited by underscorebios, 14 September 2006 - 14:32.