Teach you how to restore the boot menu in Windows

  

Q: My computer was originally installed with Windows XP, in order to early adopter, I installed Linux (RedHat Linux 9.0 version). But after a while, I found that Linux is not in line with my usage habits, so I deleted Linux on the hard disk. After that, trouble comes. —— GRUB (a boot manager for Linux) will appear every time you start. I want to start Linux or Windows. How can I restore the boot mode before Linux is installed?
Answer This is due to the fact that when installing Linux, "write GRUB to the boot area and control boot", this will load GRUB (common boot and LILO) into the master boot record (MBR) of the hard disk. At this time, the control of the system boot is transferred from the startup module of Windows itself to the boot manager LILO or GRUB of Linux. Simply uninstalling/deleting Linux does not erase LILO or GRUB from the hard drive's master boot record, so the operating system selection screen will still appear when the machine boots.
1. Boot from the Windows boot floppy disk, type "lddisk;mdisk" in the command line prompt (without quotes).
2. After resetting the MBR boot record, restart the computer, and the boot control is back to Windows!
If you don't have the boot floppy, you can do this by using the Windows Recovery Console. The method is to enter the command "fixmbr \\Device\\HardDisk0” (without quotes).


Copyright © Windows knowledge All Rights Reserved