Ton Boot-info est là :
boot-info-4ppa95 [20200501_1647]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/mmcblk0.
=> Grub2 (v2.00) is installed in the MBR of /dev/nvme0n1 and looks at sector
1 of the same hard drive for core.img. core.img is at this location and
looks for (,msdos5)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
mmcblk0p1: _____________________________________________________________________
File system: exfat
Boot sector type: Unknown
Boot sector info:
Operating System:
Boot files:
nvme0n1p1: _____________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
nvme0n1p2: _____________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
nvme0n1p5: _____________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 20.04 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
============================ Drive/Partition Info ==============================
Drive: mmcblk0 _____________________________________________________________________
Disque /dev/mmcblk0Â : 366,84 GiB, 393870311424Â octets, 769277952Â secteurs
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique)Â : 512Â octets / 512Â octets
taille d'E/S (minimale / optimale)Â : 512Â octets / 512Â octets
Type d'étiquette de disque : dos
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/mmcblk0p1 65,536 769,277,951 769,212,416 7 NTFS / exFAT / HPFS
Drive: nvme0n1 _____________________________________________________________________
Disque /dev/nvme0n1Â : 238,49 GiB, 256060514304Â octets, 500118192Â secteurs
Disk model: KXG50ZNV256G NVMe TOSHIBA 256GB
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique)Â : 512Â octets / 512Â octets
taille d'E/S (minimale / optimale)Â : 512Â octets / 512Â octets
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/nvme0n1p1 * 2,048 1,050,623 1,048,576 b W95 FAT32
/dev/nvme0n1p2 1,052,670 500,117,503 499,064,834 5 Extended
/dev/nvme0n1p5 1,052,672 500,117,503 499,064,832 83 Linux
blkid (filtered): ______________________________________________________________
Device UUID TYPE LABEL
/dev/mmcblk0p1 6339-3935 exfat
/dev/nvme0n1p1 6147-BCB7 vfat
/dev/nvme0n1p5 a61d27c4-357e-4768-a018-9fc9310eab3d ext4
================================= Mount points =================================
Device Mount_Point Type Options
/dev/fuse /run/user/1000/doc fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/mmcblk0p1 /mnt/boot-sav/mmcblk0p1 exfat (rw,relatime,fmask=0022,dmask=0022,iocharset=utf8,namecase=0,errors=remount-ro)
/dev/nvme0n1p1 /boot/efi vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/nvme0n1p5 / ext4 (rw,relatime,errors=remount-ro)
=================== nvme0n1p5/boot/grub/grub.cfg (filtered) ====================
Ubuntu
Ubuntu, avec Linux 5.4.0-28-generic
Ubuntu, avec Linux 5.4.0-26-generic
### END /etc/grub.d/30_os-prober ###
### 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=a61d27c4-357e-4768-a018-9fc9310eab3d / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=6147-BCB7 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
==================== nvme0n1p5/etc/default/grub (filtered) =====================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
#GRUB_TERMINAL=console
#GRUB_GFXMODE=640x480
#GRUB_DISABLE_LINUX_UUID=true
#GRUB_DISABLE_RECOVERY="true"
#GRUB_INIT_TUNE="480 440 1"
================= nvme0n1p5: Location of files loaded by Grub ==================
GiB - GB File Fragment(s)
216.632896423 = 232.607801344 boot/grub/grub.cfg 2
218.655296326 = 234.779336704 boot/grub/i386-pc/core.img 1
207.239372253 = 222.521581568 boot/vmlinuz 1
4.754997253 = 5.105639424 boot/vmlinuz-5.4.0-26-generic 2
207.239372253 = 222.521581568 boot/vmlinuz-5.4.0-28-generic 1
4.754997253 = 5.105639424 boot/vmlinuz.old 2
207.537528992 = 222.841724928 boot/initrd.img 3
207.014091492 = 222.279688192 boot/initrd.img-5.4.0-26-generic 6
207.537528992 = 222.841724928 boot/initrd.img-5.4.0-28-generic 3
207.014091492 = 222.279688192 boot/initrd.img.old 6
======================== Unknown MBRs/Boot Sectors/etc =========================
Unknown BootLoader on mmcblk0p1
00000000 eb 76 90 45 58 46 41 54 20 20 20 00 00 00 00 00 |.v.EXFAT .....|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000040 00 00 01 00 00 00 00 00 00 40 d9 2d 00 00 00 00 |.........@.-....|
00000050 00 80 00 00 00 80 00 00 00 00 01 00 20 ec 16 00 |............ ...|
00000060 04 00 00 00 35 39 39 63 00 01 00 00 09 09 01 80 |....599c........|
00000070 5e 00 00 00 00 00 00 00 f4 f4 f4 f4 f4 f4 f4 f4 |^...............|
00000080 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 |................|
*
000001f0 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 55 aa |..............U.|
00000200
Unknown BootLoader on nvme0n1p2
00000000 fc 10 24 42 e6 9f a2 18 a8 5d bd 1f bc 0f 41 5f |..$B.....]....A_|
00000010 b8 c9 8a 0f c9 52 c4 94 17 a7 8f 0c 08 31 65 83 |.....R.......1e.|
00000020 18 f6 14 d6 ac 9a 9b 53 c4 fd 9b 0a cb 0b fd 25 |.......S.......%|
00000030 91 b0 86 c2 3f db c5 c6 7a c2 fd 72 f9 eb 5e 5f |....?...z..r..^_|
00000040 09 1b 92 40 ac c4 61 35 dd 56 48 0a 24 81 c4 93 |...@..a5.VH.$...|
00000050 58 ad 48 09 56 58 27 04 ef 05 a8 2a ee 4b aa 7a |X.H.VX'....*.K.z|
00000060 5f 37 d4 2d 4c 9a ed ec ba e8 49 8d 68 5d f0 5f |_7.-L.....I.h]._|
00000070 07 db 53 9d 0c 79 38 bb 9e c2 09 20 0d e6 88 fc |..S..y8.... ....|
00000080 c7 41 b7 25 ef fc ae 7b d3 8a 57 df d0 bd 97 7a |.A.%...{..W....z|
00000090 f9 ed 6d e6 70 5c 0d 0d 97 88 79 3c 4f a5 cc 5e |..m.p\....y<O..^|
000000a0 62 b0 3e 64 dc 24 9d e5 75 82 c5 ce 7c 73 40 7a |b.>d.$..u...|s@z|
000000b0 17 1e 33 25 dd 74 3b 63 48 23 83 da af 5e 9c 0d |..3%.t;cH#...^..|
000000c0 40 65 fb 37 d6 ef 52 d0 1e 05 ac 5b fa 5a 9b 33 |@e.7..R....[.Z.3|
000000d0 cd ad 70 f4 1d 8f 34 97 6b bd e5 63 79 e6 07 54 |..p...4.k..cy..T|
000000e0 e6 31 3b 2d 6e 8a 46 12 d8 98 bf fe 56 72 75 ee |.1;-n.F.....Vru.|
000000f0 58 d6 be 6b 77 78 6f b2 b1 4f 33 d8 ed 36 7a de |X..kwxo..O3..6z.|
00000100 db d6 1e b2 d6 13 70 8f 8d a8 f1 b8 63 39 24 d0 |......p.....c9$.|
00000110 0f ed 91 e2 b1 9b b9 ee 37 85 18 ca 01 03 56 95 |........7.....V.|
00000120 93 38 30 d3 c9 99 4d da 72 34 f1 66 88 48 bb 34 |.80...M.r4.f.H.4|
00000130 82 cc ed 4c b1 b0 bf 4a c3 52 2e e2 73 7e db 49 |...L...J.R..s~.I|
00000140 5b a6 38 f2 81 a0 e7 e6 77 b1 0d bc c7 59 88 45 |[.8.....w....Y.E|
00000150 f7 1c 1e 26 cd 97 e1 c3 3c a3 68 e4 1f 71 61 97 |...&....<.h..qa.|
00000160 56 75 aa c2 99 0c 1a 83 2c 17 a6 e9 0a c4 89 27 |Vu......,......'|
00000170 06 17 0b 82 93 46 c5 37 fe b2 a6 32 47 8e ce 3b |.....F.7...2G..;|
00000180 79 07 2b c5 7d a1 e3 f1 62 8b 81 35 77 01 1f c6 |y.+.}...b..5w...|
00000190 84 73 e0 fb 40 ef cb 82 3d b8 46 ad 26 9e a8 7f |.s..@...=.F.&...|
000001a0 9f 1a e0 23 9f 51 72 d7 fb 6e 43 03 7c a0 52 bf |...#.Qr..nC.|.R.|
000001b0 3e 35 d7 8c 01 d6 4b 95 10 db 20 5b cf 84 00 fe |>5....K... [....|
000001c0 c2 ff 83 fe c2 ff 02 00 00 00 00 20 bf 1d 00 00 |........... ....|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
============================ ADDITIONAL INFORMATION ============================
boot-info is executed in installed-session (Ubuntu 20.04 LTS, focal, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 39 bits physical, 48 bits virtual
BOOT_IMAGE=/boot/vmlinuz-5.4.0-28-generic root=UUID=a61d27c4-357e-4768-a018-9fc9310eab3d ro quiet splash vt.handoff=7
================================ 1 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 20.04 LTS CurrentSession on nvme0n1p5
=========================== /etc/grub.d/ (filtered) ============================
drwxr-xr-x 2 root root 4096 avril 23 09:46 grub.d
-rwxr-xr-x 1 root root 10627 avril 15 13:31 00_header
-rwxr-xr-x 1 root root 6258 avril 15 13:31 05_debian_theme
-rwxr-xr-x 1 root root 17123 avril 15 13:31 10_linux
-rwxr-xr-x 1 root root 42128 avril 15 13:31 10_linux_zfs
-rwxr-xr-x 1 root root 12894 avril 15 13:31 20_linux_xen
-rwxr-xr-x 1 root root 1992 févr. 14 00:09 20_memtest86+
-rwxr-xr-x 1 root root 12059 avril 15 13:31 30_os-prober
-rwxr-xr-x 1 root root 1424 avril 15 13:31 30_uefi-firmware
-rwxr-xr-x 1 root root 214 avril 15 13:31 40_custom
-rwxr-xr-x 1 root root 216 avril 15 13:31 41_custom
=================== /boot/efi detected in the fstab of nvme0n1p5: UUID=6147-BCB7 (nvme0n1p1)
=============================== UEFI/Legacy mode ===============================
This installed-session is not in EFI-mode.
EFI in dmesg.
[ 0.008407] ACPI: UEFI 0x000000003E009078 000042 (v01 00000000 00000000)
=============================== PARTITIONS (1/3) ===============================
nvme0n1p5 : nvme0n1, not-sepboot, grubenv-ok grub2, grub-pc , update-grub, 64, with-boot, is-os, isnotESP, fstab-without-boot
nvme0n1p1 : nvme0n1, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, is---ESP, part-has-no-fstab
mmcblk0p1 : mmcblk0, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, isnotESP, part-has-no-fstab
=============================== PARTITIONS (2/3) ===============================
nvme0n1p5 : fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install
nvme0n1p1 : part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall
mmcblk0p1 : part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall
=============================== PARTITIONS (3/3) ===============================
nvme0n1p5 : with--usr, fstab-without-usr, not-sep-usr, standard, farbios, notbiosboot, .
nvme0n1p1 : no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, notbiosboot, /boot/efi.
mmcblk0p1 : no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, notbiosboot, /mnt/boot-sav/mmcblk0p1.
==================================== DISKS =====================================
nvme0n1 : not-GPT, BIOSboot-not-needed, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
mmcblk0 : not-GPT, BIOSboot-not-needed, has-noESP, not-usb, mmc-disk, no-os, 2048 sectors * 512 bytes
================================== parted -lm ==================================
BYT;
/dev/nvme0n1:256GB:nvme:512:512:msdos:KXG50ZNV256G NVMe TOSHIBA 256GB:;
1:1049kB:538MB:537MB:fat32::boot;
2:539MB:256GB:256GB:::;
5:539MB:256GB:256GB:ext4::;
BYT;
/dev/mmcblk0:394GB:sd/mmc:512:512:msdos:SD SC400:;
1:33.6MB:394GB:394GB:::;
=============== lsblk -o KNAME,TYPE,FSTYPE,SIZE,LABEL (filtered) ===============
KNAME TYPE FSTYPE SIZE LABEL
mmcblk0 disk 366,8G
mmcblk0p1 part exfat 366,8G
nvme0n1 disk 238,5G
nvme0n1p1 part vfat 512M
nvme0n1p2 part 1K
nvme0n1p5 part ext4 238G
============ lsblk -o KNAME,ROTA,RO,RM,STATE,MOUNTPOINT (filtered) =============
KNAME ROTA RO RM STATE MOUNTPOINT
mmcblk0 0 0 0
mmcblk0p1 0 0 0 /mnt/boot-sav/mmcblk0p1
nvme0n1 0 0 0 live
nvme0n1p1 0 0 0 /boot/efi
nvme0n1p2 0 0 0
nvme0n1p5 0 0 0 /
=============================== mount (filtered) ===============================
/dev/nvme0n1p5 on / type ext4 (rw,relatime,errors=remount-ro)
/dev/nvme0n1p1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/fuse on /run/user/1000/doc type fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/mmcblk0p1 on /mnt/boot-sav/mmcblk0p1 type exfat (rw,relatime,fmask=0022,dmask=0022,iocharset=utf8,namecase=0,errors=remount-ro)
================================ ls (filtered) =================================
/sys/block/mmcblk0: alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range force_ro hidden holders inflight integrity mmcblk0p1 mq power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/nvme0n1: alignment_offset bdi capability dev device discard_alignment eui events events_async events_poll_msecs ext_range hidden holders inflight integrity lightnvm mq nguid nsid nvme0n1p1 nvme0n1p2 nvme0n1p5 power queue range removable ro size slaves stat subsystem trace uevent uuid wwid
/dev: acpi_thermal_rel autofs block btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse gpiochip0 hidraw0 hpet hugepages hwrng initctl input kmsg kvm lightnvm log mapper mcelog media0 media1 mei0 mem mmcblk0 mmcblk0p1 mqueue net null nvme0 nvme0n1 nvme0n1p1 nvme0n1p2 nvme0n1p5 port ppp psaux ptmx pts random rfkill rtc rtc0 shm snapshot snd stderr stdin stdout udmabuf uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 video1 video2 video3 wmi zero zfs
============================== df -Th (filtered) ===============================
Filesystem Type Size Used Avail Use% Mounted on
/dev/nvme0n1p5 ext4 234G 14G 208G 7% /
/dev/nvme0n1p1 vfat 511M 4.0K 511M 1% /boot/efi
/dev/mmcblk0p1 exfat 367G 345G 23G 94% /mnt/boot-sav/mmcblk0p1
============================= fdisk -l (filtered) ==============================
Disk /dev/nvme0n1: 238.49 GiB, 256060514304 bytes, 500118192 sectors
Disk model: KXG50ZNV256G NVMe TOSHIBA 256GB
Disklabel type: dos
Device Boot Start End Sectors Size Id Type
/dev/nvme0n1p1 * 2048 1050623 1048576 512M b W95 FAT32
/dev/nvme0n1p2 1052670 500117503 499064834 238G 5 Extended
/dev/nvme0n1p5 1052672 500117503 499064832 238G 83 Linux
Disk /dev/mmcblk0: 366.84 GiB, 393870311424 bytes, 769277952 sectors
Disklabel type: dos
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 65536 769277951 769212416 366.8G 7 HPFS/NTFS/exFAT
=============================== Suggested repair ===============================
The default repair of the Boot-Repair utility would reinstall the grub2 of nvme0n1p5 into the MBRs of all disks (except live-disks and removable disks without OS).
Grub-efi would not be selected by default because: no-win-efi
Additional repair would be performed: unhide-bootmenu-10s
=================== Final advice in case of suggested repair ===================
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le disque nvme0n1 (KXG50ZNV256G NVMe TOSHIBA 256GB) !
================================= User settings ================================
The settings chosen by the user will not act on the boot.
gawk packages needed
Bien qu'il y ait une partition EFI, il s'agit d'une installation en mode Legacy (non-EFI) comme on peut le voir dans cet extrait :
=============================== UEFI/Legacy mode ===============================
This installed-session is not in EFI-mode.
EFI in dmesg.
[ 0.008407] ACPI: UEFI 0x000000003E009078 000042 (v01 00000000 00000000)
On peut le voir aussi dans cet extrait (présence de grub-pc alors que grub-efi est absent) :
=============================== PARTITIONS (1/3) ===============================
nvme0n1p5 : nvme0n1, not-sepboot, grubenv-ok grub2, grub-pc ,
Je ne sais pas comment la partition EFI est arrivée là-dedans mais d'après moi elle ne sert à rien dans le fonctionnement actuel.