poloshiao 写了: ↑2018-09-23 13:43
1. 你可以登入 Ubuntu 使用 指令
1-1. sudo efibootmgr -v
1-2. sudo parted -l print
1-3. sudo ls -al /dev/disk/by-uuid/*
1-4. sudo ls -al /dev/disk/by-partuuid/*
1-5. sudo /etc/grub.d/30_os-prober
把指令及結果全部直接 選取/複製/貼上來
➜ ~ sudo efibootmgr -v
[sudo] hnyczhj 的密码:
BootCurrent: 0006
Timeout: 2 seconds
BootOrder: 0006,001A,0000,001B,0009,001C,001D,0017,0018,0019,001E
Boot0000* Windows Boot Manager HD(1,GPT,036c4d11-73e9-471d-b746-ba4158476799,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...a................
Boot0001 MEBx Hot Key FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
Boot0002 Startup Interrupt Menu FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
Boot0003 Rescue and Recovery FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
Boot0004 Boot Menu FvFile(126a762d-5758-4fca-8531-201a7f57f850)
Boot0005 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0006* ubuntu HD(2,GPT,8e10acff-aced-4f7e-b797-48ccc0e08861,0xfa000,0x32000)/File(\EFI\ubuntu\shimx64.efi)
Boot0007 Diagnostic Splash Screen FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0008 Lenovo Diagnostics FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)
Boot0009* rEFInd Boot Manager HD(2,GPT,8e10acff-aced-4f7e-b797-48ccc0e08861,0xfa000,0x32000)/File(\EFI\refind\refind_x64.efi)
Boot0017* USB CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot0018* USB FDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0019* ATAPI CD1 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35404)
Boot001A* ATA HDD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f601)
Boot001B* ATA HDD1 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
Boot001C* ATA HDD2 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f602)
Boot001D* USB HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot001E* PCI LAN VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
➜ ~ sudo parted -l print
Model: ATA Netac SSD 120GB (scsi)
磁盘 /dev/sda: 120GB
Sector size (logical/physical): 512B/512B
分区表:gpt
Disk Flags:
数字 开始: End 大小 文件系统 Name 标志
1 1049kB 106MB 105MB fat32 EFI system partition 启动, esp
2 106MB 240MB 134MB Microsoft reserved partition msftres
3 240MB 120GB 120GB ntfs Basic data partition msftdata
Model: ATA CT250MX500SSD1 (scsi)
磁盘 /dev/sdb: 250GB
Sector size (logical/physical): 512B/512B
分区表:gpt
Disk Flags:
数字 开始: End 大小 文件系统 Name 标志
1 1049kB 524MB 523MB ntfs Basic data partition 隐藏分区, diag
2 524MB 629MB 105MB fat32 EFI system partition 启动, esp
3 629MB 646MB 16.8MB Microsoft reserved partition msftres
4 646MB 250GB 249GB ntfs Basic data partition msftdata
Model: ATA TOSHIBA-TR200 (scsi)
磁盘 /dev/sdc: 480GB
Sector size (logical/physical): 512B/512B
分区表:gpt
Disk Flags:
数字 开始: End 大小 文件系统 Name 标志
1 17.4kB 134MB 134MB Microsoft reserved partition msftres
2 135MB 373GB 373GB ntfs Basic data partition msftdata
3 373GB 373GB 538MB fat32 EFI System Partition 启动, esp
4 373GB 480GB 107GB ext4
➜ ~ sudo ls -al /dev/disk/by-uuid/*
lrwxrwxrwx 1 root root 10 9月 23 13:56 /dev/disk/by-uuid/2C1292E61292B474 -> ../../sdc2
lrwxrwxrwx 1 root root 10 9月 23 13:56 /dev/disk/by-uuid/408CCEDB8CCECB1C -> ../../sdb1
lrwxrwxrwx 1 root root 10 9月 23 13:56 /dev/disk/by-uuid/54C2F22BC2F2114A -> ../../sdb4
lrwxrwxrwx 1 root root 10 9月 23 13:56 /dev/disk/by-uuid/64D0-4A42 -> ../../sdb2
lrwxrwxrwx 1 root root 10 9月 23 13:56 /dev/disk/by-uuid/7c912fcd-92ab-4a93-9c81-255c29880f3e -> ../../sdc4
lrwxrwxrwx 1 root root 10 9月 23 13:56 /dev/disk/by-uuid/A6CE-A165 -> ../../sda1
lrwxrwxrwx 1 root root 10 9月 23 13:56 /dev/disk/by-uuid/CCE9-3821 -> ../../sdc3
lrwxrwxrwx 1 root root 10 9月 23 13:56 /dev/disk/by-uuid/DE14D28A14D26555 -> ../../sda3
➜ ~ sudo ls -al /dev/disk/by-partuuid/*
lrwxrwxrwx 1 root root 10 9月 23 13:56 /dev/disk/by-partuuid/036c4d11-73e9-471d-b746-ba4158476799 -> ../../sda1
lrwxrwxrwx 1 root root 10 9月 23 13:56 /dev/disk/by-partuuid/0b76b5e8-813a-4884-9ceb-0faedc0b6a3e -> ../../sda2
lrwxrwxrwx 1 root root 10 9月 23 13:56 /dev/disk/by-partuuid/5c36ccd6-ad81-42fd-8ca1-64bf96e72889 -> ../../sda3
lrwxrwxrwx 1 root root 10 9月 23 13:56 /dev/disk/by-partuuid/68a647e8-022d-4ee3-9561-fce95f3bf12e -> ../../sdc1
lrwxrwxrwx 1 root root 10 9月 23 13:56 /dev/disk/by-partuuid/72d85bfb-b04a-4d70-8667-d21c8ffd122c -> ../../sdb1
lrwxrwxrwx 1 root root 10 9月 23 13:56 /dev/disk/by-partuuid/818d659b-e986-4893-8706-dbc1b25d8a8d -> ../../sdb3
lrwxrwxrwx 1 root root 10 9月 23 13:56 /dev/disk/by-partuuid/8e10acff-aced-4f7e-b797-48ccc0e08861 -> ../../sdb2
lrwxrwxrwx 1 root root 10 9月 23 13:56 /dev/disk/by-partuuid/a5934aaa-a51b-4607-8506-a5f936172b54 -> ../../sdc2
lrwxrwxrwx 1 root root 10 9月 23 13:56 /dev/disk/by-partuuid/c290ed87-6335-4206-99be-933eed84da34 -> ../../sdb4
lrwxrwxrwx 1 root root 10 9月 23 13:56 /dev/disk/by-partuuid/c5a95629-5652-4fce-96f7-1a8749d16343 -> ../../sdc4
lrwxrwxrwx 1 root root 10 9月 23 13:56 /dev/disk/by-partuuid/dd1c7965-0306-46fc-b394-6d9376e7ddb6 -> ../../sdc3
➜ ~ sudo /etc/grub.d/30_os-prober
/etc/grub.d/30_os-prober: 28: .: Can't open /grub-mkconfig_lib