Current location - Quotes Website - Signature design - How to install win7 and red flag linux dual system
How to install win7 and red flag linux dual system

It is recommended to refer to the installation of LinuxMint and Windows multi-boot.

1. Preparation: Use USB Image Write to write the downloaded image to a USB flash drive, or burn a CD under Windows.

Start the computer with the LinuxMint boot disk and enter LinuxLive. Open Gparted, adjust the partition, separate an EXT3 partition to install Linux (note the partition number such as sda3), and then separate a SWAP partition (5G).

2. Install the system:

2.1 Install Win7

2.2 Install Linux

Use the LinuxMint boot disk to start the computer and click Install on the desktop LinuxMint

When choosing the installation partition, mount the EXT3 partition as the root partition and the Swap partition as Swap

Grub starts and installs to the EXT3 partition

After installation, do not Restart, open a Windows partition, right-click, Open In Terminal (open in the terminal), enter the following command:

sudo dd if=/dev/sda? of=Linux.bin bs=512 count=1 (sda represents the partition number where you installed LINUX, which can be seen in Gparted).

If the Linux boot menu cannot start Windows, enter the following command in the Linux terminal to fix it

sudo update-grub

3. Multi-boot

< p>Win7 and Linux dual boot

Copy Linux.bin to the root directory of drive C

Open the command window and run the following command:

bcdedit /create /d "Linux" /application BOOTSECTOR

Write down the serial number in {} to replace the GUID in the following command

bcdedit /set {GUID} device partition=C:

bcdedit /set {GUID} path \Linux.bin

bcdedit /displayorder {GUID} /addlast

bcdedit /timeout 5

After completion That’s it, the boot selection menu will be displayed within 5 seconds of booting. If you install Windows first and then Linux, you can switch between dual systems at will (that is, the Windows boot menu has Linux, and the Linux boot menu has Windows).