Bonjour à vous,
Je viens de faire l'acquisition d'un ordinateur fixe lenovo P340, fourni avec windows 10. J'ai voulu y installer ubuntu en dual boot, j'ai donc créer une clef usb bootable avec ubuntu 20.04, et j'ai procéder à l'installation, jusqu'à l'étape redémarrer.
Après cela, le redémarrage n'a pas fonctionné, mais m'emmène vers un écran noir. J'ai tenté plusieurs fois d'éteindre et redémarrer l'ordinateur en pianotant sur la touche F1 (j'ai également testé F2, F6, F7, F8 et F12) mais rien à faire, j'ai l'impression que le clavier n'est pas encore pris en charge lors du petit laps de temps pendant lequel il faudrait taper sur la touche dédiée (j'ai cette imprssion parce que l'écran également met du temps à m'avertir qu'il reçoit un signal).
 Bref, je me retrouvais avec un écran noir avec la souris qui apparaît au bout de 5 minutes. En tapant "ctrl + alt + F4" j'arrive à avoir une console, depuis laquelle j'ai pu faire "stratx" et avoir une interface graphique d'ubuntu (mais super lente, pour une raison que j'ignore). Depuis celle-ci, j'ai pu installer Gparted et constater que les partitions windows et ubuntu sont bien sur le disque, puis installer boot-info et boot-repair.
j'ai lancé une première fois boot-repair, qui m'a demandé de créer une partition en FAT32 avec 250 MO et de lui mettre le drapeau boot, ce que j'ai fait, puis j'ai relancé boot-repair et redémarré, mais sans plus de succès. je vous envoie mon boot-info 
 
boot-info-4ppa125                                              [20210313_2018]
============================== Boot Info Summary ===============================
 => No boot loader is installed in the MBR of /dev/nvme0n1.
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:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 8 or 10
    Boot files:        /Windows/System32/winload.exe
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:        
nvme0n1p5: _____________________________________________________________________
    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04.2 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub
nvme0n1p6: _____________________________________________________________________
    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/BOOT/bkpbootx64.efi /efi/BOOT/bootx64.efi 
                       /efi/BOOT/fbx64.efi /efi/BOOT/grubx64.efi 
                       /efi/BOOT/mmx64.efi /efi/ubuntu/grubx64.efi 
                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi 
                       /efi/ubuntu/grub.cfg
