我刚刚安装了 Ubuntu。这是一条漫长而痛苦的道路,因为我犯了所有可能的错误。最后,事情开始好转。当我打开电脑时,我会看到启动菜单。Ubuntu 可以运行,但 Windows 不行。
如果我尝试选择 Windows,它会变成黑屏,然后返回启动菜单。
我认为问题在于启动菜单试图打开 Windows dev/sda1
,但实际上 Windows 处于 状态dev/sda2
。这导致黑屏持续约五秒钟,然后我回到启动菜单!请帮忙!我很想保留 Ubuntu,但我需要访问 Windows。
以下是我得到的完整启动信息日志:
============================= 启动信息摘要: =================================
=> Lilo 安装在 的 MBR 中/dev/sda
。
sda1:______________________________________________________________________
File system: ntfs
Boot sector type: Grub2 (v1.99)
Boot sector info: Grub2 (v1.99) is installed in the boot sector of sda1
and looks at sector 781374472 of the same hard drive
for core.img. core.img is at this location and looks
for (,msdos5)/boot/grub on this drive. 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: Extended Partition
Boot sector type: -
Boot sector info:
sda5:______________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 11.10
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda6:________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
============================== 驱动器/分区信息: ===============================
驱动器:sda ___________________________________________________________________________________
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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 206,847 204,800 7 NTFS / exFAT / HPFS
/dev/sda2 206,848 695,974,276 695,767,429 7 NTFS / exFAT / HPFS
/dev/sda3 695,975,934 976,771,071 280,795,138 5 Extended
/dev/sda5 695,975,936 968,652,799 272,676,864 83 Linux
/dev/sda6 968,654,848 976,771,071 8,116,224 82 Linux swap / Solaris
“blkid” 输出:________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 907251C67251B1A8 ntfs System Reserved
/dev/sda2 60EC5404EC53D2C0 ntfs
/dev/sda5 cb187c79-003c-4187-a465-a65086a232e0 ext4
/dev/sda6 34f6876e-7e0e-4c27-aef7-54250c4fdea7 swap
=================================== 挂载点: ==================================
Device Mount_Point Type Options
/dev/sda5 / ext4 (rw,errors=remount-ro,commit=0)
============================ sda5/boot/grub/grub.cfg
: ============================
答案1
我最近也遇到了 GRUB 问题。这是我的帖子:https://askubuntu.com/questions/119597/grub-rescue-error-unknown-filesystem/119661#119661。
启动 Ubuntu。下载并运行启动修复修复您的问题。选择“推荐修复(修复最常见的问题)”选项。
实际上,您似乎有 Lilo,因此此解决方案可能不适合您。您可以选择用 GRUB 替换 Lilo,因为 GRUB 是最流行的引导加载程序。