A command to delete grub of Ubuntu

Source: Internet
Author: User
After Ubuntu is installed, the system uses grub to take over the startup options of Windows 7, but I don't want to use Ubuntu any day. Besides wubi, you only need one command to use the Windows 7 installation disk to fix it. in the twinkling of an eye, you can use Windows 7 to start a single disk. No matter whether the Ubuntu partition has been deleted or not, the grub & gt; character cannot start the system, or the Ubuntu still stays in its ext4 partition, start the system directly with the Windows7 disc, and then follow the steps below

After Ubuntu is installed, the system uses grub to take over the startup options of Windows 7, but I don't want to use Ubuntu any day. Besides wubi, you only need one command to use the Windows 7 installation disk to fix it. in the twinkling of an eye, you can use Windows 7 to start a single disk.

No matter whether the Ubuntu partition has been deleted or not, the system cannot be started when the grub> character occurs at startup, or the Ubuntu still stays in its ext4 partition. Use the Windows 7 disc to start the system directly. Then, follow these steps:

1. After you start the system with a Windows 7 CD, you will be asked to select a language. By default, you can select the language and click Next;
2. On the next page, you will be prompted to install Windows. Select repair computer in the lower left corner;



3. Wait for the system to find the Windows7 system and then click Next;
4. Select the last "Command Prompt ";



5. Enter bootrec.exe [space]/fixmbr "in the prompt dialog box, and press enter to delete grub ..

After the computer is restarted, the system automatically enters Windows 7.

Other bootrec.exe parameters:
*/FixMbr. Re-writes the master boot record (MBR) of the system partition to start Windows Vista. This won't overwrite the existing partition table.
*/FixBoot. Writes a boot sector onto the system partition to start Windows Vista.
*/ScanOs. Scans all disks for Windows Vista installations and displays them to you. Oddly, this didn't work for me, even on a test system that was starting just fine.
*/RebuildBcd. Scans all disks for Windows Vista installations and prompts you to pick the ones you want to add to the BCD.

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.