================================ 2 OS detected =================================
OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.2 LTS CurrentSession on nvme0n1p5
OS#2:   Windows 8 or 10 on nvme0n1p3
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.6.0-1048-oem root=UUID=4f4c5d14-c9cf-47ec-ab45-a3a18b6119f4 ro quiet splash
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot enabled.
efibootmgr -v
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0001,0006,0004,0005,0003,0002
Boot0000* ubuntu	HD(6,GPT,200a4741-eecb-4f94-b66a-5ff167866b31,0x1262f800,0x7d000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0001* Windows Boot Manager	HD(1,GPT,e3e10c8f-449b-417f-b526-dcbc693c021a,0x800,0x82000)/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.}....................
Boot0002* Generic Usb Device	VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0003* CD/DVD Device	VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0004* UEFI: PXE IPv4 Intel(R) Ethernet Connection (11) I219-LM	PciRoot(0x0)/Pci(0x1f,0x6)/MAC(002b67bb628d,0)/IPv4(0.0.0.00.0.0.0,0,0)..BO
Boot0005* UEFI: PXE IPv6 Intel(R) Ethernet Connection (11) I219-LM	PciRoot(0x0)/Pci(0x1f,0x6)/MAC(002b67bb628d,0)/IPv6([::]:<->[::]:,0,0)..BO
Boot0006* ubuntu	HD(1,GPT,e3e10c8f-449b-417f-b526-dcbc693c021a,0x800,0x82000)/File(\EFI\UBUNTU\SHIMX64.EFI)..BO
78415fb8fb9b909f8029858113f1335f   nvme0n1p1/Boot/bootx64.efi
2895d47544fd587b26c7e29be1295c27   nvme0n1p1/Boot/fbx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   nvme0n1p1/Boot/mmx64.efi
957dc7e5f72c1d7393bf7850df5db2db   nvme0n1p1/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   nvme0n1p1/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f   nvme0n1p1/ubuntu/shimx64.efi
3c080490d0eb8fdb738f298c3e44b3e0   nvme0n1p1/Microsoft/Boot/bootmgfw.efi
da7c9088c9d0bff4ac469abdfc8f540e   nvme0n1p1/Microsoft/Boot/bootmgr.efi
a7d2b5a20ff5098975ba4743f80faf26   nvme0n1p1/Boot/LenovoBT.efi
78415fb8fb9b909f8029858113f1335f   nvme0n1p6/BOOT/bkpbootx64.efi
78415fb8fb9b909f8029858113f1335f   nvme0n1p6/BOOT/bootx64.efi
2895d47544fd587b26c7e29be1295c27   nvme0n1p6/BOOT/fbx64.efi
957dc7e5f72c1d7393bf7850df5db2db   nvme0n1p6/BOOT/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   nvme0n1p6/BOOT/mmx64.efi
957dc7e5f72c1d7393bf7850df5db2db   nvme0n1p6/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   nvme0n1p6/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f   nvme0n1p6/ubuntu/shimx64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
nvme0n1	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
nvme0n1p5	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
nvme0n1p1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
nvme0n1p3	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
nvme0n1p4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
nvme0n1p6	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
Partitions info (2/3): _________________________________________________________
nvme0n1p5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p1	: maybeESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
nvme0n1p3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
nvme0n1p6	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
Partitions info (3/3): _________________________________________________________
nvme0n1p5	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	nvme0n1
nvme0n1p1	: not-sepboot,	no-kernel,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	nvme0n1
nvme0n1p3	: not-sepboot,	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
nvme0n1p6	: 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 nvme0n1: 476.96 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 9BA9DAC3-F846-47A9-9270-E287DCF98BCB
              Start        End   Sectors   Size Type
nvme0n1p1      2048     534527    532480   260M EFI System
nvme0n1p2    534528     567295     32768    16M Microsoft reserved
nvme0n1p3    567296  308475903 307908608 146.8G Microsoft basic data
nvme0n1p4 998166528 1000204287   2037760   995M Windows recovery environment
nvme0n1p5 421117952  998166527 577048576 275.2G Linux filesystem
nvme0n1p6 308475904  308987903    512000   250M EFI System
Partition table entries are not in disk order.
parted -lm (filtered): _________________________________________________________
nvme0n1:512GB:nvme:512:512:gpt:SAMSUNG MZVLB512HBJQ-000L7:;
1:1049kB:274MB:273MB:fat32:EFI system partition:boot, hidden, esp;
2:274MB:290MB:16.8MB::Microsoft reserved partition:msftres;
3:290MB:158GB:158GB:ntfs:Basic data partition:msftdata;
6:158GB:158GB:262MB:fat32:Sauveuse:boot, esp;
5:216GB:511GB:295GB:ext4::;
4:511GB:512GB:1043MB:ntfs::hidden, diag;
blkid (filtered): ______________________________________________________________
NAME        FSTYPE   UUID                                 PARTUUID                             LABEL     PARTLABEL
nvme0n1                                                                                                  
├─nvme0n1p1 vfat     78A9-364C                            e3e10c8f-449b-417f-b526-dcbc693c021a SYSTEM    EFI system partition
├─nvme0n1p2                                               75d36033-9da2-4bc6-b3e6-4c62d5c4a7ff           Microsoft reserved partition
├─nvme0n1p3 ntfs     DA4CAB9C4CAB7245                     5b6da9f8-d0dd-4a63-a269-a6864d072796 Windows   Basic data partition
├─nvme0n1p4 ntfs     647EABEA7EABB2EA                     435a3d78-9f07-4e9f-9cae-117afaee55e6 WinRE_DRV Basic data partition
├─nvme0n1p5 ext4     4f4c5d14-c9cf-47ec-ab45-a3a18b6119f4 8a143af3-e4b3-4dd3-a2a3-68fdc6b9413b           
└─nvme0n1p6 vfat     2504-92C9                            200a4741-eecb-4f94-b66a-5ff167866b31           Sauveuse
df (filtered): _________________________________________________________________
                   Avail Use% Mounted on
