Windows 7 installs CentOS 7 with a USB stick

Source: Internet
Author: User

Already have Windows 7 ready to install another CentOS 7.

1. Partition disk space

Partition the installation space for CentOS 7 from the disk. If you have more than one hard drive, be sure to partition 2G space on your primary hard drive (1G is enough) as boot. This is because the BIOS reads the primary hard disk MBR when booting, if boot is also in from the hard disk, grub modifies the MBR from the hard disk, the MBR of the main hard disk is not modified, the boot will not find the installation of CentOS 7 partition, resulting in CentOS 7 cannot start. For example, the main hard disk is divided into 2G as boot, from the hard disk partition of the 98G installation home and other content.

2. Start-up disk production

Install and run Ultroiso, download the CentOS 7 ISO file, and insert an empty 8GU disk. Select "Write to HDD image ...", write "usb-hdd+", write.

3. Installing CentOS 7

Restart the machine, enter the BIOS, select boot from the USB flash drive in the BIOS, enter the CentOS 7 installation screen, press TAB, enter below (quiet front is cursor, not underline)

where SDC is a U disk, if there is only one hard drive, the USB stick should be SDB. 4 indicates the partition on the USB drive, different USB drives will be different.

After starting the installation, choose Gnome, otherwise there is no graphical interface.

The most important thing is to choose the installation location, if not careful, the previous Windows 7 and the data on the hard disk may be deleted, the following is my approximate step, for reference only, it may be wrong.

As shown, you can see that the first is the primary hard disk, there is 2G free space, the second is from the hard disk, there is 98G free space, select the two hard drives, the last is a U disk without tube.

Select "I want to configure Partition" below, boot must use free space on the main hard disk (I am SDA), partition result:

Later set the machine name, user name, password, etc., relatively simple, it is no longer described.

After installation, because Grub modified the MBR of the primary hard disk, it was unable to enter Windows 7. Go to CentOS 7, edit/boot/grub2/grub.cfg, add later:

Menuentry "Windows 7" {insmod NTFS set root= (hd0,1)  Chainloader +1}

And then restart it, you'll see Windows 7.

Windows 7 installs CentOS 7 with a USB stick

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.