使用u盘在pc上安装centos7(安装停留在dracut:/#的处理)

1.下载iso镜像文件

 

1.1到阿里云或者清华源下载对应的iso系统镜像

此处我们选择centos7.7 64位 minimal版本 及CentOS-7-x86_64-Minimal-1908,使用迅雷下载下来.

下载链接:https://mirrors.tuna.tsinghua.edu.cn/centos-vault/7.7.1908/isos/x86_64/CentOS-7-x86_64-Minimal-1908.iso

对于如何选择历史的各个版本

我们进入https://mirrors.aliyun.com/centos-vault/ 或者 https://mirrors.tuna.tsinghua.edu.cn/centos-vault/

选择对应的版本 例如6.9,点击进入,选择isos,选择x86_64,找到对应的版本,可以选择torrent种子下载和直接下载,下载后建议进行md5sum值验证(md5sum.txt).

image-20200826151219553

 

2.将iso镜像刻录到u盘

 

2.1 下载软碟通

本次是用 UltraISO 软碟通(下载地址:https://cn.ezbsystems.com/dl2.php?file=uiso9_cn.exe)将iso系统镜像刻录到u盘.(警告:u盘请做好备份,刻录时候会格式化u盘)

使用软碟通打开iso镜像

image-20200826152232212

 

2.2 写入镜像到u盘

点击启动,选择写入硬盘镜像

![2020-08-26 15_24_18-Window](use_u_pan_install_centos.assets/2020-08-26 15_24_18-Window.png)

image-20200826152705919

image-20200826152802478

image-20200826153107898

 

3.使用u盘安装系统

 

3.1 将u盘插入电脑,开机设置BIOS为u盘启动

 

3.2 进入u盘引导后,选择install centos7

image-20200826161032171

 

3.3 启动失败

一系列的加载后,最后停在这里:

image-20200826160043174

 

3.4 修改u盘文件

关机,拔掉u盘,插会电脑,查看到u盘名称为:CentOS 7 x8

image-20200826155631460

打开u盘,进入EFIBOOT,编辑grub.cfg

将下图标红的几个地方删除后,保存.

image-20200826155341112

修改后

image-20200826155551615

 

3.5 重新使用u盘启动,就ok了.

原文地址:https://www.cnblogs.com/osker/p/13565996.html