Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 07/03/2023, à 18:58

lalicorne

Grub-efi

Lenovo Thinkpad T 460 avec Ubuntu Kubuntu 22.10 installé
J'ai une partition NTFS inactive (je viens d'effacer Windows que j'avais en double boot)

Le menu Grub n'apparaît pas au démarrage.
Boot-info:

"The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda3,
using the following options:  sda2/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 Ubuntu 22.10 entry (sda2/efi/****/grub****.efi (**** will be updated in the final message) file) !"

L'éxécution de Boot-Repair ne résouds pas le problème.
Merci à celle ou celui qui pourra m'indiquer la solution.

Hors ligne

#2 Le 07/03/2023, à 21:36

geole

Re : Grub-efi

Bonsoir.
Merci de fournir l'URL du boot-info.


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#3 Le 07/03/2023, à 22:14

Qid

Re : Grub-efi

geole a écrit :

Merci de fournir l'URL du boot-info.

Oui ou le bootinfo info complet avec la mise en forme réclamée implicitement par les règles du forum (contrairement à ce qui a été fait dans le premier post)

D'autant que là il y a combien de chance que le problème vienne de la séquence de boot de l'uefi ?
(Élément qu'on aurait eu dans le bootinfo complet)


"GNU/Linux c'est que du bon mais M$ Windows ce n'est pas si mal"
Référent technique Ubuntu d'un Groupe d'Utilisateur du Libre
plus d'info sur mon profil

Hors ligne

#4 Le 11/03/2023, à 19:01

lalicorne

Re : Grub-efi

Merci pour ta réponse rapide?
Au deuxième boot-repair, tout semble rentré dans l'ordre (j'ai bien grub-Efi au démarrage), mais j'ai toujours l'avertissement en dernière ligne du boot-info:

https://paste.ubuntu.com/p/7pNtWSDsFF/

Hors ligne

#5 Le 11/03/2023, à 19:05

xubu1957

Re : Grub-efi

Bonjour,

Collage du Boot-info :

boot-info-4ppa203                                              [20230311_1853]

============================== Boot Info Summary ===============================

 => No boot loader is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Unknown
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda2: __________________________________________________________________________

    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/fwupdx64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg

sda3: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 22.10
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub

sda4: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        


================================ 1 OS detected =================================

OS#1:   Ubuntu 22.10 on sda3

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: Skylake GT2 [HD Graphics 520] from Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.19.0-35-generic root=UUID=9b750b2c-5a84-46d8-a763-393614131c66 ro quiet splash vt.handoff=7
df -Th / : /dev/sda3        ext4    23G     11G   12G  49% /

===================================== UEFI =====================================

BIOS/UEFI firmware: R06ET71W (1.45 )(1.45) 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,0017,0018,0019,001A,001B,001C
Boot0000* ubuntu	HD(2,GPT,6dfb21d9-3b6d-4ad0-92f4-33d4a8acb355,0x411e000,0x208000)/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  Startup Interrupt Menu	FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
Boot0015  Rescue and Recovery	FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
Boot0016  MEBx Hot Key	FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
Boot0017* USB CD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot0018* USB FDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0019* NVMe0	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a400)
Boot001A* ATA HDD0	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
Boot001B* USB HDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot001C* PCI LAN	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Boot001D* IDER BOOT CDROM	PciRoot(0x0)/Pci(0x14,0x0)/USB(11,1)
Boot001E* IDER BOOT Floppy	PciRoot(0x0)/Pci(0x14,0x0)/USB(11,0)
Boot001F* ATA HDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
Boot0020* ATAPI CD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)


============================= 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): _________________________________________________________

sda3	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	not-far
sda4	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda2	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far

Partitions info (2/3): _________________________________________________________

sda3	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda2	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda3	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda4	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda2	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--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: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk identifier: EDD29EF7-9E43-4492-A698-B412F388C8CB
          Start       End   Sectors  Size Type
