![以两种不同方式安装两次后,仍然无法从启动中访问 Ubuntu 12.04 LTS](https://linux22.com/image/1042515/%E4%BB%A5%E4%B8%A4%E7%A7%8D%E4%B8%8D%E5%90%8C%E6%96%B9%E5%BC%8F%E5%AE%89%E8%A3%85%E4%B8%A4%E6%AC%A1%E5%90%8E%EF%BC%8C%E4%BB%8D%E7%84%B6%E6%97%A0%E6%B3%95%E4%BB%8E%E5%90%AF%E5%8A%A8%E4%B8%AD%E8%AE%BF%E9%97%AE%20Ubuntu%2012.04%20LTS.png)
我已经花了将近 20 多个小时来尝试解决我的问题,但似乎仍然无法找到解决方案。如果有人有什么建议,请告诉我!另外,在多次切换操作系统之后,我不会回到 Linux 环境来修复问题,直到我更好地了解我正在处理的问题。提前感谢你们帮助我找到解决方案!
在尝试了在 Windows 7 下作为程序安装的 Ubuntu 12.04 LTS 之后,我决定为该操作系统分配一些驱动程序空间,以便将其实际安装在我的计算机上,这样它就可以自行运行,而不是在 Windows 7 下运行。
在安装 Ubuntu 之前,我通过将 C: 盘缩小 100 GB 来为操作系统分配空间,我将在该盘安装 Ubuntu。
我选择了“与 Windows 7 一起安装”选项,安装了 Ubuntu,没有任何问题。但是当我重新启动计算机时,它立即加载了 Windows 7,没有显示启动菜单。我再次重新启动,菜单再次没有出现。所以我想也许我安装不正确,所以我再次安装了它。
当我安装 Ubuntu 时,这次我选择了安装选项中的最后一个选项。这会让我看到一个窗口,其中显示了我将要安装 Ubuntu 的所有 /dev/sda 选项。现在让我感到困惑的是,我分配的 100 GB 空间称为 dev/sda5 ext 4。有一个可用空间选项,但只有 20 GB。由于 100gb /dev/sda5 ext 4 选项似乎是放置 Ubuntu 的合适位置,因此我选择在此处安装。
安装后,我重新启动计算机,它再次立即启动 Windows 7,没有启动菜单指定我可以选择哪个操作系统。
我在 Windows 的磁盘管理下检查了一下,我在 Windows 下为 Ubuntu 分配的空间仍然显示 100 GB 未分配。难道不应该显示其他内容吗?或者这是正常的,还是我做错了什么?
如果有任何关于如何解决此问题的建议,我将非常感激!
下面我将发布运行启动信息脚本的结果:
Boot Info Script 0.61 July 19 2013
============================= 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 (,msdos4)/boot/grub on this drive.
=> Windows is installed in the MBR of /dev/sdb.
=> Grub2 (v1.99) is installed in the MBR of
/dev/mapper/isw_cgcfhffaff_XW133CE29743 and looks at sector 1 of the same
hard drive for core.img. core.img is at this location and looks for
(,msdos4)/boot/grub on this drive.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: Dell Utility: FAT16
Boot sector info: No errors found in the Boot Parameter Block.
Mounting failed: mount: /dev/sda1 already mounted or sda1 busy
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Mounting failed: mount: /dev/sda1 already mounted or sda1 busy
fuse: mount failed: Device or resource busy
fuse: mount failed: Device or resource busy
sda3: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Mounting failed: mount: /dev/sda1 already mounted or sda1 busy
fuse: mount failed: Device or resource busy
fuse: mount failed: Device or resource busy
fuse: mount failed: Device or resource busy
fuse: mount failed: Device or resource busy
sda4: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Mounting failed: mount: /dev/sda1 already mounted or sda1 busy
fuse: mount failed: Device or resource busy
fuse: mount failed: Device or resource busy
fuse: mount failed: Device or resource busy
fuse: mount failed: Device or resource busy
mount: /dev/sda4 already mounted or sda4 busy
sdb1: __________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
Mounting failed: mount: /dev/sda1 already mounted or sda1 busy
fuse: mount failed: Device or resource busy
fuse: mount failed: Device or resource busy
fuse: mount failed: Device or resource busy
fuse: mount failed: Device or resource busy
mount: /dev/sda4 already mounted or sda4 busy
mount: unknown filesystem type ''
isw_cgcfhffaff_XW133CE297431: __________________________________________________
File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: /dev/sda1 already mounted or sda1 busy
fuse: mount failed: Device or resource busy
fuse: mount failed: Device or resource busy
fuse: mount failed: Device or resource busy
fuse: mount failed: Device or resource busy
mount: /dev/sda4 already mounted or sda4 busy
mount: unknown filesystem type ''
mount: unknown filesystem type ''
isw_cgcfhffaff_XW133CE297432: __________________________________________________
File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: /dev/sda1 already mounted or sda1 busy
fuse: mount failed: Device or resource busy
fuse: mount failed: Device or resource busy
fuse: mount failed: Device or resource busy
fuse: mount failed: Device or resource busy
mount: /dev/sda4 already mounted or sda4 busy
mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''
isw_cgcfhffaff_XW133CE297433: __________________________________________________
File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: /dev/sda1 already mounted or sda1 busy
fuse: mount failed: Device or resource busy
fuse: mount failed: Device or resource busy
fuse: mount failed: Device or resource busy
fuse: mount failed: Device or resource busy
mount: /dev/sda4 already mounted or sda4 busy
mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''
isw_cgcfhffaff_XW133CE297434: __________________________________________________
File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: /dev/sda1 already mounted or sda1 busy
fuse: mount failed: Device or resource busy
fuse: mount failed: Device or resource busy
fuse: mount failed: Device or resource busy
fuse: mount failed: Device or resource busy
mount: /dev/sda4 already mounted or sda4 busy
mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 63 80,324 80,262 de Dell Utility
/dev/sda2 * 81,920 41,627,647 41,545,728 7 NTFS / exFAT / HPFS
/dev/sda3 41,627,648 1,748,717,567 1,707,089,920 7 NTFS / exFAT / HPFS
/dev/sda4 1,748,717,568 1,953,523,711 204,806,144 83 Linux
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 32.0 GB, 32017047552 bytes
255 heads, 63 sectors/track, 3892 cylinders, total 62533296 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 16,775,167 16,773,120 84 OS/2 hidden C: drive
Drive: isw_cgcfhffaff_XW133CE29743 _____________________________________________________________________
Disk /dev/mapper/isw_cgcfhffaff_XW133CE29743: 1000.2 GB, 1000202698752 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953520896 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/mapper/isw_cgcfhffaff_XW133CE297431 63 80,324 80,262 de Dell Utility
/dev/mapper/isw_cgcfhffaff_XW133CE297432 * 81,920 41,627,647 41,545,728 7 NTFS / exFAT / HPFS
/dev/mapper/isw_cgcfhffaff_XW133CE297433 41,627,648 1,748,717,567 1,707,089,920 7 NTFS / exFAT / HPFS
/dev/mapper/isw_cgcfhffaff_XW133CE297434 1,748,717,568 1,953,523,711 204,806,144 83 Linux
/dev/mapper/isw_cgcfhffaff_XW133CE297434 ends after the last sector of /dev/mapper/isw_cgcfhffaff_XW133CE29743
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 5450-4444 vfat DellUtility
/dev/sda2 60F237A5F2377DFA ntfs RECOVERY
/dev/sda3 D2043A90043A7795 ntfs OS
/dev/sda4 1d8c79d0-2d5c-4313-bc82-d42171717622 ext4
/dev/sr0 iso9660 Ubuntu 12.04.2 LTS amd64
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sr0 /cdrom iso9660 (ro,noatime)
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown BootLoader on isw_cgcfhffaff_XW133CE297431
Unknown BootLoader on isw_cgcfhffaff_XW133CE297432
Unknown BootLoader on isw_cgcfhffaff_XW133CE297433
Unknown BootLoader on isw_cgcfhffaff_XW133CE297434
========= Devices which don't seem to have a corresponding hard drive: =========
sdc
=============================== StdErr Messages: ===============================
ERROR: dos: partition address past end of RAID device
xz: (stdin): Compressed data is corrupt
xz: (stdin): Compressed data is corrupt
hexdump: /dev/mapper/isw_cgcfhffaff_XW133CE297431: No such file or directory
hexdump: /dev/mapper/isw_cgcfhffaff_XW133CE297431: No such file or directory
hexdump: /dev/mapper/isw_cgcfhffaff_XW133CE297432: No such file or directory
hexdump: /dev/mapper/isw_cgcfhffaff_XW133CE297432: No such file or directory
hexdump: /dev/mapper/isw_cgcfhffaff_XW133CE297433: No such file or directory
hexdump: /dev/mapper/isw_cgcfhffaff_XW133CE297433: No such file or directory
hexdump: /dev/mapper/isw_cgcfhffaff_XW133CE297434: No such file or directory
hexdump: /dev/mapper/isw_cgcfhffaff_XW133CE297434: No such file or directory
ERROR: dos: partition address past end of RAID device
答案1
这可能会有所帮助。您需要在计算机启动时一直按住键盘上的 SHIFT 键。如果 grub 安装正确,这将直接进入您的 GRUB 屏幕。