升级到 12.04 后启动时无 GRUB 屏幕或恢复模式

升级到 12.04 后启动时无 GRUB 屏幕或恢复模式

我尝试了实时启动 CD 和启动修复,还加载了桌面安装 CD,看起来所有分区都检查无误。但是,当我尝试启动 Linux(计算机上唯一可启动的分区)时,屏幕一片空白。

屏幕上不时出现类似以下内容的信息:假设通过缓存写入,请求缓存数据失败

它似乎开始启动,然后挂起。 Ctrl++Alt关闭Delete机器

启动过程中的最后一条消息是“启动 TiMidity++ ALSA midi 仿真... [OK]”

我使用 boot-repair 生成了一份启动信息报告。有一件事对我来说很奇怪——它报告 /dev/sda1 上缺少 core.img。以下是完整信息:

Boot Info Script 0.61.full + Boot-Repair extra info      [Boot-Info August 2nd 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 
    for (,msdos1)/boot/grub on this drive.
 => Windows is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  Grub2 (v1.99)
    Boot sector info:  Grub2 (v1.99) is installed in the boot sector of sda1 
                       and looks at sector 18406911 of the same hard drive 
                       for core.img, but core.img can not be found at this 
                       location.
    Operating System:  Ubuntu 12.04.1 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab 
                       /boot/extlinux/extlinux.conf /boot/grub/core.img

sda2: __________________________________________________________________________

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

sda5: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sdb1: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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    *             63   307,339,514   307,339,452  83 Linux
/dev/sda2         307,339,515   312,576,704     5,237,190   5 Extended
/dev/sda5         307,339,578   312,576,704     5,237,127  82 Linux swap / Solaris


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 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/sdb1               2,048   625,142,447   625,140,400   7 NTFS / exFAT / HPFS


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        11b4d633-7863-40b2-a6ca-da5f82c3ad0b   ext4       
/dev/sda5        cb8d65f4-8cf9-4088-b804-e3dea2151033   swap       
/dev/sdb1        349E7C109E7BC8BE                       ntfs       Personal1

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

Device           Mount_Point              Type       Options

/dev/sdb1        /media/Personal1         fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sr0         /live/image              iso9660    (ro,noatime)

...(a bunch of config file info- let me know if anyone wants to see it!)

但通常我只会看到“无法显示此视频模式”,我知道这意味着显示器无法使用该视频输出。

我正在寻找进入恢复模式的方法。我真的很想避免擦除驱动器。

有什么想法吗?

答案1

在启动期间按下Shift,将会显示 grub 菜单。

答案2

您还可以尝试安装 Grub Customizer 并根据需要对 Grub 进行更改。但是,请谨慎行事。Grub Customzier 是一款舒适的 GUI 工具,可让您更改 Grub 菜单、项目顺序、是否显示以及如何显示等等。

安装:

sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer

您可以在以下文章中找到有关 Grub Customizer 的更多信息:

如何更改 GRUB 启动顺序?

希望有帮助!

相关内容