Recovering Ubuntu 9.10 After Installing Windows 7


【Foreword】

前些日子win 7离奇中毒,开机巨慢,几乎所有应用程序无法打开,只好重装。如此一来Ubuntu 9.10的Grub启动没了,由于win 7和ubuntu 9.10都是比较新的东东,网上的解决方案不多或者不是很完美(个人意见),不是需要Ubuntu live CD,就是把grub装到了mbr当中,鄙人用了一个一般笨的方法,还算比较完美的解决了……

【Procedure】

1)Download the file here and extract them to the directory you installed windows 7 for example ‘c:/’.

I pick it from here

2)Reboot the computer & choose Ubuntu 9 when it comes to mbr selection.

3)Open the terminal and reinstall the grub2 with the following commands.

[bash]sudo apt-get remove grub-pc
sudo apt-get install grub-pc[/bash]
[bash]#这里附上yuki大牛推荐的更正宗的方法:
#把grub安装到sda的mbr
sudo grub-install /dev/sda
#检测其他操作系统,XP Win7等
sudo os-prober
#更新grub的各个启动项
sudo update-grub
#REBOOT
sudo reboot[/bash]

4)Reboot the computer & choose to enter win 7.

5)Delete the files you established in Step 1.

6)Now everything is the same as before.

P.S. if there still exists some problems, please feel free to contact me.


3 responses to “Recovering Ubuntu 9.10 After Installing Windows 7”

  1. 第三步可以用一个更正宗的方法:

    #把grub安装到sda的mbr
    sudo grub-install /dev/sda

    #检测其他操作系统,XP Win7等
    sudo os-prober

    #更新grub的各个启动项
    sudo update-grub

    #REBOOT
    sudo reboot

    @感谢yuki大牛指正!

  2. 我到现在还是用的 GRUB Legacy(不愿接受新事物的典型?)

    PS:RSS 输出貌似有问题

    @主要是是否支持ext4的问题,不知道mac下是什么情况,RSS是什么问题?

  3. GRUB Legacy 也支持 ext4 的噢,有 ext4 的 patch,gentoo 是打了的,Ubuntu 应该也会有的吧

    @哦,有时间我去确认一下

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.