系統情況:win7,在其上使用wubi安裝了ubuntu10.04,某天更新時在提示了grub方面的錯誤,當時沒有在意,結果更新重啟之后發現無法grub,直接進入了grub rescue命令行之下。
不想重裝系統,只是想修復grub。在網上搜索了一下,發現很多人都遇到了這個問題,按照一個老外的方法解決了這個問題:
網址在:
http://ubuntuforums.org/showthread.php?t=1490715
First of all, if you want to keep using ubuntu properly, boot into win7 and remove wubi (after getting your data out). Wubi was never meant to be a long term install, just a quick try.
Right now you have few things to fix, but it would be even easier to fix if you had proper ubuntu, not wubi.
OK...
1. Get a 10.04 ubuntu desktop cd. Use it to load live mode, or Try Ubuntu option. That will load ubuntu running from the cd.
2. Then use these instructions to fix partition #1 on disk /dev/sda:
http://sourceforge.net/apps/mediawik...ms:Boot_Sector3. Open terminal and install generic MBR on /dev/sda with:
sudo apt-get install lilo
sudo lilo -M /dev/sda mbr
Ignore the warnings it will give.
After this restart and you should be able to boot into win7. You have the same error on partition #2 but I think you can get by without fixing it too. Lets see.
If needed, run step 2 for partition #2 also.
Once you can boot into win7 and access wubi, get your data out and think about installing proper ubuntu.
If you have questions about that, just ask.
實際上需要一張ubuntu 10.04的安裝盤,也可能還需要一張windows7的安裝盤。如果恰巧也解決了您的問題,請在這里留個言,可以讓更多人看到解決方法。