sda1       2048  68280319  68278272 32.6G Microsoft basic data
sda2   68280320  70410239   2129920    1G EFI System
sda3   70410240 118538239  48128000 22.9G Linux filesystem
sda4  118538240 500117503 381579264  182G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:256GB:scsi:512:512:gpt:ATA SAMSUNG MZ7TY256:;
1:1049kB:35.0GB:35.0GB:ntfs::msftdata;
2:35.0GB:36.1GB:1091MB:fat32:EFI System Partition:boot, esp;
3:36.1GB:60.7GB:24.6GB:ext4::;
4:60.7GB:256GB:195GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL PARTLABEL
sda                                                                                             
├─sda1 ntfs     46D17FB420D08D07                     311c0221-a5c2-4cc0-930e-276528362f15       
├─sda2 vfat     3615-04D2                            6dfb21d9-3b6d-4ad0-92f4-33d4a8acb355 BOOT  EFI System Partition
├─sda3 ext4     9b750b2c-5a84-46d8-a763-393614131c66 de2d729b-b5a4-43a9-8790-b9e6daaa4204       
└─sda4 ext4     89a83df2-e329-4c8e-8558-0c49cf0458bc d38db0eb-b0f2-4e79-aada-1d34009215c8       

Mount points (filtered): _______________________________________________________

             Avail Use% Mounted on
/dev/sda1    32.5G   0% /media/irma/46D17FB420D08D07
/dev/sda3      11G  46% /
/dev/sda4   154.1G   8% /home

Mount options (filtered): ______________________________________________________


===================== sda2/efi/ubuntu/grub.cfg (filtered) ======================

search.fs_uuid 9b750b2c-5a84-46d8-a763-393614131c66 root hd0,gpt3 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

====================== sda3/boot/grub/grub.cfg (filtered) ======================

Ubuntu   9b750b2c-5a84-46d8-a763-393614131c66
Ubuntu, with Linux 5.19.0-35-generic   9b750b2c-5a84-46d8-a763-393614131c66
Ubuntu, with Linux 5.19.0-31-generic   9b750b2c-5a84-46d8-a763-393614131c66
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda3/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda3 during installation
UUID=9b750b2c-5a84-46d8-a763-393614131c66 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda2 during installation
UUID=3615-04D2  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sda4 during installation
UUID=89a83df2-e329-4c8e-8558-0c49cf0458bc /home           ext4    defaults        0       2

======================= sda3/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

==================== sda3: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
  48,714866638 = 52,307189760   boot/grub/grub.cfg                             1
  48,874588013 = 52,478689280   boot/vmlinuz                                   2
  45,773029327 = 49,148416000   boot/vmlinuz-5.19.0-31-generic                 2
  48,874588013 = 52,478689280   boot/vmlinuz-5.19.0-35-generic                 2
  45,773029327 = 49,148416000   boot/vmlinuz.old                               2
  51,074214935 = 54,840520704   boot/initrd.img                                6
  48,433589935 = 52,005171200   boot/initrd.img-5.19.0-31-generic              5
  51,074214935 = 54,840520704   boot/initrd.img-5.19.0-35-generic              6
  48,433589935 = 52,005171200   boot/initrd.img.old                            5

===================== sda3: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 18683 Sep 19 16:00 10_linux
-rwxr-xr-x 1 root root 43263 Sep 19 16:00 10_linux_zfs
-rwxr-xr-x 1 root root 14387 Sep 19 16:00 20_linux_xen
-rwxr-xr-x 1 root root 13369 Sep 19 16:00 30_os-prober
-rwxr-xr-x 1 root root  1372 Sep 19 16:00 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Aug 30  2022 35_fwupd
-rwxr-xr-x 1 root root   214 Sep 19 16:00 40_custom
-rwxr-xr-x 1 root root   215 Sep 19 16:00 41_custom



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda3,
using the following options:  sda2/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 Ubuntu 22.10 entry (sda2/efi/****/grub****.efi (**** will be updated in the final message) file) !

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

#6 Le 11/03/2023, à 19:13

lalicorne

Re : Grub-efi

Merci, je ne comprends pas la recommandation de la dernière ligne/

Hors ligne

#7 Le 11/03/2023, à 23:21

geole

Re : Grub-efi

Bonsoir.
Lorsque cela boote, il n'y a pas lieu de suivre les recommandations, surtout si elles sont déjà opérationnelles.
Please do not forget to make your UEFI firmware boot on the Ubuntu 22.10 entry (sda2/efi/****/grub****.efi (**** will be updated in the final message) file) !
Cette commande devrait le confirmer

efibootmgr -v

Dernière modification par geole (Le 11/03/2023, à 23:25)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne