USB stick Installation Window7 and CentOS7 dual system steps

Source: Internet
Author: User

USB stick Installation Window7 and CentOS7 dual system steps

Steps:

First, install the Win7 system

Attention:

<1> set aside a certain amount of disk space after the installation, for Linux system;

The first partition of the <2> disk needs to be left to the Linux system, that is, a block of unpartitioned space should be reserved before the C drive, not less than 200MB;

Second, install the Linux system again

Attention:

<1> when you set up a disk partition, the/boot partition is set to the partition size reserved before the C drive, and the setup software automatically sets the/boot as the primary partition, installed in the first space


Third, add Win7 Startup items in Liunx Grub boot entry (requires networking)

Attention:

<1> when the Linux system is installed, when the host is started, only the Windows startup items of the Linux startup item are lost, and the Linux grub is used to load the Windows startup items;


Tools

Two USB drives: one installs WinPE for installing the Win7 system and the other for installing Linux systems;

Partitioning tool: The partition helper in WinPE;

UltraISO: Used to make the Linux image file into a USB flash drive;


Detailed work:

1. Enter the WinPE USB drive system and use the partition Assistant to plan the hard disk partition;

Recommended Partitioning: Reserve >200MB unallocated space before C-drive,

Win7 space except for the C disk, the rest are logical partitions

Win7 the system, leaving the disk space to the Linux system, not allocating partitions;

2. Install the Win7 system with USB drive Windows PE;

3. Install the UltraISO software in the Win7 system to make the Linux image into a USB stick;

Start-to-write hard disk image

4. Insert the LINUXU disk into the computer, F12 the U disk to start;

5. Install the Linux system;

6. The installed Liunx system can be entered directly, but there will be no Win7 in the startup list;

Note: If you only install single system (Linux) then only perform step 3-5;

7. Enter the Linux system and add the Windows startup entry to Grub

<1> Modify Grub's configuration file first:/boot/grub2/grub.cfg

Add the next line in # # # begin/etc/grub.d/30...###

Menuentry "Windows7 (loader) (on/dev/sda1)" {

Insmod NTFS

Set root= (hd0,1)

Chainloader +1

}

<2> Install the required software, read the configured GRUB.CFS file:

Yum-y Install Epel-release

Yum-y Install NETF-3G//To identify the NTFS file system

Grub2-mkconfig-o/boot/grub2/grub.cfg

Read the configuration file, read the Windows startup entry into grub,

Note that the command is: grub2-mkconfig


8. Reboot to see the boot list both Win7 and Linux;





This article is from the "It Small white" blog, please be sure to keep this source http://godloveayuan.blog.51cto.com/12958684/1933867

USB stick Installation Window7 and CentOS7 dual system steps

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.