Install centos6.5 on Windows 7 (hard disk centos6.5)

Source: Internet
Author: User
This article describes how to install centos6.5 on a win7 hard disk. For more information, see win7CentOS 1. software required during installation.

1. hard disk partitioning software pqmagic

2. ext2Fsd copies files to ext2 (or ext3) file systems in windows, because ext2 file systems cannot be identified in windows, that is, ext2 partitions are invisible in windows. Ext2Fsd can copy the corresponding files (mainly CentOS system images) to ext2 partition by setting the display of ext2 partitions. In this document, the ext2fsdis the ext2fsd-0.51.exe installation version. it is best not to use it after decompression. If the installed system Image iso is less than 4 GB, you only need to format it into the FAT32 file system. In this case, the Ext2Fsd tool is not required.

3. EasyBCD, supporting multiple operating systems: EasyBCD2.1.2

II. centos system installation file

Download the centos 6.5 iso file, which has the following types of iso versions:

BinDVD: A Common installation version that can be used only after it is installed on a computer's hard disk. bin is usually large and contains a large number of common software. it does not need to be downloaded online during installation (in most cases ).
LiveDVD. It can also be installed on the computer, but some content may need to be downloaded again on the website (automatically ).
LiveCD: it is a simplified CentOS system than LiveDVD. Smaller size, easy to maintain and use.
Minimal: Lite version
Netinstall: Network installation

III. installation method of LiveDVD or LiveCD centos

If you download LiveDVD or LiveCD (the iso size of the installation file is smaller than 4 GB), congratulations, it is relatively simple to install.

1. use pqmagic to divide a partition for installing centos. I usually divide a partition at the end of the disk.

2. find any FAT32 partition, put the downloaded centos image file centos-xxx.iso under the partition, assume it is E: Disk

3. decompress vmlinuz and initrd in the isolinux folder of the centos image. img (if only vmlinuz0 is used, use vmlinuz0, and modify the following command) to the E: \ disk root directory, decompress the images folder to the E: \ disk root directory, that is to say, the image is in the same directory as the centos image.

4. open the easybcd software, Add new Entry-> NeoGrub-> install-> Configure, and Add the following lines to the opened menu. lst file:

Title CentOS
Kernel (hd0, 5)/vmlinuz
Initrd (hd0, 5)/initrd. img

Note: the above (hd0, 5) indicates an edisk. generally, (hd0, 0) indicates a drive C, (hd0, 4) indicates a drive D, and (hd0, 5) indicates an elastic drive, and so on.

5. start and restart the system, select the NeroGrub menu, and select the disk where the iso file is located. Next, the installation method is the same as that on the CD.

IV. how to install centos for BinDVD

If, unfortunately, you and I want to use a BinDVD version that is awesome and has a lot of software, you need to know why we cannot use the method described in section 3: The file system in FAT32 format, A single file larger than 4 GB is not supported. Therefore, you cannot copy the centos image file to a disk in the format of FAT32.

Then, you need to use the following work und: Get an ext3 file system (which is in linux), so that you can copy the centos image file larger than 4 GB.

1. use pqmagic to divide two partitions. The first one is in ext3 format and is used to store the centos image file. The second one is in whatever format and is used to install centos, I usually divide two partitions at the end of the disk.

2. install Ext2Fsd. remember to check all the items in this step.

3. after installation, open and find the ext3 partition in step 1, right-click and select "configuration file system"

Click "enable" and "change and exit ". Right-click the disk and choose "configure ext3 volume attributes"

Right-click the disk, select "disk and partition attributes", and select "change drive letter/assembly point ",

Select "add"

Click "load and exit" according to the configuration ".

After the configuration is complete, open my computer and you will find the elastic block storage, which can be opened normally. the copy, paste, and delete operations are the same as those in windows. Note that a lost + found folder will appear on the disk at this time. do not delete the folder.

4. copy the downloaded centos image file centos-xxx.iso to the E: Disk, decompress the vmlinuz and initrd under the isolinux folder in the centos image. img (if only vmlinuz0 is used, use vmlinuz0, and modify the following command) to the E: \ disk root directory, decompress the images folder to the E: \ disk root directory, that is to say, the image is in the same directory as the centos image.

5. open the easybcd software, Add new Entry-> NeoGrub-> install-> Configure, and Add the following lines to the opened menu. lst file:

Title CentOS
Kernel (hd0, 5)/vml
Inuzinitrd (hd0, 5)/initrd. img
Note: the above (hd0, 5) indicates an edisk. generally, (hd0, 0) indicates a drive C, (hd0, 4) indicates a drive D, and (hd0, 5) indicates an elastic drive, and so on
6. start and restart the system, select the NeroGrub menu, and select the disk where the iso file is located. Next, the installation method is the same as that on the CD.

V. Other information

Install, start, and log on to the ECS instance and find that the network is not accessible. you need to make the following configuration changes (assuming that you are logged on with the root permission)

1. vim/etc/sysconfig/network-scripts/ifcfg-eth0

ONBOOT = yes # whether to set this network interface when the system starts. if it is set to yes, this device is activated when the system starts. the default value is no.

2. if you are a domain account in the company, you also need to set it up: Open system-> preferences-> network connections

Click Edit

Restart the network service network restart.

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.