从 10.04 升级到 10.10 丢失的 MBR

Wes*_*Wes 6 upgrade grub2 mbr

我想我已经失去了从 ubuntu 10.04 到 10.10 的 MBR 升级。

在升级过程中,它给了我一条消息,说我希望 grub 详细信息继续哪些分区,并说我是否不确定是否选择所有分区。

重新启动后,我最终进入了 grub 恢复控制台。

该系统是带有 Windows Vista 的双启动系统。

知道如何让我的两个操作系统都能正常工作吗?

我目前正在尝试下载 10.10 的 live cd,但它的下载量相当大,可以解决我认为是一个小问题。更糟糕的是,我不知道如何用 Live CD 修复它。

Edit1启动信息脚本的结果http://bootinfoscript.sourceforge.net/

                   Boot Info Script 0.55    dated February 15th, 2010                    

============================= Boot Info Summary: ==============================

 => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in 
    partition #256 for /boot/grub.

sda1: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files/dirs:   /bootmgr /Boot/bcd

sda2: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows Vista
    Boot files/dirs:   /bootmgr /Boot/BCD /Windows/System32/winload.exe 
                       /wubildr.mbr /wubildr

sda3: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files/dirs:   /ubuntu/winboot/wubildr.mbr /ubuntu/winboot/wubildr 
                       /ubuntu/disks/root.disk /ubuntu/disks/swap.disk

sda3/Wubi: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  Grub 2
    Boot sector info:  Grub 2 is installed in the boot sector of sda3/Wubi 
                       and looks at sector 21294336 of the same hard drive 
                       for core.img, but core.img can not be found at this 
                       location.
    Mounting failed:
mount: wrong fs type, bad option, bad superblock on /dev/loop1,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so


=========================== Drive/Partition Info: =============================

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot         Start           End          Size  Id System

/dev/sda1                  63    24,563,384    24,563,322  27 Hidden HPFS/NTFS
/dev/sda2    *     24,563,712   256,700,415   232,136,704   6 FAT16
/dev/sda3         256,700,416   488,394,751   231,694,336   7 HPFS/NTFS


blkid -c /dev/null: ____________________________________________________________

Device           UUID                                   TYPE       LABEL                         

/dev/loop0                                              squashfs                                 
/dev/loop1       c0de1566-8c76-4392-ac90-9f026a82f928   ext4                                     
/dev/sda1        443C1D3EE49BED2A                       ntfs       PQSERVICE                     
/dev/sda2        B898B25F98B21BB6                       ntfs       ACER                          
/dev/sda3        A4202E96202E6F8A                       ntfs       DATA                          
/dev/sda: PTTYPE="dos" 

============================ "mount | grep ^/dev  output: ===========================

Device           Mount_Point              Type       Options

aufs             /                        aufs       (rw)
/dev/sr0         /cdrom                   iso9660    (ro,noatime)
/dev/loop0       /rofs                    squashfs   (ro,noatime)
Run Code Online (Sandbox Code Playgroud)

Wes*_*Wes 2

http://ubuntuforums.org/showthread.php?t=1639198按照该页面上的说明我能够安装 lilo。

Lilo 给了我两个选择 ubuntu 和 windows。Windows 直接运行,选择 ubuntu 会将我带到 grub,它允许我启动 ubuntu。

是的,grub 会发出有关无效背景颜色的警告,但至少我的机器可用(或像以前一样可用)。