Install centos system to USB disk

王林
Release: 2024-03-18 12:19:24
forward
733 people have browsed it

php editor Xinyi will introduce you how to install the CentOS system to a USB flash drive. In practical applications, installing the CentOS system to a USB flash drive can conveniently run the system on different computers and can also be used as a portable system backup. This article will introduce in detail how to install the CentOS system to a USB flash drive through simple steps, so that you can conveniently use the CentOS system anytime and anywhere.


#Process steps

1. First go to the official website to download the ISO image

Official website download address: https://www.centos .org/download/


#2. Burn the downloaded U disk to install the system. The tool I use here is Floppy Disk Pass

Download address: https://cn.ultraiso.net/xiazai.html


3. Insert the U disk for boot installation


#Problems encountered during boot installation and solutions

Problem: Because I used a USB flash drive to install using UEFI, the following situation occurred when booting the system

[ sda] No Caching mode page found

[sda] Assuming drive cache:write through

#The loading here will be stuck for a while, and then some warning messages will be output, and then the command line interface will appear. At this time, you need to know your U disk image information

#ls /dev/sd*

/dev/sda /dev/sda4

#At this time, you can check whether sda4 is The partition where the image is located, the next step is to restart the system, then enter the installation interface, and then enter e to edit

Install centos system to USB disk

#The information that needs to be modified

will The second line: inst.stage2=hd:LABEL=CentOS\X207X20X\86_64 is changed to inst.stage2=hd:/dev/sda4:/

Then press Ctrl x to proceed to the next step of installation normally. , some specific small requirements can be configured as needed. What needs to be reminded is that the installation is using UEFI boot. In addition to some necessary partitions, such as /boot, swap, / partition, a /boot/efi partition is also required. , the size is 164M.


#Summary: This is a practical installation of the system. I just want to make a small summary. I hope it can help you. To view more good articles, you can click to learn more. , pay attention to Laoyoutiao IT Notes. .


The above is the detailed content of Install centos system to USB disk. For more information, please follow other related articles on the PHP Chinese website!

source:pc-daily.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template