首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >没有这样的分区grub救援-在windows升级之后

没有这样的分区grub救援-在windows升级之后
EN

Ask Ubuntu用户
提问于 2015-08-22 11:26:32
回答 1查看 262关注 0票数 0

我的笔记本电脑上安装了Windows7和Ubuntu14.04。

Windows需要更新,但由于出现错误而失败。

我的笔记本电脑有一个还原到工厂安装选项,我尝试过。这也出了问题。现在,当我启动时,我会得到“没有这样的分区grub救援”。

下面是一个引导记录的输出(据我所知,这将显示出您需要帮助我解决问题)。

注意:我已经从USB键启动了。预先感谢您的任何帮助/建议。

代码语言:javascript
复制
                   Boot Info Script 0.61      [1 April 2012]


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

 => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    in partition 112 for .
 => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sda5: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   mount: unknown filesystem type ''

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 4.05 20140113
    Boot sector info:  Syslinux looks at sector 511 of /dev/sdb1 for its 
                       second stage. SYSLINUX is installed in the  directory. 
                       The integrity check of the ADV area failed. No errors 
                       found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux/syslinux.cfg 
                       /efi/BOOT/grubx64.efi /ldlinux.sys

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048       821,247       819,200  27 Hidden NTFS (Recovery Environment)
/dev/sda2             821,248    62,261,247    61,440,000   7 NTFS / exFAT / HPFS
/dev/sda3          62,261,248    82,741,247    20,480,000   7 NTFS / exFAT / HPFS
/dev/sda4          82,743,294   625,141,759   542,398,466   5 Extended
/dev/sda5         609,517,568   625,141,759    15,624,192  82 Linux swap / Solaris


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 2000 MB, 2000683008 bytes
64 heads, 47 sectors/track, 1299 cylinders, total 3907584 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *          3,616     3,907,583     3,903,968   6 FAT16


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        EAC60D4BC60D1989                       ntfs       SYSTEM
/dev/sda2        CE1810AF18109893                       ntfs       WINDOWS
/dev/sda3        38EE9AC7EE9A7D36                       ntfs       Data
/dev/sdb1        30EE-D219                              vfat       

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sdb1        /cdrom                   vfat       (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


=========================== sdb1/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------

if loadfont /boot/grub/font.pf2 ; then
    set gfxmode=auto
    insmod efi_gop
    insmod efi_uga
    insmod gfxterm
    terminal_output gfxterm
fi

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray

menuentry "Try Ubuntu without installing" {
    set gfxpayload=keep
    linux   /casper/vmlinuz.efi  file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
    initrd  /casper/initrd.lz
}
menuentry "Install Ubuntu" {
    set gfxpayload=keep
    linux   /casper/vmlinuz.efi  file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash --
    initrd  /casper/initrd.lz
}
menuentry "OEM install (for manufacturers)" {
    set gfxpayload=keep
    linux   /casper/vmlinuz.efi  file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true --
    initrd  /casper/initrd.lz
}
menuentry "Check disc for defects" {
    set gfxpayload=keep
    linux   /casper/vmlinuz.efi  boot=casper integrity-check quiet splash --
    initrd  /casper/initrd.lz
}
--------------------------------------------------------------------------------

========================= sdb1/syslinux/syslinux.cfg: ==========================

--------------------------------------------------------------------------------
# D-I config version 2.0
include menu.cfg
default vesamenu.c32
prompt 0
timeout 50
ui gfxboot bootlogo
--------------------------------------------------------------------------------

=================== sdb1: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)


================= sdb1: Location of files loaded by Syslinux: ==================

           GiB - GB             File                                 Fragment(s)


============== sdb1: Version of COM32(R) files used by Syslinux: ===============

 syslinux/chain.c32                 :  COM32R module (v4.xx)
 syslinux/gfxboot.c32               :  COM32R module (v4.xx)
 syslinux/vesamenu.c32              :  COM32R module (v4.xx)

=============================== StdErr Messages: ===============================

./bootinfoscript: line 1646: [: 2.73495e+09: integer expression expected
cat: /tmp/BootInfo-BPZQv9Hh/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-BPZQv9Hh/Tmp_Log: No such file or directory
  No volume groups found
EN

回答 1

Ask Ubuntu用户

发布于 2015-08-22 11:37:51

有一行表示包含Linux的分区可能存在问题:

代码语言:javascript
复制
Mounting failed:   mount: unknown filesystem type ''

您可以尝试挂载它,然后重新安装GRUB。如果/dev/sda5确实是您的Linux分区(或者如果您有一个/boot分区,则使用该分区),那么在活动介质中打开一个终端并尝试以下*:

代码语言:javascript
复制
sudo mount /dev/sda5 /mnt
sudo grub-install --boot-directory=/mnt/boot /dev/sda

现在重新启动时,您应该没有任何问题地获得Ubuntu。如果发现由于没有启动菜单而无法启动Windows,则从终端中的启动Ubuntu运行

代码语言:javascript
复制
sudo update-grub

这将检测Windows引导程序,并向GRUB引导菜单添加相应的条目。

  • 如果分区未能挂载,就会以某种方式损坏它,可能需要重新安装Linux。
票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/664492

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档