隨身碟安裝centos 7 提示 “Warning: /dev/root does not exist

來源:互聯網
上載者:User

標籤:color   cto   9.png   sha   ffffff   proc   dev   介面   安裝centos   

安裝centos 7時提示 “Warning: /dev/root does not exist, could not boot”

這個問題是沒有找到隨身碟,這個配置是需要在上一步需要完成的,但在上一步我們並不知道隨身碟的檔案名稱,所以索性在這一步查看一下隨身碟的裝置名稱,然後再回到上一步完成配置。

在dracut介面中查看/dev目錄下移動硬碟的盤符

#一般有sdb和sdb#,#是數字,例如sdb4

ls /dev

可看到硬碟資訊:
我的隨身碟是sdb4

確認盤符之後reboot
回到安裝選擇介面,此時移動滑鼠選擇“Install CentOS 7”

然後按e鍵,在螢幕下方會出現vmlinuz的配置資訊,修改該資訊

initrd=initrd.imginst.stage2**=hd:LABEL=CentOS\x207\x20x86_64 rd.live.check quiet **

改為:

vmlinuz initrd=initrd.img inst.stage2**=hd:/dev/sdb4 quite**

sdb4是第一步確認的移動硬碟的盤符

修改完成後按ctrc-x鍵進入圖形介面繼續引導安裝就可以成功

隨身碟安裝centos 7 提示 “Warning: /dev/root does not exist

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.