Win7 down hard Drive installation centos7!

Source: Internet
Author: User

Tinkering with a few days finally successfully installed on the Win7 on the CentOS7, now to share your personal experience.

Reference article:

Http://www.cnblogs.com/Johness/archive/2012/12/03/2800126.html

http://fyq891014.blog.163.com/blog/static/20074019120136163938790/

1, difficulties introduced:

(1) The Linux system can recognize the Windows FAT32 file system, does not recognize the NTFS file system, so in the Linux installation, choose any SDA is not, FAT32 can
(2) FAT32 file system Single file cannot exceed 4G
(3) CentOS 6.4 file is larger than 4G
Conclusion: It is not feasible to use FAT32 and NTFS system to store and install ISO in Win7, then we should find a way to separate a Linux file system with tools, such as: ext3, not limited by 4G

2. Preparation of tools

(1) EASYBCD: Set boot boot

(2) EaseUS Partition Master 10.1: for formatting into ext3

(3) EXT2FSD: Mount Linux file System Ext1, ext2, ext3, etc. under Win7

(4) Wingrub: Just to look at the partition number, in fact, very chicken, no also can, need to experiment
PS: partition number, which should be used when configuring grub.

(5) CentOS 7:64-bit installation file, this is a must have.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/4D/FA/wKiom1ReOfmjG-DRAADMzkC0kEA873.jpg "title=" Tools.png "alt=" Wkiom1reofmjg-draadmzkc0kea873.jpg "/>


3. Prepare an empty drive letter, preferably the last one, and not within the logical partition.

If the last one is a logical partition, you can use EaseUS Partition Master 10.1 to convert to the primary partition and then delete it.

(PS: I tried in the second-to-last partition installation, but in the division/boot size can only be 2m, how can not change, is only CentOS 7 for the sake of what is the reason, at present, do not know, hope that people familiar with the knowledge revealed, grateful. )

All right! Let's get started when the preparation is done!

first , use EaseUS Partition Master 10.1 To remove the last disk, and then create a new 10g ext3 partition to hold the CentOS 7 image file. Windows does not recognize ext2, 3 and other Linux file systems, so after creating the ext3 partition, you use the EXT2FSD tool to mount the ext3 file system to Win7, such as:

A: partition (PS: People do not understand the use of this tool can be used for other, or to find the EaseUS Partition Master 10.1 tutorial, here I am divided into nearly 50g space to place the CentOS 7 image file)

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/4D/F9/wKioL1RePPvje8emAAUXAKPIgzQ264.jpg "title=" Ext2.png "alt=" Wkiol1reppvje8emaauxakpigzq264.jpg "/>


B: Use the EXT2FSD tool to enable support for ext3, and assign a drive letter to the Ext3 file system just divided.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/4D/FA/wKiom1RePgKAYFOEAAPIOD2-jhM350.jpg "title=" Mount-ext2.png "alt=" Wkiom1repgkayfoeaapiod2-jhm350.jpg "/>

Right-click just the Ext3 file system, add-load and roll-back, see ext3 has a drive letter on the description can be, if not just perform the operation just now.


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4D/FA/wKiom1ReP9SA4FXHAAJJRCrZ3cg865.jpg "style=" float: none; "title=" Mount2.png "alt=" Wkiom1rep9sa4fxhaajjrcrz3cg865.jpg "/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4D/F9/wKioL1ReQDuQum5TAABceb7RbVQ999.jpg "style=" float: none; "title=" Mount3.png "alt=" Wkiol1reqduqum5taabceb7rbvq999.jpg "/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4D/FA/wKiom1ReP9SQVi5AAABRFF0wgug361.jpg "style=" float: none; "title=" Mount5.png "alt=" Wkiom1rep9sqvi5aaabrff0wgug361.jpg "/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4D/F9/wKioL1ReQDyCuK47AABH7OUMO0I125.jpg "style=" float: none; "title=" Mount4.png "alt=" Wkiol1reqdycuk47aabh7oumo0i125.jpg "/>

C: The CentOS 7 with the virtual CD-ROM load, the inside of the images, Isolinux folder copied to the 10g ext3 file system, but also to the CentOS 7 image copied into the 10gext3 inside.


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4D/FA/wKiom1ReQVaT-2pKAADhukwi5nk091.jpg "title=" cp.png "alt=" Wkiom1reqvat-2pkaadhukwi5nk091.jpg "/>


secondly , after finishing the above image preparation, we will begin to configure GRUB. When configuring, use Wingrub to view the partition number of the 10g ext3 file system disk, and then write down the following configuration in grub:

Title CentOS 7
Root (hd0,6)
Kernel (hd0,6)/isolinux/vmlinuz Linux repo=hd:/dev/sda7:/
INITRD (hd0,6)/isolinux/initrd.img

PS: Here the partition number is detected with Wingrub 10g ext3 partition number, title after the name can be customized, if the vmlinuz behind the Linux repo=hd:/dev/sdax:/this sentence, will appear/dev/root does Not exist hint, this is because the lack of this designation, GRUB will not find the location of Vmlinuz, this is I feel very strange place, not clearly specified the path, how can not find it! CentOS 7 is now discovering this. One might find that the difference between (hd0,6) and SDA7 is 1, and it seems that the area code in CentOS is starting from 1.


