Delete the Linux Startup Menu

Source: Internet
Author: User
Article Title: Delete the Linux Startup menu. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

With the increasing influence of Linux, many computer enthusiasts began to install Linux on their favorite machines. therefore, in addition to the original Windows system, a Linux system is added to the hard disk. The first operating system selection menu displayed at startup is changed to Linux LILO or GRUB.

After a while, some people decided to delete Linux because they were not used to Linux or the hard disk space was insufficient. Despite the smooth process of deleting Linux, LILO was left. So how can we delete LILO and restore the Windows Startup interface?

LILO (or GRUB) is the Linux Startup manager. By default, most Linux distributions Mount LILO to the Master Boot Record (MBR) on the master hard disk ). This is why the first screen after Linux is installed becomes Linux LILO. When installing Linux, we can ask the installer to install the Linux boot manager to another hard drive or boot floppy disk to prevent the Linux starter from rewriting the MBR. However, for the first Linux installation or automatic installation mode, the Linux Startup manager may not be able to rewrite MBR. After the MBR is rewritten, the startup module of Windows is not lost, but now it can be accessed through the Linux Startup manager LILO or GRUB.

Then, how can I clear LILO or GRUB and return to the Windows Startup interface? For a system with only one Windows operating system, it is easy: Create a boot floppy disk containing the FDISK program, start the machine with a floppy disk, and then execute FDISK/MBR on the command line. This command resets the MBR so that the system starts Windows directly. However, if the system has multiple Windows before Linux is installed, running the FDISK/MBR command in this way will overwrite the Windows Multi-boot menu, so that the machine can only be started from the default main operating system.

To clear LILO or GRUB and return to the previous Windows Startup interface, the fastest and most reliable way is to use the Windows fault recovery console. The fault recovery console can be accessed from Windows CD or installed on the system. If you want to run the fault recovery console from CD, if the master operating system of the machine is Windows XP, start the machine with WinXP CD. When prompted, select manual recovery (press the R key ).

Installing the fault recovery console on the system can speed up the process.

First, open the Windows XP command line window (select the menu "start" → "run", execute cmd); then, insert the WinXP disc in the CD-ROM, run the D: \ i386 \ winnt32.exe/cmdcons command on the command line, where D: Is the drive letter of the CD-ROM drive. After the installation is complete, you can select the fault recovery console from the Windows Startup screen at the next startup.

If more than one Win XP system is installed on the machine, the fault recovery console will prompt which Win XP is to be repaired. Select the last installed system and enter the administrator password to log on to WinXP. On the command line, Enter fixmbr and press Enter. The system prompts that an invalid startup record already exists. Ignore this. You only need to confirm the operation. Restart, and the Windows Startup menu is back.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.