How to Perfect one of the operating systems in a dual-System Computer

Source: Internet
Author: User

Many developers have the habit of installing dual systems for convenience of development and learning. However, it is troublesome to uninstall one of the operating systems, the following describes the commonly used dual-system combination and uninstallation solutions, hoping to help you.

I,Win7 + XP, uninstall XP

1. log on to Windows 7 and put the XP disc (or use a virtual optical drive to load the image)
2. Click "start" and enter "C: \ Boot \ bootsect.exe \ nt52 all/force". (assume that drive C is the XP installation drive letter.) Press enter to run the command.
3. restart the computer and find that XP and "early version windows" options of the System Startup Menu disappear. After the dual system boot menu is started, it will directly go to win7, which indicates that the dual system boot menu has been deleted.
4. After logging on to Windows 7, manually delete the folder where XP is located. If there are no important files in the drive letter, you can format the entire drive letter of XP.
5. After the restart, XP will be uninstalled in win7.

II,Win7 + XP, uninstall win7

1. Enter the XP interface, format the disk where win7 is located, and restart.
2. go to XP, find a system installation disk, install the XP Recovery Console (for details, see PS), restart, enter the console, enter the command "fixboot" in the command line prompt, and press enter to restart.

PS: to restore the installation method of the console, insert the Windows XP installation CD into the optical drive, click Start, and then click Run. In the displayed dialog box, type X: \ i386 \ winnt32.exe/cmdcons, where X is the drive letter of the optical drive. The "Windows installation" dialog box appears, showing the fault recovery console options. The system prompts you to confirm the installation. Click to start the installation process. Restart the computer. The next time you start your computer, you will see the "Microsoft Windows fault recovery console" item on the boot menu. The installation is successful.

III,Windows_xp + LINUX, Uninstall Linux
 
Linux is uninstalled on both Windows and Linux systems. Many children's shoes will adopt the method of directly formatting and deleting Linux partitions in Windows systems, which is considered to be able to uninstall the Linux system. However, unfortunately, if you delete the LINUX partition and restart the computer, the grub> symbol will appear, and you will not be able to access any windows or Linux system.

This is because during Linux installation, the grub boot program is installed in the primary boot partition record (MBR) of the Linux boot partition by default, when you Uninstall Linux, the grub boot program in the boot partition is also deleted. If you have deleted the linxu disk, you can use the following methods to repair MBR and then Uninstall Linux.

Method 1. Use the Windows installation disk to regenerate the correct boot file boot.int

(1) restart the computer, press del to enter the BIOS settings page, change the first boot item order to start from the cd rom, and save the BIOS to exit;
(2) restart and place the disk in the Windows system. When the installation screen appears, press R to enter the fault recovery console;
(3) Input 1, indicating to install Windows on drive C (Windows system will not be re-installed );
(4) run the fixmbr command. If the system prompts that there is no master Startup File, choose "Y" to create the master boot file boot.int (Windows xp c: Under the root directory );
(5) run the exit command, exit and restart, and change the BIOS startup sequence settings to uninstall the Linux system and boot it into the Windows system;

Method 2. If you do not have a Windows CD or optical drive installed, you can also use some dos tools to Uninstall Linux perfectly:

(1) download the DOS tool or use a CD/U disk to enter the doscommand line environment (it is more convenient to use a computer drive to start a tool disk with DOS from the optical drive to enter the DOS environment). Execute the command: press enter on fdisk/MBR to restart Windows.
(2) in Linux, the boot partition is set to active partition by default. in DOS, enter fdisk, and then type y to agree to enter the fdisk toolset, and select "set active partition, make sure that the first partition (disk C) is set as the active partition. You can also directly go to Windows: Computer> Management> disk management, format or delete Linux partitions, and Mark C: as "active partition.

In general, when Linux is uninstalled in windows, the MBR primary boot partition record is repaired first, and then the LINUX partition is deleted.

IV,Uninstall Linux in Windows 7 + linux

Method 1. Start with Windows 7 installation disk or PE and format the partition where Ubuntu is located. Use Windows 7 drive to repair MBR.

Method 2. If no disk or PE is installed, you can download the mbrfix tool and use a command prompt to repair the MBR boot.

(1) download the fixmbr tool, place it on drive C, and use a command prompt to enter the directory where the software is located. cd c: \ fixmbr (a space behind CD)
(2) Input mbrfix/drive 0 fixmbr/Yes
(3) restart and find that the system directly enters win7. Now you can format the partition where Linux is located.

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.