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/08/2022, à 13:42

Korak

[Résolu à 90%] Menu de GRUB disparait

Bonjour,

J'ai installé Ubuntu 22.04 sur un nouveau PC en dual-boot avec Windows 11 et tout allait bien, le menu de GRUB apparaissait comme prévu.

Ce matin, j'ai réagi à un message de sécurité de Windows et au démarrage suivant, plus de menu de GRUB. Démarrage direct sur Windows.

Boot-repair n'arrive pas a me dépanner mais voici un rapport Boot-info :

boot-info-4ppa200                                              [20220807_1328]

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

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

nvme0n1p1: _____________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/10/11/2012: 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/HP/DI.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg 
                       /efi/HP/BIOSUpdate/BiosMgmt.efi 
                       /efi/HP/BIOSUpdate/CryptRSA.efi 
                       /efi/HP/SystemDiags/CryptRSA.efi 
                       /efi/HP/SystemDiags/DI.efi 
                       /efi/HP/SystemDiags/SysDiags.efi 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi

nvme0n1p2: _____________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 

nvme0n1p3: _____________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/10/11/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 7
    Boot files:        /Windows/System32/winload.exe

nvme0n1p4: _____________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/10/11/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 22.04.1 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub


================================ 2 OS detected =================================

OS#1:   L'OS actuellement utilisé - Ubuntu 22.04.1 LTS CurrentSession on nvme0n1p5
OS#2:   Windows 7 on nvme0n1p3

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

CPU architecture: 64-bit
Video: Lucienne from Advanced Micro Devices, Inc. [AMD/ATI]
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.15.0-43-generic root=UUID=e179e992-3794-4c16-be1f-540e62a06cc9 ro quiet splash vt.handoff=7
df -Th / : /dev/nvme0n1p5   ext4   276G     14G  249G   6% /

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

BIOS/UEFI firmware: F.15(15.15) from AMI
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot enabled but mokutil says: SecureBoot enabled - Veuillez indiquer ce message à boot.repair@gmail.com.
Timeout: 0 seconds
BootOrder: 0000,9999
Boot0000* Windows Boot Manager	HD(1,GPT,7673eb0e-e6b8-439a-9dbe-8ed1a6c7e8f0,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.}...&................
Boot9999* USB Drive (UEFI)	PciRoot(0x0)/Pci(0x1d,0x0)/USB(16,0)..BO


============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

nvme0n1	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	has-win,	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
nvme0n1p3	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
nvme0n1p1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
nvme0n1p4	: 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
nvme0n1p3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	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
nvme0n1p3	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--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
nvme0n1p4	: 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: D7EF30C0-8769-4100-875D-3E66FCF07ECE
              Start        End   Sectors   Size Type
nvme0n1p1      2048     534527    532480   260M EFI System
nvme0n1p2    534528     567295     32768    16M Microsoft reserved
nvme0n1p3    567296  410419199 409851904 195.4G Microsoft basic data
nvme0n1p4 998946816 1000202239   1255424   613M Windows recovery environment
nvme0n1p5 410419200  998946815 588527616 280.6G Linux filesystem
Partition table entries are not in disk order.

parted -lm (filtered): _________________________________________________________

nvme0n1:512GB:nvme:512:512:gpt:SAMSUNG MZVLQ512HBLU-00BH1:;
1:1049kB:274MB:273MB:fat32:EFI system partition:boot, esp;
2:274MB:290MB:16.8MB::Microsoft reserved partition:msftres;
3:290MB:210GB:210GB:ntfs:Basic data partition:msftdata;
5:210GB:511GB:301GB:ext4::;
4:511GB:512GB:643MB:ntfs:Basic data partition:hidden, diag;

blkid (filtered): ______________________________________________________________

