ubuntu修複grub,u盤引導問題

來源:互聯網
上載者:User

ubuntu修複grub,u盤引導問題 電腦是win7 與ububtu雙系統,昨天了調整分區,用u盤重裝了ubuntu,安裝過程順利,可不知怎麼搞的,拔出u盤就無法啟動,提示分區找不到,然後是grub模式,螢幕顯示grub resucue。 google了下,照著命令敲就好了。 grub resuce>ls (hd0) (hd0,msdos9) (hd0,msdos8) ..... #列出了硬碟得分區資訊 #哪個才是我們得ubntu分區呢?用下面命令,一個個試試,能顯示linux檔案得就是。我的是(hd0,msdos8) grub resuce>ls (hd0,8)/ grub resuce>root=(hd0,msdos8) grub resuce>prefix=/boot/grub grub resuce>set root=(hd0,msdos8) grub resuce>set prefix=(hd0,msdos8)/boot/grub grub resuce>insmod normal grub resuce>normal 很神奇得命令,這樣就搞定了 進入ubuntu後更新下grub就行 sudo update-grub 也可以預先用u盤引導進入ubuntu,使用“磁碟使用工具”查看ubuntu的分區資訊 ,我的ubuntu安裝在/dev/sda8  

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.