#1 Le 26/04/2024, à 12:03
- Stapazerty
Problème avec Grub & échec de Boot-repair
Bonjour,
J'ai voulu démarrer mon ordinateur comme habituellement mais l'écran est resté noir. J'ai utilisé le mode sans échec, voyant que tout semblait normal donc j'ai parcouru différents forums et il semblait que ça venait de grub. Donc j'ai utilisé boot-repair comme conseillé dans ce cas mais après un succès en apparence. Au redémarrage, pas de retour à la normale. Je vous laisse le résultat de boot-info. Est-ce qu'une âme charitable pourrait m'aider svp. Merci d'avance.
sudo update-grubboot-repair-4ppa2075 [20240426_1145]
============================= Boot Repair Summary ==============================
Default settings: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda2,
using the following options: sda1/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 22.04.4 LTS entry (sda1/efi/****/grub****.efi (**** will be updated in the final message) file) !
User settings: _________________________________________________________________
modprobe: FATAL: Module efivars not found in directory /lib/modules/6.5.0-28-generic
Veuillez sauvegarder vos données avant cette opération.
The settings chosen by the user will reinstall the grub-efi of
sda2,
using the following options: sda1/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups
rm /boot/efi/efi/Boot/bootx64.efi
mv /boot/efi/efi/Boot/bkpbootx64.efi /boot/efi/efi/Boot/bootx64.efi
/dev/sda2/boot/efi not empty
===================== Reinstall the grub-efi of /dev/sda2 ======================
grub-install --version
grub-install (GRUB) 2.06-2ubuntu7.2
modprobe: FATAL: Module efivars not found in directory /lib/modules/6.5.0-28-generic
modprobe efivars
efibootmgr -v before grub install
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0001,0002,0003,0004
Boot0000* ubuntu HD(1,GPT,573744a1-aeff-42bf-9a46-f126b014c8a6,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0001* UEFI: VerbatimSTORE N GO 1100 PciRoot(0x0)/Pci(0x14,0x0)/USB(2,0)/CDROM(1,0x23c,0x84c0)..BO
Boot0002* UEFI:CD/DVD Drive BBS(129,,0x0)
Boot0003* UEFI:Removable Device BBS(130,,0x0)
Boot0004* UEFI:Network Device BBS(131,,0x0)
uname -r
6.5.0-28-generic
grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
Installation finished. No error reported.
df /dev/sda1
mv /boot/efi/EFI/Boot/bootx64.efi /boot/efi/EFI/Boot/bkpbootx64.efi
cp /boot/efi/efi/ubuntu/grubx64.efi /boot/efi/EFI/Boot/bootx64.efi
grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
Installation finished. No error reported.
efibootmgr -v after grub install
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0001,0002,0003,0004
Boot0000* ubuntu HD(1,GPT,573744a1-aeff-42bf-9a46-f126b014c8a6,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0001* UEFI: VerbatimSTORE N GO 1100 PciRoot(0x0)/Pci(0x14,0x0)/USB(2,0)/CDROM(1,0x23c,0x84c0)..BO
Boot0002* UEFI:CD/DVD Drive BBS(129,,0x0)
Boot0003* UEFI:Removable Device BBS(130,,0x0)
Boot0004* UEFI:Network Device BBS(131,,0x0)
Warning: NVram was not modified.
update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Found linux image: /boot/vmlinuz-6.5.0-34-generic
Found initrd image: /boot/initrd.img-6.5.0-34-generic
Found linux image: /boot/vmlinuz-6.5.0-28-generic
Found initrd image: /boot/initrd.img-6.5.0-28-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Adding boot menu entry for UEFI Firmware Settings ...
Unhide GRUB boot menu in sda2/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 22.04.4 LTS (fichier sda1/efi/ubuntu/grubx64.efi) !
============================ Boot Info After Repair ============================
=> No boot loader is installed in the MBR of /dev/sda.
sda1: __________________________________________________________________________
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/mmx64.efi
/efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
/efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 22.04.4 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
================================ 1 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 22.04.4 LTS on sda2
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: CometLake-S GT2 [UHD Graphics 630] EFI VGA from Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.5.0-28-generic root=UUID=41fd90f2-34b0-4c2c-aa49-b8119f8e864b ro recovery nomodeset dis_ucode_ldr
df -Th / : /dev/sda2 ext4 219G 112G 96G 54% /
===================================== UEFI =====================================
BIOS/UEFI firmware: 1.80(5.17) from American Megatrends Inc.
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,0001,0002,0003,0004
Boot0000* ubuntu HD(1,GPT,573744a1-aeff-42bf-9a46-f126b014c8a6,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0001* UEFI: VerbatimSTORE N GO 1100 PciRoot(0x0)/Pci(0x14,0x0)/USB(2,0)/CDROM(1,0x23c,0x84c0)..BO
Boot0002* UEFI:CD/DVD Drive BBS(129,,0x0)
Boot0003* UEFI:Removable Device BBS(130,,0x0)
Boot0004* UEFI:Network Device BBS(131,,0x0)
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda2 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
sda1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sda2 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda2 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sda1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 223.58 GiB, 240065183744 bytes, 468877312 sectors
Disk identifier: 995A622B-FBE4-45AC-B720-4E5D91645C50
Start End Sectors Size Type
sda1 2048 1050623 1048576 512M EFI System
sda2 1050624 468875263 467824640 223.1G Linux filesystem
parted -lm (filtered): _________________________________________________________
sda:240GB:scsi:512:512:gpt:ATA WDC WDS240G2G0A-:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:240GB:240GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat 3A46-253E 573744a1-aeff-42bf-9a46-f126b014c8a6 EFI System Partition
└─sda2 ext4 41fd90f2-34b0-4c2c-aa49-b8119f8e864b 0fbc7583-dbb3-4f2b-b95e-d9a313311590
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda2 95.5G 51% /
efivarfs 220.6K 12% /sys/firmware/efi/efivars
Mount options (filtered): ______________________________________________________
/dev/sda2 ext4 rw,relatime,errors=remount-ro
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid 41fd90f2-34b0-4c2c-aa49-b8119f8e864b root hd0,gpt2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu 41fd90f2-34b0-4c2c-aa49-b8119f8e864b
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sda2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=41fd90f2-34b0-4c2c-aa49-b8119f8e864b / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=3A46-253E /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
======================= sda2/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false
==================== sda2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
92,253871918 = 99,056840704 boot/grub/grub.cfg 1
127,522083282 = 136,925794304 boot/vmlinuz 2
88,998607635 = 95,561527296 boot/vmlinuz-6.5.0-28-generic 1
127,522083282 = 136,925794304 boot/vmlinuz-6.5.0-34-generic 2
88,998607635 = 95,561527296 boot/vmlinuz.old 1
9,407432556 = 10,101153792 boot/initrd.img 1
9,391967773 = 10,084548608 boot/initrd.img-6.5.0-28-generic 1
9,407432556 = 10,101153792 boot/initrd.img-6.5.0-34-generic 1
9,391967773 = 10,084548608 boot/initrd.img.old 1
===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18683 Mar 25 2022 10_linux
-rwxr-xr-x 1 root root 43031 Mar 25 2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 Dec 18 2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 Mar 25 2022 30_os-prober
-rwxr-xr-x 1 root root 1372 Mar 25 2022 30_uefi-firmware
-rwxr-xr-x 1 root root 700 Feb 21 2022 35_fwupd
-rwxr-xr-x 1 root root 214 Jan 13 2021 40_custom
-rwxr-xr-x 1 root root 215 Mar 25 2022 41_custom
Dernière modification par Stapazerty (Le 26/04/2024, à 12:04)
Hors ligne
#2 Le 26/04/2024, à 15:52
- cqfd93
Re : Problème avec Grub & échec de Boot-repair
Modération
Plutôt que de demander la suppression de ce message, tu pourrais dire comment tu as résolu ton problème, ça pourrait servir à d'autres…
− cqfd93 −
Hors ligne