CENTOS7 and Windows7 dual system installation

Source: Internet
Author: User

A few days ago installed dual System (CENTOS7+WIN7), in fact, online about this kind of tutorial a lot, this log is only for my installation process encountered some problems to explain. I am following the order of installing Win7 and then installing CENTOS7.

1, about the partition:

My hard drive is 640GB and is partitioned according to the 100gb+200+170+ remaining space. 100GB installation WIN7, "remaining space" to install CENTOS7, it is important to note that for the partition we are installing CentOS, we only need to "delete the volume".

2. Select the installation location

When we first install the Win7 and then install the CENTOS7 process, there is a choice of "installation location" process, here we directly select our hard disk, and can use "automatic configuration Partition", CENTOS7 will automatically install to our previous step to remove the volume in the hard disk space, You don't have to worry about it being installed in another hard drive partition. (The following two pictures from the network, because my computer has been installed, not cut the map ...) )。

3, about the recovery window7 boot

When we follow, first install Windows7 and then install the CENTOS7 process, after the CENTOS7 installation is complete, you will find that the boot time can not find the Windows7 boot entry.

For this issue, I started by using PE to recover Windows7 startup items, which is to restore the Windows startup item, but, Damn, the CentOS startup item is gone ...

Refer to the solution of an article on the Internet http://jingyan.baidu.com/article/c35dbcb0e87c4f8916fcbc8a.html

I'll paste the contents of the link here:

Using the CentOS ISO to make the start U disk into the installation of the CentOS interface, when the boot selection do not choose to install CentOS, but choose the troubleshooting troubleshooting options, and then select Rescue a CentOS system.

Press the TAB key to select Continue (be sure to choose), and then select OK.

Go to command line interface, enter

Chroot/mnt/sysimage

The next important step is to install the GRUB2.

Execute the following command

/sbin/grub2-install/dev/sda

After the installation is successful, execute the reboot reboot system. (When I actually experiment, as if reboot is useless, I just press the power button to shut down, do not affect the results)

This is just another start-up for CentOS, and the Windows boot will be done later through GRUB2.

  • After the recovery is very simple, after restarting the system, the CentOS system can be opened, you can use the GRUB2 function to achieve Windows boot.

    Note If your Windows system is installed in an NTFS-formatted partition, you should first install ntfs-3g (command: Yum install ntfs-3g) so that CentOS can identify the partition where Windows is located.

  • Open the terminal and execute the following command under root user.

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

    Grub.cfg is a configuration file for grub. The system automatically finds boot entries for Windows 8 systems and XP systems and adds them to the Grub.cfg menu. This avoids the risk of manual changes to the file, and all systems start normally. (The article author restores the WIN8 system, so the following image shows the WINDOWS8 system found)

  • Here is my laptop after installing the dual system Boot screen real shot, the second is to repair CENTOS7 use, do not have to control it. Select the upper and lower to enter the desired operating system.

  • CENTOS7 and Windows7 dual system installation

    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.