安装Centos7出现An Unknown Error Has Occurred报错原因和解决方法

此错误很常见,可能会导致硬盘出现问题。
很简单,先格式化。

1 .从U盘启动PE。
2 .打开CMD并输入diskpart。
3 、使用ListDisk检查硬盘。
4 . 识别硬盘,通常是最大的硬盘,编号如0。
5 . 选择硬盘并键入 selectdisk0。
6 . 干净利落地执行。
请注意,这将清除硬盘上的所有内容。
7 . 切换到硬盘模式和类型转换器。
8 .退出Diskpart并重新安装CentOS。

如果这不起作用,请尝试另一种方法,先安装一个硬盘,安装后再使用另一个硬盘。

CentOS7安装过程格式化硬盘

选择安装盘:选择安装CentOS7 的硬盘。

自动分区:如果选择自动分区,系统会自动进行分区。

处理缺点:检查可用空间并轻松腾出空间。

确认删除:单击“确定”,该分区将被删除。

重新启动安装:格式化完成后,重新启动继续安装。

CentOS覆盖安装及CentOS7覆盖安装

Bro, talking about CentOS and CentOS7 stack installs, that's something I did in the early years.记得有一次,2 01 8 年,我在一家公司负责服务器系统的升级。
At that time, I had a deep understanding of both systems.
安装 CentOS 堆栈是一项棘手的工作。
我首先备份了所有重要的文件和数据。
I used a USB flash drive at the time, and it took more than half an hour to do it.然后,我设置启动顺序,安装好U盘,重新启动电脑,按Del键进入BIOS,调整启动顺序,让U盘先启动。

Then, the system enters the installation interface and selects "InstallCentOS".我想我终于可以升级了,我很兴奋。
Next, choose the installation type and destination, manual partition or automatic overwriting.这是重要的一步。
我选择了自动覆盖,然后系统就自动开始运行了。

Configure system parameters, set language and time zone. At that time, I remember to set the keyboard layout and select English.我想我以后不会再用中文了。
为了创建管理员帐户,我设置了 root 密码,并创建了一个普通用户帐户。

While performing the installation, I saw the progress bar and felt a little nervous.如果出现问题怎么办?幸运的是一切都很顺利。
安装完成,重启电脑,进入新系统。

CentOS7 的安装步骤类似,但有一些需要注意的地方。
例如,分区界面显示详细的磁盘信息。
I looked at it long before verifying the partition.还有网络和主机名需要设置,以避免将来出现网络问题。

在安装过程中,我特别注意备份和驱动兼容性。
毕竟服务器上有很多硬件。
If a piece of hardware isn't compatible, it's going to be a headache. In terms of version selection, I also recommend CentoStream or RockyLinux.毕竟CentOS7 已经停止维护了。

Finally, the step of verifying the installation media is indispensable.下载镜像后,我还专门验证了SHA2 5 6 值,担心文件损坏导致安装失败。

现在回想起来,那段时间很累,但是我学到了很多。
Brother, if you want to operate this, remember to back up first.几乎没有像我这样的大问题。
哈哈,别说话了,我得去喝茶休息了。