C/C++教程

centos7 U盘安装卡在 starting dracut initqueue hook Reached target Basic System

本文主要是介绍centos7 U盘安装卡在 starting dracut initqueue hook Reached target Basic System,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

centos7 U盘安装卡在 starting dracut initqueue hook

U盘安装卡在 starting dracut initqueue hook

U盘安装CentOS时停在Reached target Basic System

U盘安装centos7启动过程中出现:

[ok] Reached target Basic System
或者
[ok] starting dracut initqueue hook

到下一行就不动了,一直没有反应!

在启动后引导界面按 e 进行编辑

image-20211106223320689

修改掉默认的信息(图示默认的信息):

image-20211106223340135

  • 【这个是默认的信息】

    setparams 'Install CentOS Linux 7'
    linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 xdriver=vesa nomodeset quiet
    initrdefi /images/pxeboot/initrd.img
    

修改为(修改后的图):

image-20211106223459944

  • 【修改后的信息】

    setparams 'Install CentOS linux 7'
    linuxefi /images/pxeboot/vmlinuz linux dd nomodeset quiet
    initrdefi /images/pxeboot/initrd.img
    

    按Ctrl + X 执行上面的修改

    然后启动后屏幕会列出当前机器的硬盘设备也包括你的U盘,一般一个硬盘的话,U盘都是sdb* 这样的【记住你的U盘设备路径】

    我们看到了U盘的名称,前面的设备名称为/dev/sdb4 ,重启,U盘启动,修改引导,

image-20211106223603491

  • 【第二次修改后,注意U盘的设备路径】

    setparams 'Install CentOS Linux 7'
    linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:/dev/sdb4 nomodeset quiet
    initrdefi /images/pxeboot/initrd.img
    

再次Ctrl + X 执行就可以了

这篇关于centos7 U盘安装卡在 starting dracut initqueue hook Reached target Basic System的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!