Small white learn Linux (a): U disk boot installation Centos7

Source: Internet
Author: User

1. Download the CentOS ISO installation package

Download the latest DVD ISO from the CentOS website https://www.centos.org/download/

2. Burn the ISO image to a USB flash drive using UltraISO

3.U start the computer into the installation interface

Under normal circumstances you should see the following interface:

PS: Select the first "install CentOS 7", if you can directly enter the image installation interface, you can skip the following directly, see the 4th step. If you encounter "/dev/root does not exist", you can resolve it by using the following content.

first steps to solve the problem: Select the first item, then press the TAB key, and you will see the following:

     

solve the problem step two: Modify the command that was pressed by the TAB key in the previous step

Modify the command to: >vmlinuz initrd=initrd.img linux dd quiet

Note here: Many articles on the internet say this step changed to ">vmlinuz initrd=initrd.img Inst.stage2=hd:/dev/sdb
Quiet "Something, then failed again CD
/dev Command View USB drive letter What, don't do this, I just wasted a lot of time here, the Dev directory of all the devices have tried a few times did not succeed, mainly laptop hard disk has two, plus u disk, make I really do not know which device is which ah ...

So here we directly change the text that comes out after pressing the TAB key to:>vmlinuz initrd=initrd.img linux dd quiet. When you're done, enter, and the list of your devices will be listed.

Do not understand the Linux I can clearly identify which is my USB flash drive, do not believe you look at the following picture:

Obviously, SDC4 is my U-disk, of course, you have to look at your own exactly what is, and then you can directly shut down after the computer (because I have tried to enter the number here as prompted, unexpectedly after a dead loop, do not know where the error is or how to,

So I then shut down directly).
According to netizens feedback, here input C can not shut down and directly into the system installation interface, we can try. Because I was incomplete, I can't see the hint about pressing C ...

solve the problem step three: start the computer again with the USB stick and continue to modify the commands that appear in the second step

Repeat the 2nd step and change the command below to: >vmlinuz initrd=initrd.img inst.stage2=hd:/dev/sdc4 quiet

SDC4 have to change to the name of your own USB stick, then enter. If you are not wrong, you should come to the interface of language selection, and then the graphical setup interface.

4. Next, you can enter the graphical installation interface, the choice of software, a matter of opinion

(1) most basic partitioning scheme:  

/: The recommended size is above 5GB.  
Swap: The swap partition, the recommended size is one or more times the physical memory.  

(2) Advanced partitioning scheme:  

/boot: used to store programs related to Linux system startup, such as boot loader, the recommended size is 100MB.  
/: The root directory of the Linux system, all directories are hung under this directory, the recommended size is more than 5GB.  
/home: Stores data for ordinary users, is the host directory of ordinary users, the recommended size is the remaining space.  
Swap: Implements virtual memory, the recommended size is one or more times of physical memory.  

(3) Advanced partitioning scheme:  

/boot: used to store programs related to Linux system startup, such as boot loader, recommended size is 100MB.  
/usr: used to store applications on Linux systems with more relevant data, more than 3GB is recommended.  
/var: used to store frequently changing data and log files in a Linux system, more than 1GB is recommended.  
/home: Stores data for ordinary users, is the host directory of ordinary users, the recommended size is the remaining space.  
/: The root directory of the Linux system, all directories are hung under this directory, the recommended size is more than 5GB.  
/tmp: The temporary disk is in a separate partition to avoid affecting the stability of the system when the file system is stuffed. The recommended size is above 500MB.  
Swap: Implements virtual memory, the recommended size is one or more times of physical memory (physical memory needs to be specified when installing CentOS).

Refer to Http://jingyan.baidu.com/article/60ccbceb0c364864cab1973e.html for partitioning

due to the inability to install, all of the online references to some of the pictures, so that the basic CentOS installation is finished, the next will start learning Linux journey.

Small white learn Linux (a): U disk boot 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.