Pages : 1
#1 Le 05/08/2025, à 11:44
- AnTeBiOs
Grub en double
Salut à tous,
j'ai executé plusieurs fois un boot repair sur ma machine, en effet j'ai un grub au démarrage qui reste 20sec, je souhaiterais le désactiver pour accélérer un peu ma séquence de boot. J'ai modifié mon fichier grub en ce sens mais c'est sans effet. Le boot info me dit encore une fois autre chose ?!
Possible de rétablir la situation sans avoir à réinstaller la machine ?
Merci pour vos lulmières
ah j'oubliais : https://paste.ubuntu.com/p/4kdqqhX8Cm/
...De la pensée à l'objet...
Hors ligne
#2 Le 05/08/2025, à 11:50
- xubu1957
Re : Grub en double
Bonjour,
Collage du Boot-repair, pour les spécialistes :
boot-repair-4ppa2081 [20250805_1112]
============================= Boot Repair Summary ==============================
modprobe: FATAL: Module efivars not found in directory /lib/modules/6.14.0-27-generic
Recommended repair: ____________________________________________________________
The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of
nvme0n1p2,
using the following options: nvme0n1p1/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups
rm /mnt/boot-sav/nvme0n1p1/efi/Boot/bootx64.efi
mv /mnt/boot-sav/nvme0n1p1/efi/Boot/bkpbootx64.efi /mnt/boot-sav/nvme0n1p1/efi/Boot/bootx64.efi
Mount /dev/nvme0n1p1 on /boot/efi
============ Reinstall the grub-efi-amd64-signed of /dev/nvme0n1p2 =============
grub-install --version
grub-install (GRUB) 2.12-1ubuntu7.3
modprobe: FATAL: Module efivars not found in directory /lib/modules/6.14.0-27-generic
modprobe efivars
efibootmgr -v (filtered) before grub install
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0019,001A,001B,001C,001D,001E,001F,0020,0021,0022,0023
Boot0000* Ubuntu HD(1,MBR,0x0,0x800,0x219800)/File(EFIubuntushimx64.efi)
Boot0010 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011 Boot Menu FvFile(126a762d-5758-4fca-8531-201a7f57f850)
Boot0012 Diagnostic Splash Screen FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0013 Lenovo Diagnostics FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)
Boot0014 Regulatory Information FvFile(478c92a0-2622-42b7-a65d-5894169e4d24)
Boot0015 ThinkShield secure wipe FvFile(3593a0d5-bd52-43a0-808e-cbff5ece2477)
Boot0016 Startup Interrupt Menu FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
Boot0017 Rescue and Recovery FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
Boot0018 MEBx Hot Key FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
Boot0019* USB CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot001A* USB FDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot001B* NVMe0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a400)
Boot001C* NVMe1 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a401)
Boot001D* ATA HDD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
Boot001E* ATA HDD1 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f601)
Boot001F* USB HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot0020* PXE BOOT VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Boot0021* LENOVO CLOUD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,ad38ccbbf7edf04d959cf42aa74d3650)/Uri(https://download.lenovo.com/pccbbs/cdeploy/efi/boot.efi)
Boot0022 Other CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35406)
Boot0023 Other HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f606)
Boot0024* USBR BOOT CDROM PciRoot(0x0)/Pci(0x14,0x0)/USB(15,1)
Boot0025* USBR BOOT Floppy PciRoot(0x0)/Pci(0x14,0x0)/USB(15,0)
Boot0026* ATA HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
Boot0027* ATAPI CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
uname -r
6.14.0-27-generic
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
Installation finished. No error reported.
df /dev/nvme0n1p1
mv /boot/efi/EFI/Boot/bootx64.efi /boot/efi/EFI/Boot/bkpbootx64.efi
cp /boot/efi/efi/ubuntu/shimx64.efi /boot/efi/EFI/Boot/bootx64.efi
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
Installation finished. No error reported.
efibootmgr -v (filtered) after grub install
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0019,001A,001B,001C,001D,001E,001F,0020,0021,0022,0023
Boot0000* Ubuntu HD(1,MBR,0x0,0x800,0x219800)/File(EFIubuntushimx64.efi)
Boot0010 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011 Boot Menu FvFile(126a762d-5758-4fca-8531-201a7f57f850)
Boot0012 Diagnostic Splash Screen FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0013 Lenovo Diagnostics FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)
Boot0014 Regulatory Information FvFile(478c92a0-2622-42b7-a65d-5894169e4d24)
Boot0015 ThinkShield secure wipe FvFile(3593a0d5-bd52-43a0-808e-cbff5ece2477)
Boot0016 Startup Interrupt Menu FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
Boot0017 Rescue and Recovery FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
Boot0018 MEBx Hot Key FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
Boot0019* USB CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot001A* USB FDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot001B* NVMe0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a400)
Boot001C* NVMe1 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a401)
Boot001D* ATA HDD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
Boot001E* ATA HDD1 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f601)
Boot001F* USB HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot0020* PXE BOOT VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Boot0021* LENOVO CLOUD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,ad38ccbbf7edf04d959cf42aa74d3650)/Uri(https://download.lenovo.com/pccbbs/cdeploy/efi/boot.efi)
Boot0022 Other CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35406)
Boot0023 Other HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f606)
Boot0024* USBR BOOT CDROM PciRoot(0x0)/Pci(0x14,0x0)/USB(15,1)
Boot0025* USBR BOOT Floppy PciRoot(0x0)/Pci(0x14,0x0)/USB(15,0)
Boot0026* ATA HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
Boot0027* ATAPI CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
Warning: NVram was not modified.
update-grub
Sourcing file `/etc/default/grub'
Found linux image: /boot/vmlinuz-6.14.0-27-generic
Found initrd image: /boot/initrd.img-6.14.0-27-generic
Found linux image: /boot/vmlinuz-6.14.0-24-generic
Found initrd image: /boot/initrd.img-6.14.0-24-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Adding boot menu entry for UEFI Firmware Settings ...
Unhide GRUB boot menu in nvme0n1p2/boot/grub/grub.cfg
Le démarrage de l'ordinateur a été correctement réparé.
Vous pouvez maintenant redémarrer votre ordinateur.
N'oubliez pas de faire démarrer votre firmware UEFI sur l'entrée L'OS actuellement utilisé - Ubuntu 24.04.2 LTS (fichier nvme0n1p1/efi/ubuntu/shimx64.efi) !
============================ Boot Info After Repair ============================
=> No boot loader is installed in the MBR of /dev/nvme0n1.
nvme0n1p1: _____________________________________________________________________
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 /efi/Microsoft/Boot/bootmgfw.efi
nvme0n1p2: _____________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 24.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
nvme1n1: _______________________________________________________________________
File system: ext4
Boot sector type: Unknown
Boot sector info:
Operating System:
Boot files:
================================ 1 OS detected =================================
OS#1 (linux): L'OS actuellement utilisé - Ubuntu 24.04.2 LTS on nvme0n1p2
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: TU106GLM [Quadro RTX 3000 Mobile / Max-Q] Coffee Lake-S GT2 [UHD Graphics P630] from NVIDIA Corporation Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.14.0-27-generic root=UUID=fb7b25ef-c33b-4acb-a960-2d79b58f1329 ro quiet splash
df -Th / : /dev/nvme0n1p2 ext4 468G 278G 167G 63% /
===================================== UEFI =====================================
BIOS/UEFI firmware: N30ET57W (1.40 )(1.40) from LENOVO
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot enabled according to mokutil - Veuillez indiquer ce message à boot.repair@gmail.com.
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0019,001A,001B,001C,001D,001E,001F,0020,0021,0022,0023
Boot0000* Ubuntu HD(1,MBR,0x0,0x800,0x219800)/File(\EFI\ubuntu\shimx64.efi)
Boot0010 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011 Boot Menu FvFile(126a762d-5758-4fca-8531-201a7f57f850)
Boot0012 Diagnostic Splash Screen FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0013 Lenovo Diagnostics FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)
Boot0014 Regulatory Information FvFile(478c92a0-2622-42b7-a65d-5894169e4d24)
Boot0015 ThinkShield secure wipe FvFile(3593a0d5-bd52-43a0-808e-cbff5ece2477)
Boot0016 Startup Interrupt Menu FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
Boot0017 Rescue and Recovery FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
Boot0018 MEBx Hot Key FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
Boot0019* USB CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot001A* USB FDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot001B* NVMe0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a400)
Boot001C* NVMe1 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a401)
Boot001D* ATA HDD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
Boot001E* ATA HDD1 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f601)
Boot001F* USB HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot0020* PXE BOOT VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Boot0021* LENOVO CLOUD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,ad38ccbbf7edf04d959cf42aa74d3650)/Uri(https://download.lenovo.com/pccbbs/cdeploy/efi/boot.efi)
Boot0022 Other CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35406)
Boot0023 Other HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f606)
Boot0024* USBR BOOT CDROM PciRoot(0x0)/Pci(0x14,0x0)/USB(15,1)
Boot0025* USBR BOOT Floppy PciRoot(0x0)/Pci(0x14,0x0)/USB(15,0)
Boot0026* ATA HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
Boot0027* ATAPI CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
nvme0n1 : notGPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
nvme0n1p2 : is-os, 64, apt-get, signed grub-efi , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
nvme0n1p1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
nvme0n1p2 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4
nvme0n1p1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, vfat
Partitions info (3/3): _________________________________________________________
nvme0n1p2 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, nvme0n1
nvme0n1p1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
fdisk -l (filtered): ___________________________________________________________
Disk nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 0x00000000
Boot Start End Sectors Size Id Type
nvme0n1p1 * 2048 2203647 2201600 1G c W95 FAT32 (LBA)
nvme0n1p2 2203648 1000212479 998008832 475.9G 83 Linux
Disk nvme1n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 0x00000000
parted -lm (filtered): _________________________________________________________
nvme0n1:512GB:nvme:512:512:msdos:SKHynix_HFS512GD9TNI-L2B0B:;
1:1049kB:1128MB:1127MB:fat32::boot, lba;
2:1128MB:512GB:511GB:ext4::;
nvme1n1:512GB:nvme:512:512:msdos:SKHynix_HFS512GD9TNI-L2B0B:;
Free space >10MiB: ______________________________________________________________
nvme1n1: 0.00MiB:488386MiB:488386MiB
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
nvme0n1
├─nvme0n1p1 vfat 32DC-33A9
└─nvme0n1p2 ext4 fb7b25ef-c33b-4acb-a960-2d79b58f1329
nvme1n1 ext4 2a5970de-2ae4-494d-9ed2-d1c015590e8d DATA
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/nvme0n1p2 166.4G 59% /
efivarfs 173.4K 27% /sys/firmware/efi/efivars
Mount options (filtered): ______________________________________________________
/dev/nvme0n1p2 ext4 rw,relatime
=================== nvme0n1p1/efi/ubuntu/grub.cfg (filtered) ===================
search.fs_uuid fb7b25ef-c33b-4acb-a960-2d79b58f1329 root
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
=================== nvme0n1p2/boot/grub/grub.cfg (filtered) ====================
Ubuntu fb7b25ef-c33b-4acb-a960-2d79b58f1329
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
======================== nvme0n1p2/etc/fstab (filtered) ========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p2 during curtin installation
/dev/disk/by-uuid/fb7b25ef-c33b-4acb-a960-2d79b58f1329 / ext4 defaults 0 1
# /boot/efi was on /dev/nvme0n1p1 during curtin installation
/swap.img none swap sw 0 0
/dev/disk/by-id/usb-WDC_WD20_03FYYS-50W0B1_012345678900000004D-0:0-part1 /mnt/usb-WDC_WD20_03FYYS-50W0B1_012345678900000004D-0:0-part1 auto nosuid,nodev,nofail,noauto,x-gvfs-show 0 0
UUID=32DC-33A9 /boot/efi vfat defaults 0 1
==================== nvme0n1p2/etc/default/grub (filtered) =====================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false
================= nvme0n1p2: Location of files loaded by Grub ==================
GiB - GB File Fragment(s)
314,435661316 = 337,622720512 boot/grub/grub.cfg 1
78,214839935 = 83,982544896 boot/vmlinuz 2
242,026187897 = 259,873640448 boot/vmlinuz-6.14.0-24-generic 2
78,214839935 = 83,982544896 boot/vmlinuz-6.14.0-27-generic 2
242,026187897 = 259,873640448 boot/vmlinuz.old 2
319,626346588 = 343,196176384 boot/initrd.img 6
438,948768616 = 471,317651456 boot/initrd.img-6.11.0-17-generic 1
251,782611847 = 270,349520896 boot/initrd.img-6.14.0-24-generic 6
319,626346588 = 343,196176384 boot/initrd.img-6.14.0-27-generic 6
251,782611847 = 270,349520896 boot/initrd.img.old 6
=================== nvme0n1p2: ls -l /etc/grub.d/ (filtered) ===================
-rwxr-xr-x 1 root root 18133 Sep 11 2024 10_linux
-rwxr-xr-x 1 root root 43202 Sep 11 2024 10_linux_zfs
-rwxr-xr-x 1 root root 14513 Sep 11 2024 20_linux_xen
-rwxr-xr-x 1 root root 786 Sep 11 2024 25_bli
-rwxr-xr-x 1 root root 13120 Sep 11 2024 30_os-prober
-rwxr-xr-x 1 root root 1174 Sep 11 2024 30_uefi-firmware
-rwxr-xr-x 1 root root 722 Dec 5 2024 35_fwupd
-rwxr-xr-x 1 root root 214 Sep 11 2024 40_custom
-rwxr-xr-x 1 root root 215 Sep 11 2024 41_custom
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne
#3 Le 05/08/2025, à 11:56
- AnTeBiOs
Re : Grub en double
Merci,
j'hésitais à coller le texte ... C'est chose faite.
...De la pensée à l'objet...
Hors ligne
#4 Le 05/08/2025, à 12:15
- iznobe
Re : Grub en double
Bonjour , ce n' est pas un boot-info que tu as posté mais un boot-repair ce n' est pas la meme chose .
je suppose ( on ne voit pas car tu n' as pas fourni de boot-info ) que tu as une 2eme installation , sur ton autre disque nvme , et celui-ci est probablement en boot LEGACY .
c' est le GRUB de ce disque que tu vois probablement apparaitre au démarrage de la machine et donc modifier le GRUB actuel ne change rien à l' autre forcément .
le plus simple est de commencer par fournir un boot-info afin de ne pas chercher dans le vent : https://doc.ubuntu-fr.org/tutoriel/boot-info
tu peux toujours aller dans le BIOS pour mettre ton autre disque en priorité de demarrage et voir ce que ca dis . et / ou bien , forcer le mode EFI .
tu peux aussi monter la partition nvme1n1 et voir si elle contient un GRUB :
sudo mount -v /dev/nvme1n1 /mnt
cat /mnt/etc/default/grub
retour COMPLET et utilisable de commande | script montage partitions
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#5 Le 05/08/2025, à 12:21
- AnTeBiOs
Re : Grub en double
Voicie le boot-info :
boot-info-4ppa2081 [20250805_1220]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/nvme0n1.
nvme0n1p1: _____________________________________________________________________
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 /efi/Microsoft/Boot/bootmgfw.efi
nvme0n1p2: _____________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 24.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
nvme1n1: _______________________________________________________________________
File system: ext4
Boot sector type: Unknown
Boot sector info:
Operating System:
Boot files:
================================ 1 OS detected =================================
OS#1 (linux): L'OS actuellement utilisé - Ubuntu 24.04.2 LTS on nvme0n1p2
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: TU106GLM [Quadro RTX 3000 Mobile / Max-Q] Coffee Lake-S GT2 [UHD Graphics P630] from NVIDIA Corporation Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.14.0-27-generic root=UUID=fb7b25ef-c33b-4acb-a960-2d79b58f1329 ro quiet splash
df -Th / : /dev/nvme0n1p2 ext4 468G 276G 168G 63% /
===================================== UEFI =====================================
BIOS/UEFI firmware: N30ET57W (1.40 )(1.40) from LENOVO
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot enabled according to mokutil - Veuillez indiquer ce message à boot.repair@gmail.com.
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0019,001A,001B,001C,001D,001E,001F,0020,0021,0022,0023
Boot0000* Ubuntu HD(1,MBR,0x0,0x800,0x219800)/File(\EFI\ubuntu\shimx64.efi)
Boot0010 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011 Boot Menu FvFile(126a762d-5758-4fca-8531-201a7f57f850)
Boot0012 Diagnostic Splash Screen FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0013 Lenovo Diagnostics FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)
Boot0014 Regulatory Information FvFile(478c92a0-2622-42b7-a65d-5894169e4d24)
Boot0015 ThinkShield secure wipe FvFile(3593a0d5-bd52-43a0-808e-cbff5ece2477)
Boot0016 Startup Interrupt Menu FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
Boot0017 Rescue and Recovery FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
Boot0018 MEBx Hot Key FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
Boot0019* USB CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot001A* USB FDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot001B* NVMe0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a400)
Boot001C* NVMe1 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a401)
Boot001D* ATA HDD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
Boot001E* ATA HDD1 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f601)
Boot001F* USB HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot0020* PXE BOOT VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Boot0021* LENOVO CLOUD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,ad38ccbbf7edf04d959cf42aa74d3650)/Uri(https://download.lenovo.com/pccbbs/cdeploy/efi/boot.efi)
Boot0022 Other CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35406)
Boot0023 Other HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f606)
Boot0024* USBR BOOT CDROM PciRoot(0x0)/Pci(0x14,0x0)/USB(15,1)
Boot0025* USBR BOOT Floppy PciRoot(0x0)/Pci(0x14,0x0)/USB(15,0)
Boot0026* ATA HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
Boot0027* ATAPI CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
07e25dcaf57c776875f78fa36827c58e nvme0n1p1/BOOT/bkpbootx64.efi
07e25dcaf57c776875f78fa36827c58e nvme0n1p1/BOOT/bootx64.efi
39bc76ff6662f4fbe9aa116e4c997b41 nvme0n1p1/BOOT/fbx64.efi
94c7467f956700d44c5b4dcd3967535c nvme0n1p1/BOOT/grubx64.efi
4ba5a5aad43c197e9fb58b76b404d287 nvme0n1p1/BOOT/mmx64.efi
94c7467f956700d44c5b4dcd3967535c nvme0n1p1/ubuntu/grubx64.efi
4ba5a5aad43c197e9fb58b76b404d287 nvme0n1p1/ubuntu/mmx64.efi
07e25dcaf57c776875f78fa36827c58e nvme0n1p1/ubuntu/shimx64.efi
94c7467f956700d44c5b4dcd3967535c nvme0n1p1/Microsoft/Boot/bootmgfw.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
nvme0n1 : notGPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
nvme0n1p2 : is-os, 64, apt-get, signed grub-efi , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
nvme0n1p1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
nvme0n1p2 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4
nvme0n1p1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, vfat
Partitions info (3/3): _________________________________________________________
nvme0n1p2 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, nvme0n1
nvme0n1p1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
fdisk -l (filtered): ___________________________________________________________
Disk nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 0x00000000
Boot Start End Sectors Size Id Type
nvme0n1p1 * 2048 2203647 2201600 1G c W95 FAT32 (LBA)
nvme0n1p2 2203648 1000212479 998008832 475.9G 83 Linux
Disk nvme1n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 0x00000000
parted -lm (filtered): _________________________________________________________
nvme0n1:512GB:nvme:512:512:msdos:SKHynix_HFS512GD9TNI-L2B0B:;
1:1049kB:1128MB:1127MB:fat32::boot, lba;
2:1128MB:512GB:511GB:ext4::;
nvme1n1:512GB:nvme:512:512:msdos:SKHynix_HFS512GD9TNI-L2B0B:;
Free space >10MiB: ______________________________________________________________
nvme1n1: 0.00MiB:488386MiB:488386MiB
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
nvme0n1
├─nvme0n1p1 vfat 32DC-33A9
└─nvme0n1p2 ext4 fb7b25ef-c33b-4acb-a960-2d79b58f1329
nvme1n1 ext4 2a5970de-2ae4-494d-9ed2-d1c015590e8d DATA
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/nvme0n1p1 1G 1% /mnt/boot-sav/nvme0n1p1
/dev/nvme0n1p2 167.8G 59% /
efivarfs 173.4K 27% /sys/firmware/efi/efivars
Mount options (filtered): ______________________________________________________
/dev/nvme0n1p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/nvme0n1p2 ext4 rw,relatime
=================== nvme0n1p1/efi/ubuntu/grub.cfg (filtered) ===================
search.fs_uuid fb7b25ef-c33b-4acb-a960-2d79b58f1329 root
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
=================== nvme0n1p2/boot/grub/grub.cfg (filtered) ====================
Ubuntu fb7b25ef-c33b-4acb-a960-2d79b58f1329
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
======================== nvme0n1p2/etc/fstab (filtered) ========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p2 during curtin installation
/dev/disk/by-uuid/fb7b25ef-c33b-4acb-a960-2d79b58f1329 / ext4 defaults 0 1
# /boot/efi was on /dev/nvme0n1p1 during curtin installation
/swap.img none swap sw 0 0
/dev/disk/by-id/usb-WDC_WD20_03FYYS-50W0B1_012345678900000004D-0:0-part1 /mnt/usb-WDC_WD20_03FYYS-50W0B1_012345678900000004D-0:0-part1 auto nosuid,nodev,nofail,noauto,x-gvfs-show 0 0
UUID=32DC-33A9 /boot/efi vfat defaults 0 1
==================== nvme0n1p2/etc/default/grub (filtered) =====================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false
================= nvme0n1p2: Location of files loaded by Grub ==================
GiB - GB File Fragment(s)
314,435661316 = 337,622720512 boot/grub/grub.cfg 1
78,214839935 = 83,982544896 boot/vmlinuz 2
242,026187897 = 259,873640448 boot/vmlinuz-6.14.0-24-generic 2
78,214839935 = 83,982544896 boot/vmlinuz-6.14.0-27-generic 2
242,026187897 = 259,873640448 boot/vmlinuz.old 2
319,626346588 = 343,196176384 boot/initrd.img 6
438,948768616 = 471,317651456 boot/initrd.img-6.11.0-17-generic 1
251,782611847 = 270,349520896 boot/initrd.img-6.14.0-24-generic 6
319,626346588 = 343,196176384 boot/initrd.img-6.14.0-27-generic 6
251,782611847 = 270,349520896 boot/initrd.img.old 6
=================== nvme0n1p2: ls -l /etc/grub.d/ (filtered) ===================
-rwxr-xr-x 1 root root 18133 Sep 11 2024 10_linux
-rwxr-xr-x 1 root root 43202 Sep 11 2024 10_linux_zfs
-rwxr-xr-x 1 root root 14513 Sep 11 2024 20_linux_xen
-rwxr-xr-x 1 root root 786 Sep 11 2024 25_bli
-rwxr-xr-x 1 root root 13120 Sep 11 2024 30_os-prober
-rwxr-xr-x 1 root root 1174 Sep 11 2024 30_uefi-firmware
-rwxr-xr-x 1 root root 722 Dec 5 2024 35_fwupd
-rwxr-xr-x 1 root root 214 Sep 11 2024 40_custom
-rwxr-xr-x 1 root root 215 Sep 11 2024 41_custom
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
nvme0n1p2,
using the following options: nvme0n1p1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 24.04.2 LTS entry (nvme0n1p1/efi/****/shim****.efi (**** will be updated in the final message) file) !
...De la pensée à l'objet...
Hors ligne
#6 Le 05/08/2025, à 12:32
- AnTeBiOs
Re : Grub en double
Montage de mon deuxième disque :
seb@ThinkPad-P15:~$ sudo mount -v /dev/nvme1n1 /mnt
[sudo] Mot de passe de seb :
mount : /dev/nvme1n1 monté sur /mnt.
seb@ThinkPad-P15:~$
Recherche de grub :
seb@ThinkPad-P15:~$ cat /mnt/etc/default/grub
cat: /mnt/etc/default/grub: Aucun fichier ou dossier de ce nom
seb@ThinkPad-P15:~$
...De la pensée à l'objet...
Hors ligne
#7 Le 05/08/2025, à 13:24
- iznobe
Re : Grub en double
Quand tu dis " GRUB en double " , peux tu preciser stp ?
on voit que le demarrage se fait sur P2 et toutes les references , alors que la partition EFI est P1 .
aurais tu installer en disant que le GRUB sera mis sur la partition 2 ?
il faudrait regarder précisément ce que contient la partition ext4 ( P2 ) pour GRUB , et certainement supprimer ce qui fait que ca demarre sur P2 .
toujours est il que tu devrais pouvoir changer ce comportement dans les priorités de démarrage du BIOS , mais comme le secure boot est activé , je prefere attendre que quelqu ' un de plus pointu que moi sur le sujet intervienne .
HS : Au passage , ton disque DATA ne comporte pas de table de partitions ... en cas de probleme , ca risque fort de coincer pour recuperer les données dessus ...
ce disque ne contient pas d' OS , comme je le supposais au depart , donc fausse piste .
Montre aussi :
sudo ls -l /boot/efi
sudo umount -v /boot/efi
sudo ls -l /boot/efi
Dernière modification par iznobe (Le 05/08/2025, à 13:27)
retour COMPLET et utilisable de commande | script montage partitions
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#8 Le 05/08/2025, à 13:49
- AnTeBiOs
Re : Grub en double
sudo ls -l /boot/efi :
seb@ThinkPad-P15:~$ sudo ls -l /boot/efi
[sudo] Mot de passe de seb :
total 4
drwxr-xr-x 5 root root 4096 juin 2 15:41 EFI
seb@ThinkPad-P15:~$
sudo umount -v /boot/efi
seb@ThinkPad-P15:~$ sudo umount -v /boot/efi
umount: /boot/efi démonté
seb@ThinkPad-P15:~$
sudo ls -l /boot/efi
seb@ThinkPad-P15:~$ sudo ls -l /boot/efi
total 0
seb@ThinkPad-P15:~$
H.S. : J'ai perdu des données en faisant quelques fausses manips et en tentant de récupérer j'ai foutu le bordel d'ou la sans doute absence de table de partition ... j'ai un document excel à récupérer qui me sortirait une sacrée épine du pied ...
...De la pensée à l'objet...
Hors ligne
#9 Le 06/08/2025, à 09:51
- geole
Re : Grub en double
Bonjour.
Il faudrait que tu postes une photo de ton grub "PIRATE" car on ne voit pas du tout d’où il sort.
A tout hasard vérifie que le bios est bien positionné sur EFI first.
Car s’il était positione sur Legacy first, il se pourrait que le second nvme ait eu à un moment donné un grub d’installé.
Pour le second problème, installe testdisk et regarde ce qu’il peut visualiser dans le nvme DATA
Dernière modification par geole (Le 06/08/2025, à 09:54)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#10 Le 06/08/2025, à 11:19
- AnTeBiOs
Re : Grub en double
Voilà les photos que j'ai pu prendre ... je ne sais pas si c'est très pertinent ... quoi qu'il en soit de temps à autres , je n'arrive pas à définir quand il démarre sur un grub qui dure 10s et plante ... parfois démarre sur un grub à 30s et démarre normalement, l'idée c'est qu'il retienne sur quel mode il démarre pour ne plus avoir de grub ...
Pour le second problème, testdisk me renvoie ça :
TestDisk 7.1, Data Recovery Utility, July 2019
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org
Disk /dev/nvme1n1 - 512 GB / 476 GiB - CHS 488386 64 32
Partition Start End Size in sectors
>* Linux 131420 0 1 192065 63 32 124203008 [rootfs]
P HPFS - NTFS 221862 0 1 271978 63 32 102639616
P HPFS - NTFS 273189 0 1 273719 63 32 1087488
L HPFS - NTFS 297257 0 1 297356 63 32 204800
Structure: Ok. Use Up/Down Arrow keys to select partition.
Use Left/Right Arrow keys to CHANGE partition characteristics:
*=Primary bootable P=Primary L=Logical E=Extended D=Deleted
Keys A: add partition, L: load backup, T: change type, P: list files,
Enter: to continue
ext4 blocksize=4096 Large_file Sparse_SB Recover, 63 GB / 59 GiB
Par contre c'est depuis que j'ai bidouillé la dedans que j'ai des ennuis. J'ai perdu des données sensibles notement un fichier excel que j'ai essayé de retrouver en "jouant" avec testdisk résultat pas de fichier et quelques soucis ...
je suis plutot refroidis de jouer la dedan ... en tous cas pas sans accompagnement ...
Merci pour ton retour <3
Dernière modification par AnTeBiOs (Le 06/08/2025, à 11:21)
...De la pensée à l'objet...
Hors ligne
#11 Le 06/08/2025, à 13:33
- iznobe
Re : Grub en double
Salut , vu :
Suggested repair: ______________________________________________________________ The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of nvme0n1p2, using the following options: nvme0n1p1/boot/efi Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups
ce que je ferais :
je demarrerais en live pour lancer boot-repair
en mode avancé , je demanderais a supprimer le grub qui est dans nvme0n1p2 .
je lancerais ensuite une reinstallation du grub " standard " , histoire de voir que tout va bien .
puis reglage suivi de " sudo update-grub " et redemarrage .
Dernière modification par iznobe (Le 06/08/2025, à 13:35)
retour COMPLET et utilisable de commande | script montage partitions
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#12 Le 06/08/2025, à 14:27
- AnTeBiOs
Re : Grub en double
Je viens de me faire un live disk. J'ai suivi tes consignes et voici ce que j'obtiens :
boot-info-4ppa2081 [20250806_1423]
============================== Boot Info Summary ===============================
=> 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 (,msdos2)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
nvme0n1p1: _____________________________________________________________________
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 /efi/Microsoft/Boot/bootmgfw.efi
nvme0n1p2: _____________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 24.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
nvme1n1: _______________________________________________________________________
File system: ext4
Boot sector type: Unknown
Boot sector info:
Operating System:
Boot files:
================================ 1 OS detected =================================
OS#1 (linux): L'OS actuellement utilisé - Ubuntu 24.04.2 LTS on nvme0n1p2
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: TU106GLM [Quadro RTX 3000 Mobile / Max-Q] Coffee Lake-S GT2 [UHD Graphics P630] from NVIDIA Corporation Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.14.0-27-generic root=UUID=fb7b25ef-c33b-4acb-a960-2d79b58f1329 ro quiet splash vt.handoff=7
df -Th / : /dev/nvme0n1p2 ext4 468G 279G 165G 63% /
===================================== UEFI =====================================
BIOS/UEFI firmware: N30ET57W (1.40 )(1.40) from LENOVO
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,001B,0019,001A,001C,001D,001E,001F,0020,0021,0022,0023
Boot0000* Ubuntu HD(1,MBR,0x0,0x800,0x219800)/File(\EFI\ubuntu\shimx64.efi)
Boot0010 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011 Boot Menu FvFile(126a762d-5758-4fca-8531-201a7f57f850)
Boot0012 Diagnostic Splash Screen FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0013 Lenovo Diagnostics FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)
Boot0014 Regulatory Information FvFile(478c92a0-2622-42b7-a65d-5894169e4d24)
Boot0015 ThinkShield secure wipe FvFile(3593a0d5-bd52-43a0-808e-cbff5ece2477)
Boot0016 Startup Interrupt Menu FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
Boot0017 Rescue and Recovery FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
Boot0018 MEBx Hot Key FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
Boot0019* USB CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot001A* USB FDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot001B* NVMe0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a400)
Boot001C* NVMe1 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a401)
Boot001D* ATA HDD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
Boot001E* ATA HDD1 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f601)
Boot001F* USB HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot0020* PXE BOOT VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Boot0021* LENOVO CLOUD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,ad38ccbbf7edf04d959cf42aa74d3650)/Uri(https://download.lenovo.com/pccbbs/cdeploy/efi/boot.efi)
Boot0022 Other CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35406)
Boot0023 Other HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f606)
Boot0024* USBR BOOT CDROM PciRoot(0x0)/Pci(0x14,0x0)/USB(15,1)
Boot0025* USBR BOOT Floppy PciRoot(0x0)/Pci(0x14,0x0)/USB(15,0)
Boot0026* ATA HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
Boot0027* ATAPI CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
07e25dcaf57c776875f78fa36827c58e nvme0n1p1/BOOT/bkpbootx64.efi
07e25dcaf57c776875f78fa36827c58e nvme0n1p1/BOOT/bootx64.efi
39bc76ff6662f4fbe9aa116e4c997b41 nvme0n1p1/BOOT/fbx64.efi
94c7467f956700d44c5b4dcd3967535c nvme0n1p1/BOOT/grubx64.efi
4ba5a5aad43c197e9fb58b76b404d287 nvme0n1p1/BOOT/mmx64.efi
94c7467f956700d44c5b4dcd3967535c nvme0n1p1/ubuntu/grubx64.efi
4ba5a5aad43c197e9fb58b76b404d287 nvme0n1p1/ubuntu/mmx64.efi
07e25dcaf57c776875f78fa36827c58e nvme0n1p1/ubuntu/shimx64.efi
94c7467f956700d44c5b4dcd3967535c nvme0n1p1/Microsoft/Boot/bootmgfw.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
nvme0n1 : notGPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
nvme0n1p2 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
nvme0n1p1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
nvme0n1p2 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4
nvme0n1p1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, vfat
Partitions info (3/3): _________________________________________________________
nvme0n1p2 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, nvme0n1
nvme0n1p1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
fdisk -l (filtered): ___________________________________________________________
Disk nvme1n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 0x00000000
Disk nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 0x00000000
Boot Start End Sectors Size Id Type
nvme0n1p1 * 2048 2203647 2201600 1G c W95 FAT32 (LBA)
nvme0n1p2 2203648 1000212479 998008832 475.9G 83 Linux
parted -lm (filtered): _________________________________________________________
nvme0n1:512GB:nvme:512:512:msdos:SKHynix_HFS512GD9TNI-L2B0B:;
1:1049kB:1128MB:1127MB:fat32::boot, lba;
2:1128MB:512GB:511GB:ext4::;
nvme1n1:512GB:nvme:512:512:msdos:SKHynix_HFS512GD9TNI-L2B0B:;
Free space >10MiB: ______________________________________________________________
nvme1n1: 0.00MiB:488386MiB:488386MiB
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
nvme1n1 ext4 2a5970de-2ae4-494d-9ed2-d1c015590e8d DATA
nvme0n1
├─nvme0n1p1 vfat 32DC-33A9
└─nvme0n1p2 ext4 fb7b25ef-c33b-4acb-a960-2d79b58f1329
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/nvme0n1p1 1G 1% /mnt/boot-sav/nvme0n1p1
/dev/nvme0n1p2 164.7G 60% /
efivarfs 89.1K 62% /sys/firmware/efi/efivars
Mount options (filtered): ______________________________________________________
/dev/nvme0n1p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/nvme0n1p2 ext4 rw,relatime
=================== nvme0n1p1/efi/ubuntu/grub.cfg (filtered) ===================
search.fs_uuid fb7b25ef-c33b-4acb-a960-2d79b58f1329 root
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
=================== nvme0n1p2/boot/grub/grub.cfg (filtered) ====================
Ubuntu fb7b25ef-c33b-4acb-a960-2d79b58f1329
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
======================== nvme0n1p2/etc/fstab (filtered) ========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p2 during curtin installation
/dev/disk/by-uuid/fb7b25ef-c33b-4acb-a960-2d79b58f1329 / ext4 defaults 0 1
# /boot/efi was on /dev/nvme0n1p1 during curtin installation
/swap.img none swap sw 0 0
/dev/disk/by-id/usb-WDC_WD20_03FYYS-50W0B1_012345678900000004D-0:0-part1 /mnt/usb-WDC_WD20_03FYYS-50W0B1_012345678900000004D-0:0-part1 auto nosuid,nodev,nofail,noauto,x-gvfs-show 0 0
==================== nvme0n1p2/etc/default/grub (filtered) =====================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
================= nvme0n1p2: Location of files loaded by Grub ==================
GiB - GB File Fragment(s)
34,670692444 = 37,227372544 boot/grub/grub.cfg 1
229,339370728 = 246,251274240 boot/grub/i386-pc/core.img 1
78,214839935 = 83,982544896 boot/vmlinuz 2
242,026187897 = 259,873640448 boot/vmlinuz-6.14.0-24-generic 2
78,214839935 = 83,982544896 boot/vmlinuz-6.14.0-27-generic 2
242,026187897 = 259,873640448 boot/vmlinuz.old 2
315,790424347 = 339,077386240 boot/initrd.img 7
438,948768616 = 471,317651456 boot/initrd.img-6.11.0-17-generic 1
251,782611847 = 270,349520896 boot/initrd.img-6.14.0-24-generic 6
315,790424347 = 339,077386240 boot/initrd.img-6.14.0-27-generic 7
251,782611847 = 270,349520896 boot/initrd.img.old 6
=================== nvme0n1p2: ls -l /etc/grub.d/ (filtered) ===================
-rwxr-xr-x 1 root root 18133 Mar 17 14:20 10_linux
-rwxr-xr-x 1 root root 43202 Mar 17 14:20 10_linux_zfs
-rwxr-xr-x 1 root root 14513 Mar 17 14:20 20_linux_xen
-rwxr-xr-x 1 root root 786 Mar 17 14:20 25_bli
-rwxr-xr-x 1 root root 13120 Mar 17 14:20 30_os-prober
-rwxr-xr-x 1 root root 1174 Mar 17 14:20 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Mar 17 14:20 40_custom
-rwxr-xr-x 1 root root 215 Mar 17 14:20 41_custom
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi of
nvme0n1p2,
using the following options: nvme0n1p1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 24.04.2 LTS entry (nvme0n1p1/efi/****/grub****.efi (**** will be updated in the final message) file) !
Par contre plus de grub au démarrage, sauf quand il plante au démarrage (1/3 1/5 ça dépends si j'ai bidouillé ou non ... )
...De la pensée à l'objet...
Hors ligne
#13 Le 06/08/2025, à 14:38
- AnTeBiOs
Re : Grub en double
Bon j'ai un volume EFI qui est apparu du coup ... Plus ça va et plus je pense qu'il faut que je réinstalle ma machine ...
...De la pensée à l'objet...
Hors ligne
#14 Le 06/08/2025, à 14:39
- iznobe
Re : Grub en double
ton fichier /etc/default/grub :
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
donc normal que tu n' es plus le GRUB au demarrage .
c' est bien ce que tu voulais non ?
la partition EFI , c' est normal aussi .
PS : maintenant on voit que le GRUB est en mode LEGACY :
=> 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 (,msdos2)/boot/grub. It also embeds following components:
alors que boot-info dis :
===================================== UEFI ===================================== BIOS/UEFI firmware: N30ET57W (1.40 )(1.40) from LENOVO The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
...
Dernière modification par iznobe (Le 06/08/2025, à 14:47)
retour COMPLET et utilisable de commande | script montage partitions
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#15 Le 06/08/2025, à 17:01
- AnTeBiOs
Re : Grub en double
Oui c'est bien ce que je voulais
tant que c'est stable c'est ok pour moi, il me rest ecette histoire de table de partition sur DATA, j'avoue que si je pouvais retrouver la version des fichiers que j'avais avant ce début d'année je serais plus qu'heureux
...De la pensée à l'objet...
Hors ligne
#16 Le 06/08/2025, à 17:18
- iznobe
Re : Grub en double
pour les données sur DATA , il faut voir avec @geole .
il vaudrait mieux noter cette discussion resolue ( en editant le titre du 1er message , tout en haut ) et ouvrir une autre discussion pour recuperer les données de DATA .
retour COMPLET et utilisable de commande | script montage partitions
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#17 Le 06/08/2025, à 18:31
- geole
Re : Grub en double
Pour le second problème, testdisk me renvoie ça :
TestDisk 7.1, Data Recovery Utility, July 2019 Christophe GRENIER <grenier@cgsecurity.org> https://www.cgsecurity.org Disk /dev/nvme1n1 - 512 GB / 476 GiB - CHS 488386 64 32 Partition Start End Size in sectors >* Linux 131420 0 1 192065 63 32 124203008 [rootfs] P HPFS - NTFS 221862 0 1 271978 63 32 102639616 P HPFS - NTFS 273189 0 1 273719 63 32 1087488 L HPFS - NTFS 297257 0 1 297356 63 32 204800 Structure: Ok. Use Up/Down Arrow keys to select partition. Use Left/Right Arrow keys to CHANGE partition characteristics: *=Primary bootable P=Primary L=Logical E=Extended D=Deleted Keys A: add partition, L: load backup, T: change type, P: list files, Enter: to continue ext4 blocksize=4096 Large_file Sparse_SB Recover, 63 GB / 59 GiB
Merci pour ton retour <3
Pour le moment, rien de bien. Il faut appuyer sur la touche entrée/return pour passer à la déte tion approfondie.
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
Pages : 1