我已经用debian buster和Windows 10进行了双重启动,但是无法将Windows放入grub菜单中,所以我可以在bios菜单中在两者之间切换。
我已经尝试过sudo os-prober
,sudo update-grub
并在/etc/grub.d/40_custom
中添加以下行:
menuentry "Windows 10" {
search --no-floppy --fs-uuid --set E60D-0507
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
sudo fdisk -l
:
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: ST1000DM010-2EP1
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: gpt
Disk identifier: 2F05B719-B600-4648-AF99-7F0C35315550
Disk /dev/sdb: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Disk model: Corsair Force LE
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: dos
Disk identifier: 0x0e72b260
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 234440703 234438656 111.8G 83 Linux
Disk /dev/sdc: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Disk model: CT500MX500SSD4
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: AED57927-A1AF-4E82-A278-49F87BDD49F1
Device Start End Sectors Size Type
/dev/sdc1 2048 1023999 1021952 499M Windows recovery environment
/dev/sdc2 1024000 1226751 202752 99M EFI System
/dev/sdc3 1226752 1259519 32768 16M Microsoft reserved
/dev/sdc4 1259520 976773119 975513600 465.2G Microsoft basic data
sudo blkid
:
/dev/sda: PTUUID="2f05b719-b600-4648-af99-7f0c35315550" PTTYPE="gpt"
/dev/sdb1: UUID="368b1e36-c7b1-457d-936e-46a932a4ad4e" TYPE="ext4" PARTUUID="0e72b260-01"
/dev/sdc1: LABEL="RM-CM-)cupM-CM-)ration" UUID="76EA09E8EA09A609" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="2396f166-f311-4c9e-94be-dc3bf6526b2a"
/dev/sdc2: UUID="E60D-0507" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="c5d25f33-078e-44ba-9f07-736fdd6a1846"
/dev/sdc3: PARTLABEL="Microsoft reserved partition" PARTUUID="1cda9bc2-e7bb-4f5a-81e9-9c7233277b6e"
/dev/sdc4: UUID="365643795643393F" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="78bd9889-9e0e-437b-800e-66f67f29b662"