These days the system is very frustrating, but also understand how the boot process is specific.
The CentOS 7 is not good to use, want to uninstall Redhat install Ubuntu, in order to facilitate the diagram directly to the Red Hat Drive area format. Then boot boot crashes, consulting the big God, the great God asked me to search the MBR repair, so there is this memo.
——————————————— The following sections are references —————————————————————
first, the repair of MBR (Problem Description: Direct formatting of Linux partition causes Grub to boot)
(MBR, known as the master boot record, is the primary boot record for the hard disk.) )
in the Presence Win7 with the Ubuntu Dual-system case, enter the Windows after the direct format of the hard disk partition will Ubuntu Delete, the following prompt appears after restarting.
Error : No such partition
Grub Rescue
Questions: Boot program Error
Solutions : make an " old Peaches WinPE" Startup Disk with the U -Disk , to remind you just to make a startup disk, not a setup disk.
Specific steps:
1. Format the U-disk;
2. Download an "Old peaches U disk start making tool", unzip and run after completion;
3. After inserting the USB flash drive, click the button until it is complete, then eject.
4. Enter the BIOS setup USB flash drive in the boot order as first.
5. Go to the Win7pe interface and look for the "Windows boot repair " software on the desktop or Start menu , and click on automatic repair.
—————————————————— End of reference ——————————————————————
second, the normal way to uninstall Linux (fix MBR to Win7 and reformat Linux first)
Method 1: with WINDOWS7 mounting plate. , the PE environment can be formatted after the Linux partition, the use of Windows boot repair repair MBR master boot record, go into the windows7.
Method 2: If there is no system installation disk, download the Fixmbr tool, operate in the WINDOWS7 system environment, rebuild and repair MBR boot, and then format the associated hard disk partition.
Method Two detailed:
(for Vista/xp/win7+ubuntu/fedora/freebsd)
1. Download MbrFix.exe
First enters the Windows operating system, enters the www.sysint.no website to download the MbrFix.exe;
After the download is complete, unzip the ZIP package and cut the MbrFix.exe to the C drive (System disk);
(if 64-bit system, please use MbrFix64.exe)
Start –> run –>CMD–CD \ command to enter C drive letter –> in C packing directory (CD ...; CD.; Until you run the command under the root directory:
mbrfix/drive 0 Fixmbr/yes–>enter Enter ;
(if it is a vista system, run the command: mbrfix/drive 0 Fixmbr/vista/yes–>enter Enter /strong>)
(if it is a Win7 system, run the command: mbrfix/drive 0 fixmbr/win7/yes–>enter carriage return )
so the MBR repair is complete without any hint (no message is the best message). The next step is to delete the Linux partition directly.
2. Format Delete Linux partition
take Win7 system as an example: click "Computer" right –> management –> Disk Management –> find Ununtu partition –> right –> delete logical partition.
Restart the computer, Grub no longer exists, dual system Linux uninstall complete, the computer starts to automatically enter the Windows system ....
Reason: since the dual system is grub boot, formatting the Linux hard disk partition will cause grub to fail to boot Windows 7 -booting into the system, only the black Grub screen. If there is a situation where the Win7 system cannot be entered, the next step will be to repair the boot area, which is the first steps of the repair work.
In addition to Ubuntu can directly burn USB disk installation disk.
Resources:
Linux boot-up process
Win7 Boot Process
Two-system uninstall and startup error: Grub fix
Perfect uninstall Linux system under Windows
Repair of Windows 7 MBR with Linux products properly uninstalled