No error message specified for Linux repo:


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4D/FA/wKiom1ReRZaCCHbUAAWL2eGjwYE122.jpg "title=" Dracut . PNG "alt=" Wkiom1rerzacchbuaawl2egjwye122.jpg "/>


A: Find out the 10G ext3 partition code


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4D/F9/wKioL1ReRRyiGDFZAAEfV0Wes1c816.jpg "style=" float: none; "title=" Wing1.png "alt=" Wkiol1rerryigdfzaaefv0wes1c816.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4D/FA/wKiom1ReRLWQfEplAADydDqssrY765.jpg "style=" float: none; "title=" Wing2.png "alt=" Wkiom1rerlwqfeplaadyddqssry765.jpg "/>


B: Configure Grub. Add new entry-neogrub-install-config-save exit

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/4D/F9/wKioL1ReRafzVJhYAAQdIlPph4U098.jpg "title=" Grub-configure.png "alt=" Wkiol1rerafzvjhyaaqdilpph4u098.jpg "/>


then the installation (because there is no, so just take CentOS6.4, the basic installation process is not very poor.) Installation time in the choice of language when the Chinese support, avoid the time to install Chinese support trouble! )


To install the CentOS process:

Reboot Select Neogrub Boot

650) this.width=650; "src=" Http://pic002.cnblogs.com/images/2012/372875/2012120318044176.png "/>

Step-by-step installation

650) this.width=650; "src=" Http://pic002.cnblogs.com/images/2012/372875/2012120318050583.png "/>

650) this.width=650; "src=" Http://pic002.cnblogs.com/images/2012/372875/2012120318051996.png "/>

Language selection, above means Simplified Chinese, English is selected by default

650) this.width=650; "src=" Http://pic002.cnblogs.com/images/2012/372875/2012120318062028.png "/>

So, where did you put the installation file DVD? You try it ... I'm not quite sure about your disk partition

The following picture indicates that the installation started

650) this.width=650; "src=" Http://pic002.cnblogs.com/images/2012/372875/2012120318060597.png "/>

Continue to next (next)

650) this.width=650; "src=" Http://pic002.cnblogs.com/images/2012/372875/2012120318075675.png "/>

Regional selection, selected to Asia/Chongqing

650) this.width=650; "src=" Http://pic002.cnblogs.com/images/2012/372875/2012120318083411.png "/>

Here is to let you choose your system installation to use the disk space, it is best to choose the following options indicate that you want to customize (PS: This is the best place to choose this, choose what else will appear in the lack of space error )

650) this.width=650; "src=" Http://pic002.cnblogs.com/images/2012/372875/2012120318092144.png "/>

Start customizing (PS: Here is the unformatted partition previously reserved for CentOS installation )

650) this.width=650; "src=" Http://pic002.cnblogs.com/images/2012/372875/2012120318102288.png "/>

Select Free to continue

650) this.width=650; "src=" Http://pic002.cnblogs.com/images/2012/372875/2012120318105910.png "/>

650) this.width=650; "src=" Http://pic002.cnblogs.com/images/2012/372875/2012120318114034.png "/>

The default is good, continue

650) this.width=650; "src=" Http://pic002.cnblogs.com/images/2012/372875/2012120318121365.png "/>

According to the allocation on the graph, size (sizes) in megabytes, I set the 100G, you can according to their actual situation to assign

650) this.width=650; "src=" Http://pic002.cnblogs.com/images/2012/372875/2012120318145959.png "/>

OK, click Next

650) this.width=650; "src=" Http://pic002.cnblogs.com/images/2012/372875/2012120318152887.png "/>

Click OK (Yes)

650) this.width=650; "src=" Http://pic002.cnblogs.com/images/2012/372875/2012120318155596.png "/>

Continue 650) this.width=650; "src=" Http://pic002.cnblogs.com/images/2012/372875/2012120318161883.png "/>

You need to change the settings here, which by default puts the boot file on the partition where Windows is located, which can damage the Win7 startup file

650) this.width=650; "src=" Http://pic002.cnblogs.com/images/2012/372875/2012120318174998.png "/>

Continue, choose the installation mode, a variety of, any choice (PS: If you want to use the same CentOS win7, choose Desktop,minimal can only use command line )

650) this.width=650; "src=" Http://pic002.cnblogs.com/images/2012/372875/2012120318180959.png "/>

Started installing the

650) this.width=650; "src=" Http://pic002.cnblogs.com/images/2012/372875/2012120318183987.png "/>

Installation Complete

650) this.width=650; "src=" Http://pic002.cnblogs.com/images/2012/372875/2012120318190622.png "/>

Restart your computer


Finally, retrieve the Win7 startup item.

once the CentOS7 is installed, the original Win7 startup item disappears, and there are two ways to get it back. PS: I only know two kinds of it.



This article is from the "Bckong" blog, make sure to keep this source http://bckong.blog.51cto.com/5092126/1574489

Win7 down hard Drive installation centos7!

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.