U盤安裝centos7 系統卡在 starting dracut initqueue hook


U盤安裝centos7啟動過程中出現:

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

下面是我解決的過程:

在啟動后引導界面按 e 進行編輯

修改掉默認的信息(圖示默認的信息): 【這個是默認的信息】

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

 

修改后的內容為:

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盤啟動,修改引導

 

【第二次修改后,注意U盤的設備路徑】

setparams 'Install CentOS Linux 7'

linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:/dev/sdb4 nomodeset quiet

initrdefi /images/pxeboot/initrd.img

 

最后再次Ctrl + X 執行就可以了


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM