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.