Ubuntu:修復grub
當Ubuntu的grub出現問題的時候,我們可以通過LiveCD或LiveUSB啟動后,通過終端對grub進行修復:
1) sudo grub # 以超級用戶身份打開grub,LiveCD或LiveUSB默認sudo密碼為空
2) find /boot/grub/stage1 # 會出現一些文字提示信息
3) root (hd0, x) # 其中x為上面提示信息中的相關信息
4) setup (hd0)
5) 退出grub,退出終端并重啟
2) find /boot/grub/stage1 # 會出現一些文字提示信息
3) root (hd0, x) # 其中x為上面提示信息中的相關信息
4) setup (hd0)
5) 退出grub,退出終端并重啟
posted on 2009-05-27 10:40 YeeYang 閱讀(978) 評論(0) 編輯 收藏 所屬分類: 電腦知識