我已经使用我的 PC 设置大约 2 年了,直到今天都没有问题。我想是我的 Windows 10 Microsoft 保留分区出了问题,我在 grub 菜单中再也看不到 Windows 10 了。
输出如下boot-repair
:https://paste.ubuntu.com/26321154/
下面是fdisk -l
:
Disk /dev/sda: 223,6 GiB, 240057409536 bytes, 468862128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 6FD155B8-D20F-463D-8116-B6493AAA06AD
Device Start End Sectors Size Type
/dev/sda1 2048 923647 921600 450M Windows recovery environment
/dev/sda2 923648 1126399 202752 99M EFI System
/dev/sda3 1126400 1159167 32768 16M Microsoft reserved
/dev/sda4 1159168 381104321 379945154 181,2G Microsoft basic data
/dev/sda5 381106176 382840831 1734656 847M Windows recovery environment
/dev/sda6 382842880 468860927 86018048 41G Linux filesystem
Disk /dev/sdb: 1,8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x3dc2dafb
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
/dev/sdb2 206848 839272447 839065600 400,1G 7 HPFS/NTFS/exFAT
/dev/sdb3 839272448 2517198847 1677926400 800,1G 7 HPFS/NTFS/exFAT
/dev/sdb4 2517200894 3907028991 1389828098 662,7G f W95 Ext'd (LBA)
/dev/sdb5 2517200896 3456466943 939266048 447,9G 7 HPFS/NTFS/exFAT
/dev/sdb6 3702228992 3878008288 175779297 83,8G 83 Linux
/dev/sdb7 3878010880 3907028991 29018112 13,9G 82 Linux swap / Solaris
/dev/sdb8 3456468992 3702226943 245757952 117,2G 83 Linux
Partition 4 does not start on physical sector boundary.
Partition table entries are not in disk order.
这里的情况有点复杂,因为我有很多文件系统分布在 2 个 HDD 上,所以让我解释一下:
/dev/sda
代表我的 SSD 驱动器。是sda6
我目前使用的 ubuntu 16.04 - 它可以工作。我相信,它在 grub 中不可见。sda3
windows 10 MBR
/dev/sdb
是我的旧硬盘。它安装了 ubuntu 14.04 和 windows 7... 只是因为我很懒,从来没有摆脱它们。所以dev/sdb
也安装了 grub。
以下是我当前在(sda6)上的 grub 选项:
Ubuntu
Ubuntu, with Linux 4.4.0-104-generic
Ubuntu, with Linux 4.4.0-104-generic (upstart)
Ubuntu, with Linux 4.4.0-104-generic (recovery mode)
Ubuntu, with Linux 4.4.0-103-generic
Ubuntu, with Linux 4.4.0-103-generic (upstart)
Ubuntu, with Linux 4.4.0-103-generic (recovery mode)
Memory test (memtest86+)
Memory test (memtest86+, serial console 115200)
Windows 7 (loader) (on /dev/sdb1)
Ubuntu 14.04.5 LTS (14.04) (on /dev/sdb6)
Ubuntu (on /dev/sdb6)
Ubuntu, with Linux 3.13.0-63-generic (on /dev/sdb6)
Ubuntu, with Linux 3.13.0-63-generic (recovery mode) (on /dev/sdb6)
Ubuntu, with Linux 3.13.0-62-generic (on /dev/sdb6)
Ubuntu, with Linux 3.13.0-62-generic (recovery mode) (on /dev/sdb6)
Ubuntu, with Linux 3.13.0-57-generic (on /dev/sdb6)
Ubuntu, with Linux 3.13.0-57-generic (recovery mode) (on /dev/sdb6)
Ubuntu, with Linux 3.13.0-48-generic (on /dev/sdb6)
Ubuntu, with Linux 3.13.0-48-generic (recovery mode) (on /dev/sdb6)
Ubuntu, with Linux 3.13.0-45-generic (on /dev/sdb6)
Ubuntu, with Linux 3.13.0-45-generic (recovery mode) (on /dev/sdb6)
Ubuntu, with Linux 3.13.0-39-generic (on /dev/sdb6)
Ubuntu, with Linux 3.13.0-39-generic (recovery mode) (on /dev/sdb6)
以下是旧的选项Ubuntu 14.04 on sdb
:
Ubuntu
Ubuntu, with Linux 3.13.0-63-generic
Ubuntu, with Linux 3.13.0-63-generic (recovery mode)
Ubuntu, with Linux 3.13.0-62-generic
Ubuntu, with Linux 3.13.0-62-generic (recovery mode)
Ubuntu, with Linux 3.13.0-57-generic
Ubuntu, with Linux 3.13.0-57-generic (recovery mode)
Ubuntu, with Linux 3.13.0-48-generic
Ubuntu, with Linux 3.13.0-48-generic (recovery mode)
Ubuntu, with Linux 3.13.0-45-generic
Ubuntu, with Linux 3.13.0-45-generic (recovery mode)
Ubuntu, with Linux 3.13.0-39-generic
Ubuntu, with Linux 3.13.0-39-generic (recovery mode)
Memory test (memtest86+)
Memory test (memtest86+, serial console 115200)
Ubuntu 16.04.3 LTS (16.04) (on /dev/sda6)
Ubuntu (on /dev/sda6)
Ubuntu, with Linux 4.4.0-104-generic (on /dev/sda6)
Ubuntu, with Linux 4.4.0-104-generic (upstart) (on /dev/sda6)
Ubuntu, with Linux 4.4.0-104-generic (recovery mode) (on /dev/sda6)
Ubuntu, with Linux 4.4.0-103-generic (on /dev/sda6)
Ubuntu, with Linux 4.4.0-103-generic (upstart) (on /dev/sda6)
Ubuntu, with Linux 4.4.0-103-generic (recovery mode) (on /dev/sda6)
Windows 7 (loader) (on /dev/sdb1)
Windows 7 (loader) (on /dev/sdc1)
sdb
因此,虽然 sda 驱动器在 EFI BIOS 中设置为主启动选项,但GRUB 似乎是从我在系统启动时实际看到的那些选项启动的……断开sdb
硬盘连接后,我看不到 grub 菜单,也没有启动任何东西
有什么办法可以使我的 Windows 10 恢复正常吗?