nvme0n1p1         219.5M  14% /mnt/boot-sav/nvme0n1p1
nvme0n1p3          96.5G  34% /mnt/boot-sav/nvme0n1p3
nvme0n1p4         526.2M  47% /mnt/boot-sav/nvme0n1p4
nvme0n1p5           248G   3% /
Mount options: __________________________________________________________________
nvme0n1p1         rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
nvme0n1p3         ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
nvme0n1p4         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
nvme0n1p5         rw,relatime,errors=remount-ro
=================== nvme0n1p1/efi/ubuntu/grub.cfg (filtered) ===================
search.fs_uuid 4f4c5d14-c9cf-47ec-ab45-a3a18b6119f4 root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
=================== nvme0n1p5/boot/grub/grub.cfg (filtered) ====================
Ubuntu   4f4c5d14-c9cf-47ec-ab45-a3a18b6119f4
Ubuntu, with Linux 5.6.0-1048-oem   4f4c5d14-c9cf-47ec-ab45-a3a18b6119f4
Windows Boot Manager (on nvme0n1p1)   osprober-efi-78A9-364C
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
======================== nvme0n1p5/etc/fstab (filtered) ========================
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p5 during installation
UUID=4f4c5d14-c9cf-47ec-ab45-a3a18b6119f4 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
/swapfile                                 none            swap    sw              0       0
UUID=2504-92C9  /boot/efi       vfat    defaults      0       1
==================== nvme0n1p5/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=""
================= nvme0n1p5: Location of files loaded by Grub ==================
           GiB - GB             File                                 Fragment(s)
 278,935291290 = 299,504488448  boot/grub/grub.cfg                             1
 277,581417084 = 298,050777088  boot/vmlinuz                                   1
 277,581417084 = 298,050777088  boot/vmlinuz-5.6.0-1048-oem                    1
 277,581417084 = 298,050777088  boot/vmlinuz.old                               1
 278,251949310 = 298,770755584  boot/initrd.img                                5
 278,251949310 = 298,770755584  boot/initrd.img-5.6.0-1048-oem                 5
 278,251949310 = 298,770755584  boot/initrd.img.old                            5
=================== nvme0n1p5: ls -l /etc/grub.d/ (filtered) ===================
-rwxr-xr-x 1 root root 17622 janv. 13 18:12 10_linux
-rwxr-xr-x 1 root root 42359 janv. 13 18:12 10_linux_zfs
-rwxr-xr-x 1 root root 12894 janv. 13 18:12 20_linux_xen
-rwxr-xr-x 1 root root 12059 janv. 13 18:12 30_os-prober
-rwxr-xr-x 1 root root  1424 janv. 13 18:12 30_uefi-firmware
-rwxr-xr-x 1 root root   214 janv. 13 18:12 40_custom
-rwxr-xr-x 1 root root   216 janv. 13 18:12 41_custom
=================== nvme0n1p6/efi/ubuntu/grub.cfg (filtered) ===================
search.fs_uuid 4f4c5d14-c9cf-47ec-ab45-a3a18b6119f4 root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
nvme0n1p5,
using the following options:        nvme0n1p6/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix use-standard-efi-file  restore-efi-backups  
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.2 LTS CurrentSession entry (nvme0n1p6/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)
Est-ce que quelqu'un saurait à quoi cela est dû ? J'ai quelques hypothèses quand je vois parler d'UEFI et de Legacy, mais ne m'y connaissant pas suffisamment, je préfère demander de l'aide sur ce forum !
Merci d'avance