NAME        FSTYPE   UUID                                 PARTUUID                             LABEL            PARTLABEL
nvme0n1                                                                                                         
├─nvme0n1p1 vfat     14E8-2D5C                            7673eb0e-e6b8-439a-9dbe-8ed1a6c7e8f0 SYSTEM           EFI system partition
├─nvme0n1p2                                               74ec88a2-6510-43fe-a309-d40613a47be7                  Microsoft reserved partition
├─nvme0n1p3 ntfs     2A8A9DF48A9DBD2F                     10fd0683-1b86-414d-a87b-383a2f2bc4ce Windows          Basic data partition
├─nvme0n1p4 ntfs     6AFC13A7FC136C97                     7fba147a-92fe-405c-9932-e1092b40833d Windows RE tools Basic data partition
└─nvme0n1p5 ext4     e179e992-3794-4c16-be1f-540e62a06cc9 d1ca3a6b-9dea-4109-b091-a5757506d323                  

Mount points (filtered): _______________________________________________________

                        Avail Use% Mounted on
/dev/nvme0n1p3         142.7G  27% /mnt/boot-sav/nvme0n1p3
/dev/nvme0n1p4          66.9M  89% /mnt/boot-sav/nvme0n1p4
/dev/nvme0n1p5           248G   5% /

Mount options (filtered): ______________________________________________________

/dev/nvme0n1p3         fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/nvme0n1p4         fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/nvme0n1p5         ext4            rw,relatime,errors=remount-ro,stripe=32

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

search.fs_uuid e179e992-3794-4c16-be1f-540e62a06cc9 root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   e179e992-3794-4c16-be1f-540e62a06cc9
Ubuntu, with Linux 5.15.0-43-generic   e179e992-3794-4c16-be1f-540e62a06cc9
Ubuntu, with Linux 5.15.0-25-generic   e179e992-3794-4c16-be1f-540e62a06cc9
Windows Boot Manager (on nvme0n1p1)   osprober-efi-14E8-2D5C
### 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=e179e992-3794-4c16-be1f-540e62a06cc9 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=14E8-2D5C  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

==================== nvme0n1p5/etc/default/grub (filtered) =====================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=30
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

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

           GiB - GB             File                                 Fragment(s)
 204,090702057 = 219,140722688  boot/grub/grub.cfg                             1
 203,502513885 = 218,509160448  boot/vmlinuz                                   1
 201,351558685 = 216,199589888  boot/vmlinuz-5.15.0-25-generic                 2
 203,502513885 = 218,509160448  boot/vmlinuz-5.15.0-43-generic                 1
 201,351558685 = 216,199589888  boot/vmlinuz.old                               2
 404,097145081 = 433,896005632  boot/initrd.img                                1
 426,261234283 = 457,694515200  boot/initrd.img-5.15.0-25-generic              1
 404,097145081 = 433,896005632  boot/initrd.img-5.15.0-43-generic              1
 426,261234283 = 457,694515200  boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 18683 avr  15 23:50 10_linux
-rwxr-xr-x 1 root root 43031 avr  15 23:50 10_linux_zfs
-rwxr-xr-x 1 root root 14180 avr  15 23:50 20_linux_xen
-rwxr-xr-x 1 root root 13369 avr  15 23:50 30_os-prober
-rwxr-xr-x 1 root root  1372 avr  15 23:50 30_uefi-firmware
-rwxr-xr-x 1 root root   700 fév 19 14:21 35_fwupd
-rwxr-xr-x 1 root root   214 avr  15 23:50 40_custom
-rwxr-xr-x 1 root root   215 avr  15 23:50 41_custom

======================== nvme0n1p5/etc/grub.d/35_fwupd =========================

#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
   ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
      . /var/lib/fwupd/uefi_capsule.conf
      if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
      echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
      ${grub_probe:?}
      prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
	chainloader ${EFI_PATH}
}
EOF
      fi
fi



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
nvme0n1p5,
using the following options:  nvme0n1p1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups

Blockers in case of suggested repair: __________________________________________

 Please use this software in a live-session (live-CD or live-USB). This will enable this feature.

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.1 LTS CurrentSession entry (nvme0n1p1/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)

Y aurait-il une solution en ligne de commande que je n'ai pas trouvée ?

Je ne demande pas une réponse immédiate, je sais très bien que vous n'êtes pas présent en permanence.

Merci d'avance.

Dernière modification par Korak (Le 07/08/2022, à 16:46)


OS: Ubuntu 22.04 64 bits + Windows 11 64 bits en dualboot (BIOS UEFI, Secure Boot activé et table de partitions GPT)
PC portable HP 17-CP0308NF   Processeur: AMD Ryzen 7 5700U avec carte graphique AMD Lucienne intégrée au processeur.   Mémoire vive: 16 Go RAM
Quand vous ne trouvez pas la solution à un problème, cherchez des pistes menant à la solution !

Hors ligne

#2 Le 07/08/2022, à 13:52

iznobe

Re : [Résolu à 90%] Menu de GRUB disparait

Bonjour , vu que c ' est windows qui a fait des siennes , il faut verifier sur celui-ci que le fastboot est desactivé , que l' hibernation est desactivé , pour le secure boot je ne suis pas certain , avant de remettre en etat , sinon evidemment a la 1er occasion windows refera disparaitre le GRUB .
Sinon , beaucoup plus simple , tu supprimes completement windows , il ne t ' embetera plus tongue


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

En ligne

#3 Le 07/08/2022, à 14:01

Korak

Re : [Résolu à 90%] Menu de GRUB disparait

Salut iznobe,

Je garde Windows (comme toujours) car il me sert de temps en temps.

Ce que cherche a savoir, c'est ce qu'il s'est passé avec son truc de sécurité qu'il m'a signalé ce matin. Avant que j'accepte la proposition de Windows, tout allait bien.

Je précise que les 2 O.S. sont installé en côte-à-côte en UEFI depuis une semaine sur un disque SSD et que je n'ai rien modifié dans le BIOS UEFI.

Tu penses que ça vient du Fastboot ?

Dernière modification par Korak (Le 07/08/2022, à 14:03)


OS: Ubuntu 22.04 64 bits + Windows 11 64 bits en dualboot (BIOS UEFI, Secure Boot activé et table de partitions GPT)
PC portable HP 17-CP0308NF   Processeur: AMD Ryzen 7 5700U avec carte graphique AMD Lucienne intégrée au processeur.   Mémoire vive: 16 Go RAM
Quand vous ne trouvez pas la solution à un problème, cherchez des pistes menant à la solution !

Hors ligne

#4 Le 07/08/2022, à 14:10

iznobe

Re : [Résolu à 90%] Menu de GRUB disparait

je pense que ca vient d un truc que windows se permet d' activer et  qu ' il n' en a rien a faire des collegues ...

Comme tu ne nous donnes pas le message de securité qui est apparu , je ne peux pas deviner avec quoi ca a un rapport .
ce que je sais , c ' est que pour etre presque tranquille , il faut desactiver le fastboot et l ' hibernation ca c ' est certain . pour le secure boot il faudrait une personne plus competente que moi pour dire exactement .
Windows est capable de reactiver sans ton intervention le fast boot et l' hibernation , ca j' adore ! , c' est vrai que j' aime bien qu ' une machine decide de reactiver un truc que j ' ai pris la peine de desactiver ... ( ironie ) .

Dernière modification par iznobe (Le 07/08/2022, à 14:10)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

En ligne

#5 Le 07/08/2022, à 14:12

ar barzh paour

Re : [Résolu à 90%] Menu de GRUB disparait

ou bien c'est ce qui m'est arrivé quand je suis passé en 22.04

https://forum.ubuntu-fr.org/viewtopic.php?id=2073309

voir l'explication de nanny dans le post#2


EDIT
j'avai mal lu le post #1
"plus de menu grub" , démarrage direct sur Wxx
donc hors sujet

Dernière modification par ar barzh paour (Le 07/08/2022, à 14:21)


PC          : B760M DS3H DDR4,  12th Gen Intel(R) Core(TM) i3-12100, RAM DDR4 8GiB -2400 Ubuntu 22.04, 22.04, 23.04
Portable1 : Intel(R) Core(TM)2 Duo CPU     T6570  @ 2.10GHz RAM 4GiB DDR2 667 MHz Ubuntu 23.04 ( en voyage )
Portable2 : T5750  @ 2.00GHz RAM 1GiB DDR2 667 Mhz Ubuntu 20.04 ( batterie HS )
stourm a ran war bep tachenn (Angela Duval) ( Je combats sur tous les fronts )

Hors ligne

#6 Le 07/08/2022, à 14:16

Korak

Re : [Résolu à 90%] Menu de GRUB disparait

Le gros problème est que je n'ai pas noté le message de Windows mais c'était un truc du genre empêcher des trucs malveillants de s'installer/activer. Un truc qui est assez normal quand on y pense.

Qu'a fait Windows en réalité, c'est ça que je cherche a savoir !

Je sais démarrer sur Ubuntu sans problème en passant par le gestionnaire de démarrage du PC et en choisissant le fichier shrimx64.efi mais c'est moins pratique.


OS: Ubuntu 22.04 64 bits + Windows 11 64 bits en dualboot (BIOS UEFI, Secure Boot activé et table de partitions GPT)
PC portable HP 17-CP0308NF   Processeur: AMD Ryzen 7 5700U avec carte graphique AMD Lucienne intégrée au processeur.   Mémoire vive: 16 Go RAM
Quand vous ne trouvez pas la solution à un problème, cherchez des pistes menant à la solution !

Hors ligne

#7 Le 07/08/2022, à 14:22

Korak

Re : [Résolu à 90%] Menu de GRUB disparait

C'est un truc comme ça que je cherche :

be@be-HP-Laptop-17-cp0xxx:~$ sudo os-prober
[sudo] Mot de passe de be : 
/dev/nvme0n1p1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
be@be-HP-Laptop-17-cp0xxx:~$ sudo update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-43-generic
Found initrd image: /boot/initrd.img-5.15.0-43-generic
Found linux image: /boot/vmlinuz-5.15.0-25-generic
Found initrd image: /boot/initrd.img-5.15.0-25-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/nvme0n1p1@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
done
be@be-HP-Laptop-17-cp0xxx:~$ 

Mais après redémarrage du PC, pas mieux ! sad

Dernière modification par Korak (Le 07/08/2022, à 14:28)


OS: Ubuntu 22.04 64 bits + Windows 11 64 bits en dualboot (BIOS UEFI, Secure Boot activé et table de partitions GPT)
PC portable HP 17-CP0308NF   Processeur: AMD Ryzen 7 5700U avec carte graphique AMD Lucienne intégrée au processeur.   Mémoire vive: 16 Go RAM
Quand vous ne trouvez pas la solution à un problème, cherchez des pistes menant à la solution !

Hors ligne

#8 Le 07/08/2022, à 14:29

Korak

Re : [Résolu à 90%] Menu de GRUB disparait

Salut ar barzh paour,

C'est quel fichier qu'il faut modifier ?


OS: Ubuntu 22.04 64 bits + Windows 11 64 bits en dualboot (BIOS UEFI, Secure Boot activé et table de partitions GPT)
PC portable HP 17-CP0308NF   Processeur: AMD Ryzen 7 5700U avec carte graphique AMD Lucienne intégrée au processeur.   Mémoire vive: 16 Go RAM
Quand vous ne trouvez pas la solution à un problème, cherchez des pistes menant à la solution !

Hors ligne

#9 Le 07/08/2022, à 14:56

iznobe

Re : [Résolu à 90%] Menu de GRUB disparait

il faut faire :

sudo os-prober && sudo update-grub

apres redemarrage ca sera rentré dans l' ordre si le peripherique par defaut du BIOS est bien celui designant ubuntu .


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

En ligne

#10 Le 07/08/2022, à 15:35

Korak

Re : [Résolu à 90%] Menu de GRUB disparait

C'est gentil mais ce que tu me proposes est ce que j'ai fait tantôt à 14H22 !


OS: Ubuntu 22.04 64 bits + Windows 11 64 bits en dualboot (BIOS UEFI, Secure Boot activé et table de partitions GPT)
PC portable HP 17-CP0308NF   Processeur: AMD Ryzen 7 5700U avec carte graphique AMD Lucienne intégrée au processeur.   Mémoire vive: 16 Go RAM
Quand vous ne trouvez pas la solution à un problème, cherchez des pistes menant à la solution !

Hors ligne

#11 Le 07/08/2022, à 15:37

iznobe

Re : [Résolu à 90%] Menu de GRUB disparait

peux tu donner :

cat /etc/default/grub

Dernière modification par iznobe (Le 07/08/2022, à 15:42)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

En ligne

#12 Le 07/08/2022, à 15:44

Korak

Re : [Résolu à 90%] Menu de GRUB disparait

Voici :

be@be-HP-Laptop-17-cp0xxx:~$ cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=30
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
GRUB_DISABLE_OS_PROBER=false
be@be-HP-Laptop-17-cp0xxx:~$

OS: Ubuntu 22.04 64 bits + Windows 11 64 bits en dualboot (BIOS UEFI, Secure Boot activé et table de partitions GPT)
PC portable HP 17-CP0308NF   Processeur: AMD Ryzen 7 5700U avec carte graphique AMD Lucienne intégrée au processeur.   Mémoire vive: 16 Go RAM
Quand vous ne trouvez pas la solution à un problème, cherchez des pistes menant à la solution !

Hors ligne

#13 Le 07/08/2022, à 15:47

iznobe

Re : [Résolu à 90%] Menu de GRUB disparait

ok
EDIT : haaa , ben j' ai mal regardé elle y est deja tout a la fin !

donne :

efibootmgr

vu ca  dans le boot-info :

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

BIOS/UEFI firmware: F.15(15.15) from AMI
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot enabled but mokutil says: SecureBoot enabled - Veuillez indiquer ce message à boot.repair@gmail.com.
Timeout: 0 seconds
BootOrder: 0000,9999
Boot0000* Windows Boot Manager	HD(1,GPT,7673eb0e-e6b8-439a-9dbe-8ed1a6c7e8f0,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.}...&................
Boot9999* USB Drive (UEFI)	PciRoot(0x0)/Pci(0x1d,0x0)/USB(16,0)..BO

il faut en fait reinstaller le GRUB a priori .
je dirais donc :

sudo grub-install 

Dernière modification par iznobe (Le 07/08/2022, à 15:56)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

En ligne

#14 Le 07/08/2022, à 15:51

nany

Re : [Résolu à 90%] Menu de GRUB disparait

Bonjour,



Extrait du boot-info :

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

BIOS/UEFI firmware: F.15(15.15) from AMI
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot enabled but mokutil says: SecureBoot enabled - Veuillez indiquer ce message à boot.repair@gmail.com.
Timeout: 0 seconds
BootOrder: 0000,9999
Boot0000* Windows Boot Manager	HD(1,GPT,7673eb0e-e6b8-439a-9dbe-8ed1a6c7e8f0,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.}...&................
Boot9999* USB Drive (UEFI)	PciRoot(0x0)/Pci(0x1d,0x0)/USB(16,0)..BO

Il n’y a pas d’entrée Ubuntu, Windows semble avoir fait le ménage.
À tenter :

sudo grub-install

Hors ligne

#15 Le 07/08/2022, à 15:53

Korak

Re : [Résolu à 90%] Menu de GRUB disparait

C'est gentil de tenter de m'aider mais je me demande quelles sont tes connaissances réelles en Linux.
Relis mon retour de commande S.V.P.
La ligne est question y est présente !!!


OS: Ubuntu 22.04 64 bits + Windows 11 64 bits en dualboot (BIOS UEFI, Secure Boot activé et table de partitions GPT)
PC portable HP 17-CP0308NF   Processeur: AMD Ryzen 7 5700U avec carte graphique AMD Lucienne intégrée au processeur.   Mémoire vive: 16 Go RAM
Quand vous ne trouvez pas la solution à un problème, cherchez des pistes menant à la solution !

Hors ligne

#16 Le 07/08/2022, à 15:57

iznobe

Re : [Résolu à 90%] Menu de GRUB disparait

oui , j ' ai vu que tout en bas elle avait dejà ete rajoutée . j ' ai aussi edité mon message entre temps , mais tu n' as pas du le voir .

et @nany est venue a la rescousse et on arrive a la meme conclusion . plus d' entrée pour ubuntu dans le bootorder .

je ne suis pas doué pour les rapports boot-info ...

Dernière modification par iznobe (Le 07/08/2022, à 15:59)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

En ligne

#17 Le 07/08/2022, à 15:57

Korak

Re : [Résolu à 90%] Menu de GRUB disparait

Salut Nany,

be@be-HP-Laptop-17-cp0xxx:~$ sudo grub-install
[sudo] Mot de passe de be : 
Installation pour la plate-forme x86_64-efi.
Installation terminée, sans erreur.
be@be-HP-Laptop-17-cp0xxx:~$

Je redémarre ou je lance un sudo update-grub avant ?

En attendant, j'ai lancé :

be@be-HP-Laptop-17-cp0xxx:~$ sudo os-prober
/dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
be@be-HP-Laptop-17-cp0xxx:~$

Et on n'y voit que Windows.

Dernière modification par Korak (Le 07/08/2022, à 15:59)


OS: Ubuntu 22.04 64 bits + Windows 11 64 bits en dualboot (BIOS UEFI, Secure Boot activé et table de partitions GPT)
PC portable HP 17-CP0308NF   Processeur: AMD Ryzen 7 5700U avec carte graphique AMD Lucienne intégrée au processeur.   Mémoire vive: 16 Go RAM
Quand vous ne trouvez pas la solution à un problème, cherchez des pistes menant à la solution !

Hors ligne

#19 Le 07/08/2022, à 16:00

iznobe

Re : [Résolu à 90%] Menu de GRUB disparait

Korak a écrit :

En attendant, j'ai lancé :

be@be-HP-Laptop-17-cp0xxx:~$ sudo os-prober
/dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
be@be-HP-Laptop-17-cp0xxx:~$

Et on n'y voit que Windows.

c ' est normal , l ' OS ne se detecte pas lui-meme , mais il inscrit son entrée tout de meme .

Dernière modification par iznobe (Le 07/08/2022, à 16:00)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

En ligne

#20 Le 07/08/2022, à 16:18

Korak

Re : [Résolu à 90%] Menu de GRUB disparait

Merci Nany, tu m'as dépanné à 90%. tongue

La commande :

sudo grub-install

m'a dépanné.

Sauf si j'ai le malheur de démarrer Windows...

Je précise :

Grace à cette commande, le menu de GRUB est revenu comme avant.
Mais si je redémarre sous Windows puis que je redémarre le PC, plus de GRUB !
Je relance la commande (sous Ubuntu)  puis je redémarre et hop, menu de GRUB.

Mais qu'est ce que ce p....n de Windows 11 m'a fichu ce matin ?
Je vais voir si je trouve des pistes...

Dernière modification par Korak (Le 07/08/2022, à 17:06)


OS: Ubuntu 22.04 64 bits + Windows 11 64 bits en dualboot (BIOS UEFI, Secure Boot activé et table de partitions GPT)
PC portable HP 17-CP0308NF   Processeur: AMD Ryzen 7 5700U avec carte graphique AMD Lucienne intégrée au processeur.   Mémoire vive: 16 Go RAM
Quand vous ne trouvez pas la solution à un problème, cherchez des pistes menant à la solution !

Hors ligne

#21 Le 07/08/2022, à 16:21

Korak

Re : [Résolu à 90%] Menu de GRUB disparait

Un petit coup de :

sudo update-grub

pour voir ce que ça va donner ?


OS: Ubuntu 22.04 64 bits + Windows 11 64 bits en dualboot (BIOS UEFI, Secure Boot activé et table de partitions GPT)
PC portable HP 17-CP0308NF   Processeur: AMD Ryzen 7 5700U avec carte graphique AMD Lucienne intégrée au processeur.   Mémoire vive: 16 Go RAM
Quand vous ne trouvez pas la solution à un problème, cherchez des pistes menant à la solution !

Hors ligne

#22 Le 07/08/2022, à 16:25

iznobe

Re : [Résolu à 90%] Menu de GRUB disparait

Comme je le disais au debut de la discussion , regarde pour desactiver le fast boot et a y etre pour desactiver l' hibernation : https://docs.microsoft.com/fr-fr/troubl … ibernation
et
https://lecrabeinfo.net/desactiver-dema … ws-10.html


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

En ligne

#23 Le 07/08/2022, à 16:27

nany

Re : [Résolu à 90%] Menu de GRUB disparait

Korak a écrit :

Mais qu'est ce que ce p....n de Windows m'a fichu ce matin ?

nany a écrit :

Extrait du boot-info :

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

BIOS/UEFI firmware: F.15(15.15) from AMI
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot enabled but mokutil says: SecureBoot enabled - Veuillez indiquer ce message à boot.repair@gmail.com.
Timeout: 0 seconds
BootOrder: 0000,9999
Boot0000* Windows Boot Manager	HD(1,GPT,7673eb0e-e6b8-439a-9dbe-8ed1a6c7e8f0,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.}...&................
Boot9999* USB Drive (UEFI)	PciRoot(0x0)/Pci(0x1d,0x0)/USB(16,0)..BO

Il n’y a pas d’entrée Ubuntu, Windows semble avoir fait le ménage.

Et il semblerait qu’il le refasse à chaque fois qu’on le lance.
Malheureusement, n’ayant plus de connaissance en Windows, je ne saurai aider davantage.

Hors ligne

#24 Le 07/08/2022, à 16:30

Korak

Re : [Résolu à 90%] Menu de GRUB disparait

Je vais y regarder entre autres pistes iznode.
Si c'est ça, c'est que Windows a activé le Fastboot ce matin.
Ce qui me semble bizarre, c'est qu'en général le Fastboot est activé par défaut !
Mais je vais vérifier ça tantôt !

en attendant, merci à vous pour aide et piste. smile


OS: Ubuntu 22.04 64 bits + Windows 11 64 bits en dualboot (BIOS UEFI, Secure Boot activé et table de partitions GPT)
PC portable HP 17-CP0308NF   Processeur: AMD Ryzen 7 5700U avec carte graphique AMD Lucienne intégrée au processeur.   Mémoire vive: 16 Go RAM
Quand vous ne trouvez pas la solution à un problème, cherchez des pistes menant à la solution !

Hors ligne

#25 Le 07/08/2022, à 16:35

Korak

Re : [Résolu à 90%] Menu de GRUB disparait

C'est un peu le problème avec un PC HP !

3 PC portables HP et un seul ne m'a pas trop posé de problème en dualboot Windows/Ubuntu.

Je pense qu'à l'époque (environ 10 ans) c'est Malbo qui m'a donné des pistes qui ont fini par me dépanner.


OS: Ubuntu 22.04 64 bits + Windows 11 64 bits en dualboot (BIOS UEFI, Secure Boot activé et table de partitions GPT)
PC portable HP 17-CP0308NF   Processeur: AMD Ryzen 7 5700U avec carte graphique AMD Lucienne intégrée au processeur.   Mémoire vive: 16 Go RAM
Quand vous ne trouvez pas la solution à un problème, cherchez des pistes menant à la solution !

Hors ligne