Windows 7 is installed on drive C, and CentOS is installed on drive D.

Source: Internet
Author: User

One hard disk, WIN7 is installed on drive C, CentOS is installed on drive D, and CentOS is used on drive E. Install WIN7 first, and then install CentOS as follows

I. Preparations

1. Download CentOS,: http://mirrors.163.com/centos/5.5/isos/, will download the ISO file stored in the FAT32 partition (this seems controversial, there are also said in NTFS partition can also)

2. Download grub4dos http://download.gna.org/grub4dos/.

3. Decompress CentOS and grub4dos, and copy grldr and grldr. mbr from the isolinux folder and grub4dos directory to the C root directory.

4. Create the menu. lst file under the C root directory, edit it in notepad, paste the following content into it, save and exit

Color blue/green yellow/red white/magenta

Timeout 30

Default/default

Title CentOS

Kernel (hd0, 0)/isolinux/vmlinuz

Initrd (hd0, 0)/isolinux/initrd. img

PS: "hd0, 0" This will vary depending on the computer situation, how to determine if there are online tutorials

Ii. Modify the startup configuration file

1. Start Menu-run-CMD

2. Enter the following content one by one. If an error is prompted, check whether the command is correct.

Bcdedit/create/d "grub"/application bootsector

Prompt to generate a {id}

Bcdedit/set {id} device partition = C:

Bcdedit/set {id} path \ grldr. mbr

Bcdedit/displayorder {id}/addlast

Restart. The grub option appears on the boot page (note: in windows, computer-properties-advanced system settings-advanced-start and fault recovery check "display the time of the operation correspondent List ")

If you select grub, CentOS will appear. Press enter to start installation. The installation tutorial is available online. Note that you must select the partition where the CentOS ISO file is located when the directory holding images :__ prompt is displayed.

Three minutes later, your dual-system installation is complete.

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.