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=CentOSx207x20x86_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 执行就可以了

原文地址:https://www.cnblogs.com/cuianbing/p/15518680.html