背景介绍:公司需要使用台式机安装Centos 7.5 系统,来部署一个测试的数据库,在安装Centos 7.5 系统的时候,使用U启安装,但有问题。

如图:安装centos 7时提示 “Warning: /dev/root does not exist, could not boot”

U盘安装centos 7 提示 “Warning: /dev/root does not exist

这个问题是没有找到U盘,这个配置是需要在上一步需要完成的,但在上一步我们并不知道U盘的文件名,所以索性在这一步查看一下U盘的设备名,然后再回到上一步完成配置。

在dracut界面中查看/dev目录下移动硬盘的盘符

ls /dev

可看到硬盘信息:
我的U盘是sdb4

U盘安装centos 7 提示 “Warning: /dev/root does not exist

确认盘符之后reboot
回到安装选择界面,此时移动鼠标选择“Install CentOS 7”

U盘安装centos 7 提示 “Warning: /dev/root does not exist

然后按TAB键,在屏幕下方会出现vmlinuz的配置信息,修改该信息

vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 quiet

改为:

vmlinuz initrd=initrd.img inst.stage2=hd:/dev/sdb4 quite net.ifnames=0 biosdevname=0

net.ifnames=0 biosdevname=0 是修改网卡名为eth0

相关文章:

  • 2022-12-23
  • 2021-08-03
  • 2021-10-05
  • 2021-05-30
  • 2021-06-28
  • 2022-12-23
  • 2022-12-23
  • 2021-07-10
猜你喜欢
  • 2022-03-09
  • 2021-08-02
  • 2021-08-18
  • 2022-02-27
  • 2022-12-23
相关资源
相似解决方案