Tout d'abord, merci pour toutes ces réponses précises.
@lucmars : la partition n'est pas monté en /boot/efi et Disk ne peut pas le modifier. Je comprends pourquoi grâce au tuto de ikewdu.
@malbo : je vais suivre le conseil
@ikewdu : super tuto, je comprends pourquoi j'ai le boot sur l'autre SSD. Comme je veux garder le GNU Grub pour choisir mon OS au démarrage, je ne ferais pas le choix des systèmes indépendants.
J'ai juste fait une partie du tuto pour créer un /boot/efi sur le ssd nvme1 (ubuntu). Je ne sais pas si c'est vraiment utile.
Mon boot-info après modif :
boot-info-4ppa125 [20201117_1744]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/nvme0n1.
=> No boot loader is installed in the MBR of /dev/nvme1n1.
nvme0n1p1: _____________________________________________________________________
File system: vfat
Boot sector type: Windows 8/2012: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/Boot/bootx64.efi /efi/Boot/fbx64.efi
/efi/Boot/mmx64.efi /efi/ubuntu/grubx64.efi
/efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi
/efi/ubuntu/grub.cfg /efi/Microsoft/Boot/bootmgfw.efi
/efi/Microsoft/Boot/bootmgr.efi
/efi/Microsoft/Boot/memtest.efi
nvme0n1p2: _____________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
nvme0n1p3: _____________________________________________________________________
File system: BitLocker
Boot sector type: Unknown
Boot sector info:
nvme0n1p4: _____________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
nvme1n1p1: _____________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi
/efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
/efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg
nvme1n1p2: _____________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 20.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
nvme1n1p3: _____________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
================================ 1 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 20.04.1 LTS CurrentSession on nvme1n1p2
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-42-generic root=UUID=178b4992-a20d-4fcd-9002-ae4b29ecef81 ro quiet splash vt.handoff=7
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot enabled.
efibootmgr -v
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0002,0000,0001,0003,0004
Boot0000* Windows Boot Manager HD(1,GPT,e1e9cf87-0eb5-450c-8ea4-9f4bbde35b0c,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.}...3................
Boot0001* UEFI:CD/DVD Drive BBS(129,,0x0)
Boot0002* ubuntu HD(1,GPT,b721ed26-8a63-4a02-b866-54559a763012,0x800,0x5e800)/File(\EFI\ubuntu\shimx64.efi)
Boot0003* UEFI:Removable Device BBS(130,,0x0)
Boot0004* UEFI:Network Device BBS(131,,0x0)
bed45d1c9554cea09924d3814cb7c446 nvme1n1p1/BOOT/fbx64.efi
4487628005555bfd4a4c0a47211e0700 nvme1n1p1/BOOT/mmx64.efi
1476c8ed1ce8271aab2fbe89d534cfa4 nvme1n1p1/ubuntu/grubx64.efi
4487628005555bfd4a4c0a47211e0700 nvme1n1p1/ubuntu/mmx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4 nvme1n1p1/ubuntu/shimx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4 nvme1n1p1/BOOT/BOOTX64.efi
f7a57b08bc7c1c85417ae4cea582d1d4 nvme0n1p1/Boot/bootx64.efi
bed45d1c9554cea09924d3814cb7c446 nvme0n1p1/Boot/fbx64.efi
4487628005555bfd4a4c0a47211e0700 nvme0n1p1/Boot/mmx64.efi
1476c8ed1ce8271aab2fbe89d534cfa4 nvme0n1p1/ubuntu/grubx64.efi
4487628005555bfd4a4c0a47211e0700 nvme0n1p1/ubuntu/mmx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4 nvme0n1p1/ubuntu/shimx64.efi
e69be5ddc7c4165e0f3e5ee05d267ec2 nvme0n1p1/Microsoft/Boot/bootmgfw.efi
5a0ceb06ab09d5c2be36b38bcb33617f nvme0n1p1/Microsoft/Boot/bootmgr.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
nvme1n1 : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
nvme0n1 : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, no-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
nvme1n1p2 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, not-far
nvme1n1p1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
nvme1n1p3 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
nvme0n1p1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
nvme0n1p3 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
nvme0n1p4 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
Partitions info (2/3): _________________________________________________________
nvme1n1p2 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
nvme1n1p1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
nvme1n1p3 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p3 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p4 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
nvme1n1p2 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, nvme1n1
nvme1n1p1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, nvme1n1
nvme1n1p3 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, nvme1n1
nvme0n1p1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, nvme0n1
nvme0n1p3 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, nvme0n1
nvme0n1p4 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, nvme0n1
fdisk -l (filtered): ___________________________________________________________
Disk nvme1n1: 476.96 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 680A6147-A832-436C-83F5-1CDF521188B8
Start End Sectors Size Type
nvme1n1p1 2048 389119 387072 189M EFI System
nvme1n1p2 389120 98045951 97656832 46.6G Linux filesystem
nvme1n1p3 98045952 1000214527 902168576 430.2G Linux filesystem
Disk nvme0n1: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 8452F465-6462-453F-AF85-023006A1CBD2
Start End Sectors Size Type
nvme0n1p1 2048 206847 204800 100M EFI System
nvme0n1p2 206848 239615 32768 16M Microsoft reserved
nvme0n1p3 239616 1952474333 1952234718 930.9G Microsoft basic data
nvme0n1p4 1952475136 1953521663 1046528 511M Windows recovery environment
parted -lm (filtered): _________________________________________________________
nvme0n1:1000GB:nvme:512:512:gpt:WDS100T3X0C-00SJG0:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:1000GB:1000GB::Basic data partition:msftdata;
4:1000GB:1000GB:536MB:ntfs::hidden, diag;
nvme1n1:512GB:nvme:512:512:gpt:INTEL SSDPEKNW512G8:;
1:1049kB:199MB:198MB:fat32::boot, esp;
2:199MB:50.2GB:50.0GB:ext4::;
3:50.2GB:512GB:462GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
nvme1n1
├─nvme1n1p1 vfat 0D38-DF1E b721ed26-8a63-4a02-b866-54559a763012
├─nvme1n1p2 ext4 178b4992-a20d-4fcd-9002-ae4b29ecef81 9c46c7a4-9e22-48d6-9a56-bdf22ed0fc60
└─nvme1n1p3 ext4 54142174-792d-4b68-93c5-46798a234e78 acc771e9-afd6-4959-b615-c497ece7686e
nvme0n1
├─nvme0n1p1 vfat D8D6-0C1A e1e9cf87-0eb5-450c-8ea4-9f4bbde35b0c EFI system partition
├─nvme0n1p2 f5017552-eed7-4e99-8d68-07183df308a3 Microsoft reserved partition
├─nvme0n1p3 BitLocker 8b022ce8-8942-471a-8ea0-9c955f87ea6e Basic data partition
└─nvme0n1p4 ntfs 5026A02C26A014CE fcadfee4-1911-4023-b5ca-ca7ff14991f3
df (filtered): _________________________________________________________________
Avail Use% Mounted on
nvme0n1p1 63M 34% /mnt/boot-sav/nvme0n1p1
nvme0n1p4 88.6M 83% /mnt/boot-sav/nvme0n1p4
nvme1n1p2 36G 16% /
nvme1n1p3 400.8G 0% /home
Mount options: __________________________________________________________________
nvme0n1p1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
nvme0n1p4 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
nvme1n1p2 rw,relatime,errors=remount-ro
nvme1n1p3 rw,relatime
=================== nvme0n1p1/efi/ubuntu/grub.cfg (filtered) ===================
search.fs_uuid 178b4992-a20d-4fcd-9002-ae4b29ecef81 root
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
=================== nvme1n1p1/efi/ubuntu/grub.cfg (filtered) ===================
search.fs_uuid 178b4992-a20d-4fcd-9002-ae4b29ecef81 root
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
=================== nvme1n1p2/boot/grub/grub.cfg (filtered) ====================
Ubuntu 178b4992-a20d-4fcd-9002-ae4b29ecef81
Ubuntu, avec Linux 5.4.0-42-generic 178b4992-a20d-4fcd-9002-ae4b29ecef81
Windows Boot Manager (sur nvme0n1p1) osprober-efi-D8D6-0C1A
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
======================== nvme1n1p2/etc/fstab (filtered) ========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme1n1p2 during installation
UUID=178b4992-a20d-4fcd-9002-ae4b29ecef81 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=0D38-DF1E /boot/efi vfat umask=0077 0 1
# /home was on /dev/nvme1n1p3 during installation
UUID=54142174-792d-4b68-93c5-46798a234e78 /home ext4 defaults 0 2
/swapfile none swap sw 0 0
==================== nvme1n1p2/etc/default/grub (filtered) =====================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
================= nvme1n1p2: Location of files loaded by Grub ==================
GiB - GB File Fragment(s)
24,330093384 = 26,124238848 boot/grub/grub.cfg 1
4,641719818 = 4,984008704 boot/vmlinuz 1
4,641719818 = 4,984008704 boot/vmlinuz-5.4.0-42-generic 1
42,824665070 = 45,982633984 boot/initrd.img 5
42,824665070 = 45,982633984 boot/initrd.img-5.4.0-42-generic 5
42,824665070 = 45,982633984 boot/initrd.img.old 5
=================== nvme1n1p2: ls -l /etc/grub.d/ (filtered) ===================
-rwxr-xr-x 1 root root 17123 juil. 31 02:34 10_linux
-rwxr-xr-x 1 root root 42128 juil. 31 02:34 10_linux_zfs
-rwxr-xr-x 1 root root 12894 juil. 31 02:34 20_linux_xen
-rwxr-xr-x 1 root root 12059 juil. 31 02:34 30_os-prober
-rwxr-xr-x 1 root root 1424 juil. 31 02:34 30_uefi-firmware
-rwxr-xr-x 1 root root 214 juil. 31 02:34 40_custom
-rwxr-xr-x 1 root root 216 juil. 31 02:34 41_custom
======================== Unknown MBRs/Boot Sectors/etc =========================
/dev/nvme0n1p1: unknown GPT attributes
8000000000000000
/dev/nvme0n1p2: unknown GPT attributes
8000000000000000
/dev/nvme0n1p4: unknown GPT attributes
8000000000000001
Unknown BootLoader on nvme0n1p3
00000000 eb 58 90 2d 46 56 45 2d 46 53 2d 00 02 08 00 00 |.X.-FVE-FS-.....|
00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 a8 03 00 |........?.......|
00000020 00 00 00 00 e0 1f 00 00 00 00 00 00 00 00 00 00 |................|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 80 00 29 00 00 00 00 4e 4f 20 4e 41 4d 45 20 20 |..)....NO NAME |
00000050 20 20 46 41 54 33 32 20 20 20 33 c9 8e d1 bc f4 | FAT32 3.....|
00000060 7b 8e c1 8e d9 bd 00 7c a0 fb 7d b4 7d 8b f0 ac |{......|..}.}...|
00000070 98 40 74 0c 48 74 0e b4 0e bb 07 00 cd 10 eb ef |.@t.Ht..........|
00000080 a0 fd 7d eb e6 cd 16 cd 19 00 00 00 00 00 00 00 |..}.............|
00000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000a0 3b d6 67 49 29 2e d8 4a 83 99 f6 a3 39 e3 d0 01 |;.gI)..J....9...|
000000b0 00 00 50 09 00 00 00 00 00 50 82 84 00 00 00 00 |..P......P......|
000000c0 00 90 84 8c 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000100 0d 0a 52 65 6d 6f 76 65 20 64 69 73 6b 73 20 6f |..Remove disks o|
00000110 72 20 6f 74 68 65 72 20 6d 65 64 69 61 2e ff 0d |r other media...|
00000120 0a 44 69 73 6b 20 65 72 72 6f 72 ff 0d 0a 50 72 |.Disk error...Pr|
00000130 65 73 73 20 61 6e 79 20 6b 65 79 20 74 6f 20 72 |ess any key to r|
00000140 65 73 74 61 72 74 0d 0a 00 00 00 00 00 00 00 00 |estart..........|
00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000190 00 00 00 00 00 00 00 00 78 78 78 78 78 78 78 78 |........xxxxxxxx|
000001a0 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 |xxxxxxxxxxxxxxxx|
*
000001e0 78 78 78 78 78 78 78 78 ff ff ff ff ff ff ff ff |xxxxxxxx........|
000001f0 ff ff ff ff ff ff ff ff ff ff ff 00 1f 2c 55 aa |.............,U.|
00000200
Error code 32
mount -r /dev/nvme0n1p3 /mnt/boot-sav/nvme0n1p3
mount -r /dev/nvme0n1p3 : Error code 32
Error code 32
mount -r /dev/nvme0n1p3 /mnt/boot-sav/nvme0n1p3
mount -r /dev/nvme0n1p3 : Error code 32
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
nvme1n1p2,
using the following options: nvme1n1p1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
Confirmation request before suggested repair: __________________________________
The boot of your PC is in Secure mode. You may want to retry after changing it to non-Secure mode.
Are you sure you want to continue anyway?
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 20.04.1 LTS CurrentSession entry (nvme1n1p1/efi/****/shim****.efi (**** will be updated in the final message) file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.
If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\****\shim****.efi (**** will be updated in the final message)