Recording CentOS-7-x86_64-DVD-1503 and Windows 7 single hard disk dual system installation, Windows 7 installation centos

Source: Internet
Author: User

Recording CentOS-7-x86_64-DVD-1503 and Windows 7 single hard disk dual system installation, Windows 7 installation centos

My original idea was: Win guided CentOS, but eventually it turned into CentOS guided Win. It's a coincidence.

Because I plan to use a USB flash drive to burn an image and start it directly from the USB flash drive, I do not need to boot the CentOS installation disk under the complicated windows in some online tutorials;

But there was a problem at the beginning that made me hesitate: After the USB flash drive is started and CentOS is installed, it will certainly be able to enter CentOS. How can we win?

Okay, let's see if we can guide win in CentOS. (Actually, yes, but I have never done it before)

Google: what's embarrassing is that the first link I opened was actually an article from Baidu's experience at http://jingyan.baidu.com/article/1709ad80b28cf74634c4f0d5.html --

The article said: "/boot/grub2/" grub configuration file grub. cfg, you can modify the Startup menu, add this section to guide win:

menuentry  ‘win7’{
        set root=(hd0,1)
        chainloader +1
}

The number next to this set root = (hd0, 1) is changed based on the partition where your own win is located. Note that there is a space in the middle of "chainloader + 1;

Now, I am sure that you can use the USB flash drive to burn the boot disk and install CentOS to guide win. Here are some brief steps to record and share with you (hopefully I can help one or two people from two points ):

0 first use Windows disk management to compress a logical partition (compress it into idle partitions). Do not change it. CentOS should be included in it;

1 With the burning software Win32DiskImager-0.9.5-install (burning tools to choose it casually, try to find the latest version of the official website) Burn the CentOS-7-x86_64-DVD-1503 image to 8GU disk (at least 8G );

2. Start and install CentOS 7 on a USB flash drive. (the installation process is not mentioned)

3. After the installation is complete, restart CentOS 7 (win cannot be entered at this time). You 'd better log in with the root user and find/boot/grub2/grub. cfg edit it, that is, add 'win7 'between two menuentries;

Okay, it's all done. Restart win. It may take several more attempts to determine where you can find your own win partition, especially when the partition is messy.

What can I do if I can enter win and CentOS...

Link: http://www.cnblogs.com/cdzhao/p/4433675.html


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.