Recent whim, want to learn Linux, so according to online advice, bought bird Brother's book. For later learning convenience, ready to install CentOS7. Ready to mirror files and USB flash drive, 4th night Eight O'Clock more start construction, this thought a few hours can fix things, for the first time let me understand what is called the gap between the ideal and reality. In view of the CentOS7 installation of the complexity and the bird's fiery level, I decided to put my installation of the whole process to write down, hoping to help the small white students want to learn. In this tutorial, I wrote about the problems I encountered, because I have learned a lot of knowledge from the process of solving these problems, if you are also a small white words, I hope you look patiently.
In addition, we welcome the great gods to point out their criticisms ~
In advance, in the CentOS 7 installation process, there is no choice of startup items, that is, after the installation of CentOS, we can not open win10, so before this problem occurs, we have to think of a good solution, so I recommend first look at the fifth step, click this jump
Tools and Materials
1, a networked computer, or you can first download the software good
2, two U disk, 8G or better
3. Required files: CentOS7 image file (ISO file)
4. Required Software:ultraiso, old Peaches, EASYBCD
first step, disk space for Linux in Windows
------------------------------ two hard-disk trenches jumped over-------------------------------
Right-click "This PC"--"manage"
Don't worry, you won't break the computer.
The second step, make U disk boot disk
Light This step took nearly two hours, it is not difficult, but I was looking at the tutorial is early, so went a lot of detours. We use UltraISO, that is, soft disk pass, we must go to the Internet to download the latest version, even if the trial is OK, because we only use a bit better. Here is the production process
1. Open the ISO file
Click "File"--"open" to select where you saved the ISO file
2. Write USB flash drive
At the time of writing, the software will format the USB flash drive, so before writing it must pay attention to the important data in the USB stick backup
Although it will be formatted automatically, we'll format it ourselves just in case.
Then all the way to determine ~ ~
After formatting is complete, write, note the selection of parameters
To this, the first step is completed, the whole process is 5, 6 minutes. I spent two hours because the tutorial I was looking at was saying to delete several files before writing and then copy the ISO original file after writing.
Then the problem comes, the U disk Startup disk, its type is FAT32, that is, the file is larger than 4G is not in the copy, and my ISO file is exactly 4.01G, so in the time of the copy appeared the following situation
At that time, I have no words, my u disk is 32G, how to put in 4G of things, so I wonder if I bought a fake u disk ... But think about, a few days ago also with this U disk transfer 23G PS tutorial, how can be fake it? So go to BD, get the result is: FAT32 format, a single file maximum not more than 4G.
So what? At that time I was very witty (and later proved very stupid) to reformat the USB stick, formatted as NTFS format, so that the file is not limited, so continue to repeat the above steps ... However, there are no eggs to use. Or the copy does not go in. How possible, I changed the format, but opened a look, found that it has become FAT32, so continue Bd. I found that almost all of the burning software has formatted the USB stick as a FAT32, so I used another software to change the written USB drive to NTFS and then copy the ISO file. The result of this is that the computer does not recognize the boot disk at all when booting up ... Helpless, after the boot to continue to do, so, spent two hours, and then found in an article in the corner of the present ISO files are not required to copy the original file, holding the attitude of Demadan, once again repeat the above burning steps, directly restart the computer, the results of successful identification.
So, here I would like to remind you small white package: When you look at the tutorial, be sure to pay attention to the release time of the tutorial . If it is a long time ago tutorial, then be careful, because the change may be very large.
The
third step, using U disk guide
(The following procedure is performed in a virtual machine because the USB flash drive is not installed.) )
1, restart the computer, Crazy press F12 into the boot interface, select USB boot
Enter the screen
Note You cannot directly select Install CentOS 7 or Test this media & istall CentOS 7 ", I was here for almost three hours, tears ran ....
Since we are installing with a USB stick, we need to specify the USB stick location. Therefore, we first press the TAB key, the countdown to the bottom of the screen becomes the following string (some of the package may be encountered by pressing TAB does not respond to the situation, it may be that you chose "Troubleshoot ing" this item, as long as the selection of the cursor to move up the good)
Change it to the bottom and then enter
You'll see the interface.
So we get the location of the U disk, be sure to remember your U disk location , and then we restart the computer (of course only with the power button forcibly shut down), press F12 into boot, select the U disk to start, press TAB (repeat the top step), and then change the string to the bottom so, enter:
So there is a lot of strings and OK, ignore, wait for the good, the previous picture for reference:
In this step, in fact, the problem is not big, but!!! I saw a lot of tutorials, there are all kinds of methods, and I did not try to succeed, so that successful in the installation of the interface, it is already more than two o'clock in the morning
Here are three ways to treat the most common (pit) on the network:
1.
Why it row first, do not explain, the red box in a sentence, tossing me one hours, even once suspected that my U disk Startup Disk production error, go back and do several times
2, "direct access, and then the system will error, this is our input cd/dev/ls*, from here to see the location of the U disk after restarting the computer"
This tutorial has told us that the direct installation is not correct, to specify the location of the USB stick, I followed this tutorial carefully tried many times, no results. Later notice the difference between 1s and ls, that is, the first is the letter or the number, continue to try, no fruit, the last thought of LS and * There is no space between, added a space, successfully entered the bottom interface
I don't understand it at all.
3, will vmlinuz initrd=initrd.img inst.stage2=hd:label=centos\x207\x20x86_64 Rd.live.check quiet
Change to Vmlinuz initrd=initrd.img inst.stage2=hd:/dev/sdb1 quiet
Here SDB1 for the disk is located in the partition, may also be sdb2, can be modified according to the actual situation.
for this method, although it is correct, but I still can not help but want to vomit trough a sentence: you tell me according to the actual situation is how a law ah, a little judgment conditions are not, decay I only from 1 try to 4
Of the above three methods, I used the third method to try four times to succeed, see the graphical interface, almost moved to cry
fourth Step, installation
Soon after, it came to this interface, and finally not a cold command line, the heart is still a little excited ~o (∩_∩) O
attention must go in to choose a desktop , I was very sad to forget to choose, the result is all command line, shut down the machine will not ... Helpless, forcibly shutdown, and then reinstall
Then the partition, partition here to pay attention, we must choose the first step in the spare disk, otherwise it will overwrite the original information on the disk, remember to remember. "Hard drive has price, data is priceless".
Zoning Plan
/: 30G
swap:8g
/home:11.7g
/boot:300m
The same way to set up swap,/boot,/home partitions, it is important to note that the size of the swap, generally speaking, should be twice times the actual memory, but the actual memory is large, set 8G is Enough
After partitioning, we found that the size is not set, so the size is reset on the right, but the disk is not completely split, so the last swap will be a little bit (remember to set the swap and boot unit is MB)
As for the type of this partition, which is device type, it is good to do it by default, i.e./, swap,/home is the LVM type,/boot is the standard partition
After the area is divided, click "Done", pop up the following window and click "Accept changes" directly.
Now, all set up, start the installation
Note When setting up the account, also set a password, and that password is for the account, and the root password is not the same, so to remember the two password (I set the same as lazy cancer later), and if your password is too simple to set up, the main points can be completed twice to exit
After restart, use the account and password you just set to log in.
This step also took a long time, the main reason is two:
A: When the partition, do not know whether to choose LVM or Standard partition, tangled for a long time. As I said above, the default is good.
Second: The software choice, forgot to choose the desktop, but chose the minimum installation, in the future is such
After BD, found that this is to enter the account name and password, then follow the requirements (Linux security is very good, the password will not be echoed)
Then, the red box of things, in fact, has been installed a good sign, but no desktop installed. But at that time I did not know Ah, I thought it was wrong again, OK, shut down, restart, and then again, or so. After three times, only to understand that this has been installed, you can directly enter the instructions to operate, but I will not, OK, again, this time selected Gnome, successfully entered the Linux
As you can see, it's 4:55, and it's already light.
By the way, Linux can't install QQ directly
Fifth step, find the guide of Win10
As mentioned earlier, the CentOS installation process, you can not choose the startup item, then we need to solve this problem
Method One: Configure grub in Linux
For specific implementations, please refer to: http://tieba.baidu.com/p/3152957061
First of all, the small white do not go in, what also can not understand, we use the second
Method Two:
1. Recovery of WIN10 MBR
The reason why we recommend you first look at this step is here, we want to be in the case of Windows, the first to do a WinPE startup disk, which is to use two USB stick reason
I use the software is old peaches (cabbage can also, are very brain-free, basically do not need any settings) concrete implementation Please refer to: http://www.laomaotao.org/softhelp/syjc/1193.html
Here is a small problem, is the installation and UEFI version, now most of the computer should support UEFI, but I was using the school library of the broken computer do, do Uefi is always prompt to read, helpless can only do the installation version, but later felt not much difference. And the top of this tutorial is a bit old, I started the startup disk, in the Start menu and did not find what he said "partition assistant", so use a desktop partition software, there is also "rebuilding MBR" such a thing. If then cheese will not use that software, please self BD (after the destruction of CentOS, I to the degree of Niang love to a higher level).
Jumping from the top of the cheese, you can now jump back to the point of this ride rockets
2. Add cent0s 7 to the startup item
After recovering the MBR is not over, you can enter the WIN10, but you will find that there is no CentOS in the startup item (my heart is broken)
So we need to use EASYBDC this software (registration code direct BD)
After you restart your computer, you will see the startup item.
At this point, our entire installation process is complete.
However, after the installation, I also encountered a few minor problems
The first: is to use EASYBCD to join the startup item, WIN10 shut down the machine, each shutdown will automatically restart
Workaround: Cancel Win10 "Quick Start".
The second: After the normal switch machine, and then turn on the "Quick Start", found that the CentOS boot can not find
Workaround: Or cancel the Win10 "Quick Launch". Tried many times and found that you could not use CentOS as long as this function was opened
OK, all problems solved, welcome small white to learn to exchange, welcome the Great God guidance, the level is limited, do not like to spray.
A small white installation of WIN10, CentOS 7 dual system experience