RSS

通过Ubuntu live CD修复MBR

12 Dec

事情是这样的:昨天帮同学装了Ubuntu,后来他告诉我开机直接进Windows、进不了Ubuntu了,搞清楚状况之后,如你所想的那样,原因很简单,Windows下某个奇怪的软件重写了MBR。

  1. 使用Ubuntu live CD引导系统。
  2. 打开终端,输入以下命令:
    $ sudo mount /dev/xxx /mnt
    这儿的”/dev/xxx”是存放根分区的设备的名称(比如/dev/sda6)
    $ sudo grub-install --root-directory=/mnt /dev/yyy
    这儿的”/dev/yyy”是你想要安装MBR的驱动器的名称(比如/dev/sda1)
    $ sudo umount /mnt
    别忘了卸载/mnt。
    $ sudo reboot
    重启。
  3. 重新从硬盘引导系统。如果提示移出CD安装盘,照做就行了。
 
2 Comments

Posted by on December 12, 2011 in Others

 

Tags: , ,

2 responses to “通过Ubuntu live CD修复MBR

  1. cpa networks weekly

    July 8, 2016 at 10:34 am

    I think everything composed was very logical.
    However, consider this, what if you were to write a killer headline?
    I mean, I don’t want to tell you how to run your
    blog, however suppose you added a post title that grabbed people’s attention? I mean 通过Ubuntu
    live CD修复MBR | Elegant Rock is a little plain. You could peek at Yahoo’s front page and note how they write article titles
    to grab people interested. You might try adding a video or
    a related picture or two to get readers interested about everything’ve
    written. Just my opinion, it might make your posts a little bit more interesting.

     
  2. turnkey profit

    July 8, 2016 at 9:17 am

    It’s in point of fact a great and helpful piece of information. I’m satisfied that
    you shared this helpful info with us. Please keep us informed like this.
    Thank you for sharing.

     

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: