真机安装centos桌面版
先去官网下载centos8的64位boot版本,
然后使用UltraISO制作U盘启动盘, 随后通过BIOS进行U盘启动开始安装centos, 安装时
安装时要通过BIOS关闭安全启动
坑1
dracut-initquenue[612]: Warning: Could not boot.
dracut-initquenue[612]: Warning: /dev/root does not exist
Starting Dracut Emergency Shell...
Warning: /dev/root does not exist
Generating "/run/initramfs/rdsosreport.txt"
Entering emergency mode. Exit the shell to contine.
Type "journalctl" to view system logs.
You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot after mounting them and attach it to a bug report.
dracut:/#
解决方法:
搞清楚自己的USB设备名是哪个
在选择menu item的时候 在Install CentOS 8这个选项上按Tab或E键, 进入编辑页面
然后替换hd:……
为jd:/dev/你的U盘设备名 quite
再按Ctrl+X进入安装
坑2
无法识别本地软件源, 通过网络安装即可, 使用阿里云的源
http://mirrors.aliyun.com/centos/8.4.2105/BaseOS/x86_64/os/
坑3
无限重启, 一闪而过的报错信息
System BootOrder not found. Initializing defaults.
Creating boot entry "Boot001" with label "CentOS Linux" for file "\EFI\centos\shimx64.efi"
Reset System
解决方法:
引用国外论坛:
It was. I didn't even have to open a terminal window.
(I'm an absolute beginner.)
For other newbies:
File System > search grubx64.efi > copy
File System > right-click "boot" and "open as root"
efi > EFI > BOOT
paste
right-click BOOTX64.efi > send to trash
right-click grubx64.efi > rename to BOOTX64.efi
restart
坑4
使用系统时, WIFI模块显示"找不到wifi适配器"
解决办法:
引用github
https://github.com/tomaspinho/rtl8821ce#wi-fi-not-working-for-kernel--59
Wi-Fi not working for kernel >= 5.9
The Linux Kernel 5.9 version comes with a broken
rtw88
module developed by Realtek that has poor compatibility with most revision of the 8821ce chip.You must disable it by adding the following to your module blacklists (
/etc/modprobe.d/blacklist.conf
):blacklist rtw88_8821ce
Then, make sure you have the rtl8821ce module correctly installed.
Turn off your computer, wait a few seconds (to force firmware reload) and then turn it on again.
我是先升级内核到最新版本, 然后照做, 解决
至此一个正常的带GUI的CentOS8系统就可以使用了