---
title: "win7 下恢复 ubuntu 10.04(转) "
author: "pipal"
date: "2010-11-08T16:04:18Z"
tags: []
categories: ["操作系统"]
slug: "win7-ubuntu-10-04"
draft: false
lastmod: "2010-11-08T16:04:18Z"
id: 805724
url: "https://pipal.iteye.com/blog/805724"
---

转自：[http://www.cppblog.com/guojingjia2006/archive/2010/08/10/122924.html](http://www.cppblog.com/guojingjia2006/archive/2010/08/10/122924.html)

 

安装完Ubuntu之后，再安装Win7，把Grub覆盖了，重新修复过程：

 

下载附件，把Grub4Dos文件夹下面有3个文件：g2ldr，g2ldr.mbr和隐藏的boot.ini。把这3个文件复制到Win7的主盘下面，然后重启进入Ubuntu之后，输入以下命令：

sudo -s

grub

grub-install /dev/sda

update-grub

reboot