Page 2 sur 3

Re: Sortie de veille impossible

Posté : jeu. 29 août 2024 20:44
par Did

Dernier message de la page précédente :

Bon, j'ai créé une clé USB avec "BIOS Update (Bootable CD)" pris sur LENOVO (cf plus haut).
Avec le fichier .ISO etc

Mais pour la suite, je coince un peu.. (ça ne doit pas être la même manip que pour démarrer, par exemple, sur une clé OS Tails : ça, ça marche pas)

-> F1 enter BIOS Setup utility..
Mais après .??

Je ne sais pas comment régler ça... ?? Si vous pouvez me dire ?
(toute façon, je doute que le BIOS soit en cause, mais pourquoi pas remettre ça à niveau)

Re: Sortie de veille impossible

Posté : jeu. 29 août 2024 23:16
par Armaggion
Je suis allé lire le README, et ça confirme ce qu'on se disait :
"Ce BIOS Update CD peut démarrer l'ordinateur quelque soit l'OS et met à jour le BIOS UEFI stockés dans l'ordinateur Thinkpad afin de corriger des problèmes, ajouter de nouvelles fonctionnalités ou étendre des fonctionnalités existantes." (traduit de l'anglais)
Je lis aussi :
"Pour ce faire, il est nécessaire de préparer séparément le logiciel d'écriture de CD/DVD/BD (avec la fonction de création de CD/DVD/BD à partir du fichier image ISO)." (traduit de l'anglais)
Et la confirmation que le logiciel en question est indépendant du système.

Je t'invite donc à bien lire ce fichier README qui devrait te donner les bonnes clés : https://download.lenovo.com/pccbbs/mobiles/n1gur43w.txt

Ca ne garantit pas de solutionner ton problème de base, mais ça sera déjà une première étape.

Regarde également ce que donne le résultat de cette commande qui te donnera les logs du dernier arrêt du système, ce qui pourrait t'orienter vers un diagnostic si la mise à jour du BIOS ne donnait rien :

Code : Tout sélectionner

journalctl -b -1 -r
-b pour les opérations de boot/shutdown
-1 pour dire que c'est le dernier que tu veux voir (pas le boot qui a suivi)
-r pour avoir le log trié en remontant dans le temps

Re: Sortie de veille impossible

Posté : ven. 30 août 2024 12:02
par Did
bonjour,
alors, comme le fichier cd bootable pose problème (0 octets sur la clé bootable), j'ai téléchargé un .exe et j'ai fait la mise à jour du BIOS de la partition windows.
C'est bon, c'est réglé.

Mais ça ne change rien à mon problème.
En fait, j'ai testé avec :

Code : Tout sélectionner

shutdown now
le pc s'éteint, mais seulement apparemment. En fait, il est en "mise en veille prolongée", et pas éteint.
Il apparaît donc clairement qu'il y a un souci de communication entre le BIOS et Mint, 22 c'est sûr, et peut-être déjà 21, car j'avais parfois ce souci aussi.

Avant, la touche pour sortir de veille, c'était soit un appui insistant (1 ou 2 sec) sur la touche Fn soit sur la touche "windows" à l'écran tactile.
Mais là, j'ai testé plein de touches, rien ne marche. Est-ce que vous savez quelle pourrait être la touche pour sortir de veille prolongée ?

Et voici une capture d'écran de la commande

Code : Tout sélectionner

journalctl -b -1 -r
Image

Merci pour votre aide.

Re: Sortie de veille impossible

Posté : ven. 30 août 2024 22:03
par Did
Bon...
là, c'est la misère.
Voyant en plus, plusieurs logiciels qui ne fonctionnent plus correctement, comme wine etc, je me décide à revenir à mint 21 en réinstallant mint 21 proprement.
Mais je m'y suis mal pris.
-- J'en ai profité pour réduire la partition windows dont je ne me sers pas, à environ 60Go (y a même pas 50% de ça qui est utilisé par windows).
-- sur le bout obtenu j'avais envie d'essayer primtux. J'installe et ça marche (sauf l'accès à un profil, on me demande un mot de passe que je n'ai pas... ??)
-- puis je veux formater la partition mint 22 et réinstaller dessus mint 21.
Et c'est là que ça ne va plus :
Verifiyng shim SBAT data failed : Security Policy Violaion. Something hais gobe seriously Wong: SBAT self-Check failed: Security Policy Violation

Je cherche et trouve ceci : https://forum.ubuntu-fr.org/viewtopic.php?id=2086664
Mais je m'y prends mal.
Là, en gros, la partition windows merde et je n'ai pas accès à la partition mint 21 installé, j'ai un message :
erreur: mauvaise signature du « shim»
erreur : le noyau doit d'abord être chargé
Appuyer sur une touche pour continuer
Alors, j'aimerais bien revenir à la config usine pour repartir sur du propre mais je ne vois pas comme faire. De la partition windows, ça lance des "réparations" mais qui n'aboutissent pas et si je demande de tout refaire, ça semble être ok, puis en fait non. Pas bon.

Comment je peux repartir de zéro ? Par le BIOS ?
Faudrait que j'arrive à avoir au moins un Mint 21 de propre pour dimanche soir... :(
Aide appréciée... :)

AHHHHH ! si je mets disable à secure boot dans le BIOS, là, je peux démarrer sur la partition mint 21 !
Vais attendre vos conseils pour la suite !

Re: Sortie de veille impossible

Posté : sam. 31 août 2024 10:33
par Did
Bonjour,
faut-il que je lance un nouveau sujet ?

En tout cas, voici en mode mint 21 live, boot repair, un rapport avant de lancer le logiciel :

Code : Tout sélectionner

boot-repair-4ppa200                                              [20240831_0801]

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

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

sda1: __________________________________________________________________________

    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/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 /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

    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:        

sda5: __________________________________________________________________________

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

sdb: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Grub2 (v1.99-2.00)
    Boot sector info:  Grub2 (v1.99-2.00) is installed in the boot sector of 
                       sdb and looks at sector 0 of the same hard drive for 
                       core.img, but core.img can not be found at this 
                       location.
    Mounting failed:   mount: /mnt/BootInfo/FD/sdb: /dev/sdb already mounted or mount point busy.


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

OS#1:   Primtux8 (2024-04) on sda3
OS#2:   Linux Mint 21 Vanessa (21) on sda5

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

CPU architecture: 64-bit
Video: Skylake GT2 [HD Graphics 520] from Intel Corporation
Live-session OS is Linuxmint 64-bit (Linux Mint 21, vanessa, x86_64)

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

BIOS/UEFI firmware: N1GETA9W (1.88 )(1.88) from LENOVO
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled - SecureBoot disabled - Please report this message to boot.repair@gmail.com.
BootNext: 0011
BootCurrent: 001B
Timeout: 2 seconds
BootOrder: 0001,0000,0010,0011,0012,0013,0017,0018,0019,001A,001B,001C
Boot0000* Windows Boot Manager	HD(1,GPT,314220fc-c77d-4c2f-be56-02ae6bdd05ef,0x800,0xf9800)/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.}....................
Boot0001* ubuntu	HD(1,GPT,314220fc-c77d-4c2f-be56-02ae6bdd05ef,0x800,0xf9800)/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(0x16,0x2)/Ata(0,1,0)
Boot001E* IDER BOOT Floppy	PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,0,0)
Boot001F* ATA HDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
Boot0020* ATAPI CD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)

64349b3622c65f495a99dbf6102496e3   sda1/Boot/bootx64.efi
a9c517741ac31962d7feb152948ad1ee   sda1/Boot/fbx64.efi
a660182adef313615746a665966d2ccc   sda1/Boot/mmx64.efi
a1da253696a304dce6b4668b70151c0e   sda1/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc   sda1/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3   sda1/ubuntu/shimx64.efi
3ff213addd49e6515922de34952223ad   sda1/Microsoft/Boot/bootmgfw.efi
b8736f6dbf1baf951d389be5a519fb32   sda1/Microsoft/Boot/bootmgr.efi

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

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

Partitions info (2/3): _________________________________________________________

sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
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,	recovery-or-hidden,	no-bmgr,	notwinboot
sda5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda3	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda4	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda5	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 4365D54B-E0D6-4B6D-B4A5-FD1010DF4B68
          Start        End   Sectors  Size Type
sda1       2048    1023999   1021952  499M EFI System
sda2    1024000    1286143    262144  128M Microsoft reserved
sda3    1286144  124166143 122880000 58.6G Microsoft basic data
sda4  990218240 1000214527   9996288  4.8G Windows recovery environment
sda5  256219136  990218239 733999104  350G Linux filesystem
Partition table entries are not in disk order.
Disk sdb: 57.3 GiB, 61530439680 bytes, 120176640 sectors
Disk identifier: 7D7473EA-FCE2-4E11-B09B-A49D0A25CE4C
        Start       End   Sectors  Size Type
sdb1       64   4775311   4775248  2.3G Microsoft basic data
sdb2  4775312   4783807      8496  4.1M EFI System
sdb3  4784128 120176576 115392449   55G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:512GB:scsi:512:512:gpt:ATA SK hynix SC300 M:;
1:1049kB:524MB:523MB:fat32:EFI system partition:boot, esp;
2:524MB:659MB:134MB::Microsoft reserved partition:msftres;
3:659MB:63.6GB:62.9GB:ext4:Basic data partition:msftdata;
5:131GB:507GB:376GB:ext4::;
4:507GB:512GB:5118MB:ntfs::diag;
sdb:61.5GB:scsi:512:512:gpt: USB  SanDisk 3.2Gen1:;
1:32.8kB:2445MB:2445MB::ISO9660:hidden, msftdata;
2:2445MB:2449MB:4350kB::Appended2:boot, esp;
3:2449MB:61.5GB:59.1GB:ext4::;

Free space >10MiB: ______________________________________________________________

sda: 60628MiB:125107MiB:64479MiB

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                         PARTLABEL
sda                                                                                                                     
├─sda1 vfat     B2B8-7015                            314220fc-c77d-4c2f-be56-02ae6bdd05ef BOOT                          EFI system partition
├─sda2                                               d15d7996-c1b9-4a72-89c4-50442f2ca4d8                               Microsoft reserved partition
├─sda3 ext4     cea53b45-7cb9-41d0-ba24-c5e9d1583c2a fc5a6ca5-7bf9-4c8f-9f05-0dce098e95ff                               Basic data partition
├─sda4 ntfs     84D6BAA5D6BA9740                     1271af6a-5dac-4525-98c7-1637d9becddd Recovery                      Basic data partition
└─sda5 ext4     8880d1b7-5eca-4685-b535-88f273bac55e 6bdc89b4-71e1-432c-9281-52b94b0ee9ee                               
sdb    iso9660  2022-07-26-15-24-44-00                                                    Linux Mint 21 Cinnamon 64-bit 
├─sdb1 iso9660  2022-07-26-15-24-44-00               7d7473ea-fce2-4e11-b09a-a49d0a25ce4c Linux Mint 21 Cinnamon 64-bit ISO9660
├─sdb2 vfat     8D6C-A9F8                            7d7473ea-fce2-4e11-b099-a49d0a25ce4c ESP                           Appended2
└─sdb3 ext4     3b1faf7a-3c3b-4aa9-b79c-10f026c0b4df 0204ee2f-406b-6248-9980-f2fe220c053c writable                      

Mount points (filtered): _______________________________________________________

                                                             Avail Use% Mounted on
/dev/disk/by-label/writable[/install-logs-2024-08-31.0/log]  51.1G   0% /var/log
/dev/sda1                                                   463.6M   6% /mnt/boot-sav/sda1
/dev/sda3                                                    40.6G  24% /mnt/boot-sav/sda3
/dev/sda4                                                     4.3G   9% /mnt/boot-sav/sda4
/dev/sda5                                                   316.9G   3% /mnt/boot-sav/sda5
/dev/sdb1                                                        0 100% /cdrom

Mount options (filtered): ______________________________________________________

/dev/disk/by-label/writable[/install-logs-2024-08-31.0/log] ext4            rw,relatime
/dev/sda1                                                   vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda3                                                   ext4            rw,relatime
/dev/sda4                                                   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda5                                                   ext4            rw,relatime
/dev/sdb1                                                   iso9660         ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8

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

search.fs_uuid 8880d1b7-5eca-4685-b535-88f273bac55e root hd0,gpt5 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Primtux8   cea53b45-7cb9-41d0-ba24-c5e9d1583c2a
Primtux8, with Linux 6.5.0-28-generic   cea53b45-7cb9-41d0-ba24-c5e9d1583c2a
Windows Boot Manager (on sda1)   osprober-efi-B2B8-7015
Linux Mint 22 Wilma (22) (on sda5)   ce59c724-0333-44ca-97d2-000de4168b9f
Linux Mint 22 Cinnamon (on sda5)   ce59c724-0333-44ca-97d2-000de4168b9f
Linux Mint 22 Cinnamon, with Linux 6.8.0-41-generic (on sda5)   ce59c724-0333-44ca-97d2-000de4168b9f
Linux Mint 22 Cinnamon, with Linux 6.8.0-40-generic (on sda5)   ce59c724-0333-44ca-97d2-000de4168b9f
Linux Mint 22 Cinnamon, with Linux 5.15.0-118-generic (on sda5)   ce59c724-0333-44ca-97d2-000de4168b9f
### 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=cea53b45-7cb9-41d0-ba24-c5e9d1583c2a /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=B2B8-7015  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

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

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

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

           GiB - GB             File                                 Fragment(s)
   7.650093079 = 8.214224896    boot/grub/grub.cfg                             1
   8.056224823 = 8.650305536    boot/vmlinuz                                   2
   8.056224823 = 8.650305536    boot/vmlinuz-6.5.0-28-generic                  2
   6.238277435 = 6.698299392    boot/initrd.img                                2
   6.238277435 = 6.698299392    boot/initrd.img-6.5.0-28-generic               2
   6.238277435 = 6.698299392    boot/initrd.img.old                            2

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

-rwxr-xr-x 1 root root 18683 Dec 18  2022 10_linux
-rwxr-xr-x 1 root root 43031 Dec 18  2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 Dec 18  2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 Dec 18  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 Dec 18  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 May 17  2023 35_fwupd
-rwxr-xr-x 1 root root   214 Dec 18  2022 40_custom
-rwxr-xr-x 1 root root   215 Dec 18  2022 41_custom

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

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

Linux Mint 21 Cinnamon   8880d1b7-5eca-4685-b535-88f273bac55e
Linux Mint 21 Cinnamon, with Linux 5.15.0-41-generic   8880d1b7-5eca-4685-b535-88f273bac55e
Windows Boot Manager (on sda1)   osprober-efi-B2B8-7015
Primtux8 (2024-04) (on sda3)   cea53b45-7cb9-41d0-ba24-c5e9d1583c2a
Primtux8 (on sda3)   cea53b45-7cb9-41d0-ba24-c5e9d1583c2a
Primtux8, with Linux 6.5.0-28-generic (on sda3)   cea53b45-7cb9-41d0-ba24-c5e9d1583c2a
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=8880d1b7-5eca-4685-b535-88f273bac55e /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=B2B8-7015  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

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

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

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

           GiB - GB             File                                 Fragment(s)
 136.050861359 = 146.083500032  boot/grub/grub.cfg                             1
 409.190425873 = 439.364874240  boot/vmlinuz                                   2
 409.190425873 = 439.364874240  boot/vmlinuz-5.15.0-41-generic                 2
 420.549903870 = 451.562020864  boot/initrd.img                                1
 420.549903870 = 451.562020864  boot/initrd.img-5.15.0-41-generic              1
 420.549903870 = 451.562020864  boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 18683 Apr 15  2022 10_linux
-rwxr-xr-x 1 root root 43031 Apr 15  2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 Dec 18  2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 Apr 15  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 Apr 15  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Feb 19  2022 35_fwupd
-rwxr-xr-x 1 root root   214 Apr 15  2022 40_custom
-rwxr-xr-x 1 root root   215 Apr 15  2022 41_custom

=========================== sda5/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 of
sda3,
using the following options:  sda1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the Primtux8 (2024-04) entry (sda1/efi/****/grub****.efi (**** will be updated in the final message) file) !
Et alors que boot repair rencontre une erreur, le rapport après :

Code : Tout sélectionner

boot-repair-4ppa200                                              [20240831_0810]

============================= Boot Repair Summary ==============================






Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will reinstall the grub-efi of
sda3,
using the following options:  sda1/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file


Mount sda1 on /mnt/boot-sav/sda3/boot/efi

Unhide GRUB boot menu in sda3/etc/default/grub

======================== Reinstall the grub-efi of sda3 ========================

chroot /mnt/boot-sav/sda3 grub-install --version
grub-install (GRUB) 2.06-2ubuntu7.2
modprobe: FATAL: Module efivars not found in directory /lib/modules/5.15.0-41-generic
chroot /mnt/boot-sav/sda3 modprobe efivars

chroot /mnt/boot-sav/sda3 efibootmgr -v before grub install
BootNext: 0011
BootCurrent: 001B
Timeout: 2 seconds
BootOrder: 0001,0000,0010,0011,0012,0013,0017,0018,0019,001A,001B,001C
Boot0000* Windows Boot Manager	HD(1,GPT,314220fc-c77d-4c2f-be56-02ae6bdd05ef,0x800,0xf9800)/File(EFIMicrosoftBootbootmgfw.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.}....................
Boot0001* ubuntu	HD(1,GPT,314220fc-c77d-4c2f-be56-02ae6bdd05ef,0x800,0xf9800)/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  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(0x16,0x2)/Ata(0,1,0)
Boot001E* IDER BOOT Floppy	PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,0,0)
Boot001F* ATA HDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
Boot0020* ATAPI CD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)

chroot /mnt/boot-sav/sda3 uname -r
5.15.0-41-generic

chroot /mnt/boot-sav/sda3 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported.
Error: no grub*.efi generated for Primtux8 (2024-04). Veuillez indiquer ce message à boot.repair@gmail.com

chroot /mnt/boot-sav/sda3 efibootmgr -v after grub install
BootNext: 0011
BootCurrent: 001B
Timeout: 2 seconds
BootOrder: 0001,0000,0010,0011,0012,0013,0017,0018,0019,001A,001B,001C
Boot0000* Windows Boot Manager	HD(1,GPT,314220fc-c77d-4c2f-be56-02ae6bdd05ef,0x800,0xf9800)/File(EFIMicrosoftBootbootmgfw.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.}....................
Boot0001* ubuntu	HD(1,GPT,314220fc-c77d-4c2f-be56-02ae6bdd05ef,0x800,0xf9800)/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  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(0x16,0x2)/Ata(0,1,0)
Boot001E* IDER BOOT Floppy	PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,0,0)
Boot001F* ATA HDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
Boot0020* ATAPI CD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
Error: NVram is locked (Primtux not found in efibootmgr). Veuillez indiquer ce message à boot.repair@gmail.com

chroot /mnt/boot-sav/sda3 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.5.0-28-generic
Found initrd image: /boot/initrd.img-6.5.0-28-generic
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/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Found Linux Mint 21 Vanessa (21) on /dev/sda5

Unhide GRUB boot menu in sda3/boot/grub/grub.cfg

Unhide GRUB boot menu in sda5/boot/grub/grub.cfg

Une erreur est survenue pendant la réparation.
Error: NVram is locked (Primtux not found in efibootmgr). Veuillez indiquer ce message à boot.repair@gmail.com

Locked-NVram détecté.


============================ Boot Info After Repair ============================

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

sda1: __________________________________________________________________________

    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/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 /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

    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:        

sda5: __________________________________________________________________________

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

sdb: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Grub2 (v1.99-2.00)
    Boot sector info:  Grub2 (v1.99-2.00) is installed in the boot sector of 
                       sdb and looks at sector 0 of the same hard drive for 
                       core.img, but core.img can not be found at this 
                       location.
    Mounting failed:   mount: /mnt/BootInfo/FD/sdb: /dev/sdb déjà monté ou point de montage actif.

sdc: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   mount: /mnt/BootInfo/FD/sdc: /dev/sdc déjà monté ou point de montage actif.


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

OS#1:   Primtux8 (2024-04) on sda3
OS#2:   Linux Mint 21 Vanessa (21) on sda5

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

CPU architecture: 64-bit
Video: Skylake GT2 [HD Graphics 520] from Intel Corporation
Live-session OS is Linuxmint 64-bit (Linux Mint 21, vanessa, x86_64)

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

BIOS/UEFI firmware: N1GETA9W (1.88 )(1.88) from LENOVO
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled - SecureBoot disabled - Veuillez indiquer ce message à boot.repair@gmail.com.
BootNext: 0011
BootCurrent: 001B
Timeout: 2 seconds
BootOrder: 0001,0000,0010,0011,0012,0013,0017,0018,0019,001A,001B,001C
Boot0000* Windows Boot Manager	HD(1,GPT,314220fc-c77d-4c2f-be56-02ae6bdd05ef,0x800,0xf9800)/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.}....................
Boot0001* ubuntu	HD(1,GPT,314220fc-c77d-4c2f-be56-02ae6bdd05ef,0x800,0xf9800)/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(0x16,0x2)/Ata(0,1,0)
Boot001E* IDER BOOT Floppy	PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,0,0)
Boot001F* ATA HDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
Boot0020* ATAPI CD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)

07e25dcaf57c776875f78fa36827c58e   sda1/Boot/bootx64.efi
1d43d986c265d8c455d020e4a1f28c52   sda1/Boot/fbx64.efi
1d260ff1255f189ab621209796ee2fed   sda1/Boot/mmx64.efi
a1da253696a304dce6b4668b70151c0e   sda1/ubuntu/grubx64.efi
1d260ff1255f189ab621209796ee2fed   sda1/ubuntu/mmx64.efi
07e25dcaf57c776875f78fa36827c58e   sda1/ubuntu/shimx64.efi
3ff213addd49e6515922de34952223ad   sda1/Microsoft/Boot/bootmgfw.efi
b8736f6dbf1baf951d389be5a519fb32   sda1/Microsoft/Boot/bootmgr.efi

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

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

Partitions info (2/3): _________________________________________________________

sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
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,	recovery-or-hidden,	no-bmgr,	notwinboot
sda5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda3	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda4	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda5	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 4365D54B-E0D6-4B6D-B4A5-FD1010DF4B68
          Start        End   Sectors  Size Type
sda1       2048    1023999   1021952  499M EFI System
sda2    1024000    1286143    262144  128M Microsoft reserved
sda3    1286144  124166143 122880000 58.6G Microsoft basic data
sda4  990218240 1000214527   9996288  4.8G Windows recovery environment
sda5  256219136  990218239 733999104  350G Linux filesystem
Partition table entries are not in disk order.
Disk sdb: 57.3 GiB, 61530439680 bytes, 120176640 sectors
Disk identifier: 7D7473EA-FCE2-4E11-B09B-A49D0A25CE4C
        Start       End   Sectors  Size Type
sdb1       64   4775311   4775248  2.3G Microsoft basic data
sdb2  4775312   4783807      8496  4.1M EFI System
sdb3  4784128 120176576 115392449   55G Linux filesystem
Disk sdc: 984 MiB, 1031798784 bytes, 2015232 sectors
Disk identifier: 0x7ea7ef24
      Boot Start     End Sectors  Size Id Type
sdc1        2048 2015231 2013184  983M  c W95 FAT32 (LBA)

parted -lm (filtered): _________________________________________________________

sda:512GB:scsi:512:512:gpt:ATA SK hynix SC300 M:;
1:1049kB:524MB:523MB:fat32:EFI system partition:boot, esp;
2:524MB:659MB:134MB::Microsoft reserved partition:msftres;
3:659MB:63.6GB:62.9GB:ext4:Basic data partition:msftdata;
5:131GB:507GB:376GB:ext4::;
4:507GB:512GB:5118MB:ntfs::diag;
sdb:61.5GB:scsi:512:512:gpt: USB  SanDisk 3.2Gen1:;
1:32.8kB:2445MB:2445MB::ISO9660:hidden, msftdata;
2:2445MB:2449MB:4350kB::Appended2:boot, esp;
3:2449MB:61.5GB:59.1GB:ext4::;
sdc:1032MB:scsi:512:512:msdos:Memorex Cool Drive B:;
1:1049kB:1032MB:1031MB:fat32::lba;

Free space >10MiB: ______________________________________________________________

sda: 60628MiB:125107MiB:64479MiB

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                         PARTLABEL
sda                                                                                                                     
├─sda1 vfat     B2B8-7015                            314220fc-c77d-4c2f-be56-02ae6bdd05ef BOOT                          EFI system partition
├─sda2                                               d15d7996-c1b9-4a72-89c4-50442f2ca4d8                               Microsoft reserved partition
├─sda3 ext4     cea53b45-7cb9-41d0-ba24-c5e9d1583c2a fc5a6ca5-7bf9-4c8f-9f05-0dce098e95ff                               Basic data partition
├─sda4 ntfs     84D6BAA5D6BA9740                     1271af6a-5dac-4525-98c7-1637d9becddd Recovery                      Basic data partition
└─sda5 ext4     8880d1b7-5eca-4685-b535-88f273bac55e 6bdc89b4-71e1-432c-9281-52b94b0ee9ee                               
sdb    iso9660  2022-07-26-15-24-44-00                                                    Linux Mint 21 Cinnamon 64-bit 
├─sdb1 iso9660  2022-07-26-15-24-44-00               7d7473ea-fce2-4e11-b09a-a49d0a25ce4c Linux Mint 21 Cinnamon 64-bit ISO9660
├─sdb2 vfat     8D6C-A9F8                            7d7473ea-fce2-4e11-b099-a49d0a25ce4c ESP                           Appended2
└─sdb3 ext4     3b1faf7a-3c3b-4aa9-b79c-10f026c0b4df 0204ee2f-406b-6248-9980-f2fe220c053c writable                      
sdc    iso9660  2015-07-27-19-43-00-00                                                    n1gur43w.iso                  
└─sdc1 vfat     7EB8-A320                            7ea7ef24-01                          DIDIER_K                      

Mount points (filtered): _______________________________________________________

                                                             Avail Use% Mounted on
/dev/disk/by-label/writable[/install-logs-2024-08-31.0/log]  51.1G   0% /var/log
/dev/sda1                                                   463.6M   6% /mnt/boot-sav/sda1
/dev/sda3                                                    40.6G  24% /mnt/boot-sav/sda3
/dev/sda4                                                     4.3G   9% /mnt/boot-sav/sda4
/dev/sda5                                                   316.9G   3% /mnt/boot-sav/sda5
/dev/sdb1                                                        0 100% /cdrom
/dev/sdc1                                                   979.8M   0% /media/mint/DIDIER_K

Mount options (filtered): ______________________________________________________

/dev/disk/by-label/writable[/install-logs-2024-08-31.0/log] ext4            rw,relatime
/dev/sda1                                                   vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda3                                                   ext4            rw,relatime
/dev/sda4                                                   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda5                                                   ext4            rw,relatime
/dev/sdb1                                                   iso9660         ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8
/dev/sdc1                                                   vfat            rw,nosuid,nodev,relatime,uid=999,gid=999,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro

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

search.fs_uuid cea53b45-7cb9-41d0-ba24-c5e9d1583c2a root hd0,gpt3 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   cea53b45-7cb9-41d0-ba24-c5e9d1583c2a
Ubuntu, with Linux 6.5.0-28-generic   cea53b45-7cb9-41d0-ba24-c5e9d1583c2a
Windows Boot Manager (on sda1)   osprober-efi-B2B8-7015
Linux Mint 21 Vanessa (21) (on sda5)   8880d1b7-5eca-4685-b535-88f273bac55e
Linux Mint 21 Cinnamon (on sda5)   8880d1b7-5eca-4685-b535-88f273bac55e
Linux Mint 21 Cinnamon, with Linux 5.15.0-41-generic (on sda5)   8880d1b7-5eca-4685-b535-88f273bac55e
### END /etc/grub.d/30_os-prober ###
### 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=cea53b45-7cb9-41d0-ba24-c5e9d1583c2a /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=B2B8-7015  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

======================= 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)
            ?? = ??             boot/grub/grub.cfg                             1
   8.056224823 = 8.650305536    boot/vmlinuz                                   2
   8.056224823 = 8.650305536    boot/vmlinuz-6.5.0-28-generic                  2
   6.238277435 = 6.698299392    boot/initrd.img                                2
   6.238277435 = 6.698299392    boot/initrd.img-6.5.0-28-generic               2
   6.238277435 = 6.698299392    boot/initrd.img.old                            2

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

-rwxr-xr-x 1 root root 18683 déc.  18  2022 10_linux
-rwxr-xr-x 1 root root 43031 déc.  18  2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 déc.  18  2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 déc.  18  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 déc.  18  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 mai    17  2023 35_fwupd
-rwxr-xr-x 1 root root   214 déc.  18  2022 40_custom
-rwxr-xr-x 1 root root   215 déc.  18  2022 41_custom

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

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

Linux Mint 21 Cinnamon   8880d1b7-5eca-4685-b535-88f273bac55e
Linux Mint 21 Cinnamon, with Linux 5.15.0-41-generic   8880d1b7-5eca-4685-b535-88f273bac55e
Windows Boot Manager (on sda1)   osprober-efi-B2B8-7015
Primtux8 (2024-04) (on sda3)   cea53b45-7cb9-41d0-ba24-c5e9d1583c2a
Primtux8 (on sda3)   cea53b45-7cb9-41d0-ba24-c5e9d1583c2a
Primtux8, with Linux 6.5.0-28-generic (on sda3)   cea53b45-7cb9-41d0-ba24-c5e9d1583c2a
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=8880d1b7-5eca-4685-b535-88f273bac55e /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=B2B8-7015  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

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

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

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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1
 409.190425873 = 439.364874240  boot/vmlinuz                                   2
 409.190425873 = 439.364874240  boot/vmlinuz-5.15.0-41-generic                 2
 420.549903870 = 451.562020864  boot/initrd.img                                1
 420.549903870 = 451.562020864  boot/initrd.img-5.15.0-41-generic              1
 420.549903870 = 451.562020864  boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 18683 avril  15  2022 10_linux
-rwxr-xr-x 1 root root 43031 avril  15  2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 déc.  18  2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 avril  15  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 avril  15  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 févr. 19  2022 35_fwupd
-rwxr-xr-x 1 root root   214 avril  15  2022 40_custom
-rwxr-xr-x 1 root root   215 avril  15  2022 41_custom

=========================== sda5/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
À ce stade, si je perds les différentes partitions, pas grave du tout... J'aurais alors juste besoin de TOUT formater, et pouvoir réinstaller une mint 21 encore ce WE... :?
Merci pour votre aide. :)

Re: Sortie de veille impossible

Posté : sam. 31 août 2024 11:36
par Armaggion
On s'est nettement éloigné du sujet d'origine mais allons-y. Je profite d'une pause sur la route du retour pour te répondre :

Si tu n'as rien à perdre, alors tu pars de la clé bootable Linux Mint 21 que tu possèdes déjà et au moment de passer à l'installation (en cliquant sur l'icône qui va bien) tu choisis l'option d'écraser tout le contenu du disque. Linux Mint devrait faire son affaire tranquillement.

Si le secure boot te taquine, n'hésite pas à le dégager sans pitié.

Note : Il y avait bien une erreur dans ta séquence de shutdown.

Re: Sortie de veille impossible

Posté : sam. 31 août 2024 12:04
par Did
Bonjour,
merci pour cette réponse ! :)
qlq questions avant de tout balayer....
Un collègue me répond par sms que boot repair semble avoir un problème avec primtux qu'il ne reconnaît pas.
Tu es de cet avis Armaggion ?
Et du coup, est-ce que supprimer primtux, pourrait suffire (si oui, comment ?) et donc revenir à un double-boot win/mint ?
Note : Il y avait bien une erreur dans ta séquence de shutdown.
Est-ce que cet aspect serait réparé, si je réinstalle totalement, ou Mint21, ou doubleboot Win/Mint21 ?
Si le secure boot te taquine, n'hésite pas à le dégager sans pitié.
"dégager", ça veut dire quoi dans ce cas précis ? pour l'instant, je l'ai mis en disable, car j'ai pas le choix... Mais sinon ?

Merci en tout cas.
Oui, c'est bon de savoir que tout peut s'arranger si j'écrase tout. Au moins ça ! :)

Re: Sortie de veille impossible

Posté : sam. 31 août 2024 13:15
par Did
Je voudrais tenter une dernière chance, sauver un petit bout pour la partition win, et le reste pour mint 21.

Voici le dernier rapport de Boot repair à ce titre :

Code : Tout sélectionner

boot-repair-4ppa200                                              [20240831_1105]

============================= Boot Repair Summary ==============================






Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will reinstall the grub-efi of
sda3,
using the following options:  sda1/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file


Mount sda1 on /mnt/boot-sav/sda3/boot/efi

======================== Reinstall the grub-efi of sda3 ========================

chroot /mnt/boot-sav/sda3 grub-install --version
grub-install (GRUB) 2.06-2ubuntu7.2
modprobe: FATAL: Module efivars not found in directory /lib/modules/5.15.0-41-generic
chroot /mnt/boot-sav/sda3 modprobe efivars

chroot /mnt/boot-sav/sda3 efibootmgr -v before grub install
BootNext: 0011
BootCurrent: 001B
Timeout: 2 seconds
BootOrder: 0001,0000,0010,0011,0012,0013,0017,0018,0019,001A,001B,001C
Boot0000* Windows Boot Manager	HD(1,GPT,314220fc-c77d-4c2f-be56-02ae6bdd05ef,0x800,0xf9800)/File(EFIMicrosoftBootbootmgfw.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.}....................
Boot0001* ubuntu	HD(1,GPT,314220fc-c77d-4c2f-be56-02ae6bdd05ef,0x800,0xf9800)/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  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(0x16,0x2)/Ata(0,1,0)
Boot001E* IDER BOOT Floppy	PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,0,0)
Boot001F* ATA HDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
Boot0020* ATAPI CD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)

chroot /mnt/boot-sav/sda3 uname -r
5.15.0-41-generic

chroot /mnt/boot-sav/sda3 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported.
Error: no grub*.efi generated for Primtux8 (2024-04). Veuillez indiquer ce message à boot.repair@gmail.com

chroot /mnt/boot-sav/sda3 efibootmgr -v after grub install
BootNext: 0011
BootCurrent: 001B
Timeout: 2 seconds
BootOrder: 0001,0000,0010,0011,0012,0013,0017,0018,0019,001A,001B,001C
Boot0000* Windows Boot Manager	HD(1,GPT,314220fc-c77d-4c2f-be56-02ae6bdd05ef,0x800,0xf9800)/File(EFIMicrosoftBootbootmgfw.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.}....................
Boot0001* ubuntu	HD(1,GPT,314220fc-c77d-4c2f-be56-02ae6bdd05ef,0x800,0xf9800)/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  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(0x16,0x2)/Ata(0,1,0)
Boot001E* IDER BOOT Floppy	PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,0,0)
Boot001F* ATA HDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
Boot0020* ATAPI CD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
Error: NVram is locked (Primtux not found in efibootmgr). Veuillez indiquer ce message à boot.repair@gmail.com

chroot /mnt/boot-sav/sda3 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.5.0-28-generic
Found initrd image: /boot/initrd.img-6.5.0-28-generic
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/sda1@/EFI/Microsoft/Boot/bootmgfw.efi

Unhide GRUB boot menu in sda3/boot/grub/grub.cfg

Une erreur est survenue pendant la réparation.
Error: NVram is locked (Primtux not found in efibootmgr). Veuillez indiquer ce message à boot.repair@gmail.com

Locked-NVram détecté.


============================ Boot Info After Repair ============================

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

sda1: __________________________________________________________________________

    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/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 /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

    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:        

sdb: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Grub2 (v1.99-2.00)
    Boot sector info:  Grub2 (v1.99-2.00) is installed in the boot sector of 
                       sdb and looks at sector 0 of the same hard drive for 
                       core.img, but core.img can not be found at this 
                       location.
    Mounting failed:   mount: /mnt/BootInfo/FD/sdb: /dev/sdb déjà monté ou point de montage actif.


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

OS#1:   Primtux8 (2024-04) on sda3

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

CPU architecture: 64-bit
Video: Skylake GT2 [HD Graphics 520] from Intel Corporation
Live-session OS is Linuxmint 64-bit (Linux Mint 21, vanessa, x86_64)

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

BIOS/UEFI firmware: N1GETA9W (1.88 )(1.88) from LENOVO
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled - SecureBoot disabled - Veuillez indiquer ce message à boot.repair@gmail.com.
BootNext: 0011
BootCurrent: 001B
Timeout: 2 seconds
BootOrder: 0001,0000,0010,0011,0012,0013,0017,0018,0019,001A,001B,001C
Boot0000* Windows Boot Manager	HD(1,GPT,314220fc-c77d-4c2f-be56-02ae6bdd05ef,0x800,0xf9800)/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.}....................
Boot0001* ubuntu	HD(1,GPT,314220fc-c77d-4c2f-be56-02ae6bdd05ef,0x800,0xf9800)/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(0x16,0x2)/Ata(0,1,0)
Boot001E* IDER BOOT Floppy	PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,0,0)
Boot001F* ATA HDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
Boot0020* ATAPI CD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)

07e25dcaf57c776875f78fa36827c58e   sda1/Boot/bootx64.efi
1d43d986c265d8c455d020e4a1f28c52   sda1/Boot/fbx64.efi
1d260ff1255f189ab621209796ee2fed   sda1/Boot/mmx64.efi
a1da253696a304dce6b4668b70151c0e   sda1/ubuntu/grubx64.efi
1d260ff1255f189ab621209796ee2fed   sda1/ubuntu/mmx64.efi
07e25dcaf57c776875f78fa36827c58e   sda1/ubuntu/shimx64.efi
3ff213addd49e6515922de34952223ad   sda1/Microsoft/Boot/bootmgfw.efi
b8736f6dbf1baf951d389be5a519fb32   sda1/Microsoft/Boot/bootmgr.efi

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

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

Partitions info (2/3): _________________________________________________________

sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
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,	recovery-or-hidden,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda3	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda4	: 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: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 4365D54B-E0D6-4B6D-B4A5-FD1010DF4B68
          Start        End  Sectors  Size Type
sda1       2048    1023999  1021952  499M EFI System
sda2    1024000    1286143   262144  128M Microsoft reserved
sda3    1286144   66822143 65536000 31.3G Microsoft basic data
sda4  990218240 1000214527  9996288  4.8G Windows recovery environment
Disk sdb: 57.3 GiB, 61530439680 bytes, 120176640 sectors
Disk identifier: 7D7473EA-FCE2-4E11-B09B-A49D0A25CE4C
        Start       End   Sectors  Size Type
sdb1       64   4775311   4775248  2.3G Microsoft basic data
sdb2  4775312   4783807      8496  4.1M EFI System
sdb3  4784128 120176576 115392449   55G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:512GB:scsi:512:512:gpt:ATA SK hynix SC300 M:;
1:1049kB:524MB:523MB:fat32:EFI system partition:boot, esp;
2:524MB:659MB:134MB::Microsoft reserved partition:msftres;
3:659MB:34.2GB:33.6GB:ext4:Basic data partition:msftdata;
4:507GB:512GB:5118MB:ntfs::diag;
sdb:61.5GB:scsi:512:512:gpt: USB  SanDisk 3.2Gen1:;
1:32.8kB:2445MB:2445MB::ISO9660:hidden, msftdata;
2:2445MB:2449MB:4350kB::Appended2:boot, esp;
3:2449MB:61.5GB:59.1GB:ext4::;

Free space >10MiB: ______________________________________________________________

sda: 32628MiB:483505MiB:450877MiB

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                         PARTLABEL
sda                                                                                                                     
├─sda1 vfat     B2B8-7015                            314220fc-c77d-4c2f-be56-02ae6bdd05ef BOOT                          EFI system partition
├─sda2                                               d15d7996-c1b9-4a72-89c4-50442f2ca4d8                               Microsoft reserved partition
├─sda3 ext4     cea53b45-7cb9-41d0-ba24-c5e9d1583c2a fc5a6ca5-7bf9-4c8f-9f05-0dce098e95ff                               Basic data partition
└─sda4 ntfs     84D6BAA5D6BA9740                     1271af6a-5dac-4525-98c7-1637d9becddd Recovery                      Basic data partition
sdb    iso9660  2022-07-26-15-24-44-00                                                    Linux Mint 21 Cinnamon 64-bit 
├─sdb1 iso9660  2022-07-26-15-24-44-00               7d7473ea-fce2-4e11-b09a-a49d0a25ce4c Linux Mint 21 Cinnamon 64-bit ISO9660
├─sdb2 vfat     8D6C-A9F8                            7d7473ea-fce2-4e11-b099-a49d0a25ce4c ESP                           Appended2
└─sdb3 ext4     3b1faf7a-3c3b-4aa9-b79c-10f026c0b4df 0204ee2f-406b-6248-9980-f2fe220c053c writable                      

Mount points (filtered): _______________________________________________________

                                                             Avail Use% Mounted on
/dev/disk/by-label/writable[/install-logs-2024-08-31.0/log]  51.1G   0% /var/log
/dev/sda1                                                   463.6M   6% /mnt/boot-sav/sda1
/dev/sda3                                                      15G  45% /mnt/boot-sav/sda3
/dev/sda4                                                     4.3G   9% /mnt/boot-sav/sda4
/dev/sdb1                                                        0 100% /cdrom

Mount options (filtered): ______________________________________________________

/dev/disk/by-label/writable[/install-logs-2024-08-31.0/log] ext4            rw,relatime
/dev/sda1                                                   vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda3                                                   ext4            rw,relatime
/dev/sda4                                                   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb1                                                   iso9660         ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8

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

search.fs_uuid cea53b45-7cb9-41d0-ba24-c5e9d1583c2a root hd0,gpt3 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   cea53b45-7cb9-41d0-ba24-c5e9d1583c2a
Ubuntu, with Linux 6.5.0-28-generic   cea53b45-7cb9-41d0-ba24-c5e9d1583c2a
Windows Boot Manager (on sda1)   osprober-efi-B2B8-7015
### END /etc/grub.d/30_os-prober ###
### 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=cea53b45-7cb9-41d0-ba24-c5e9d1583c2a /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=B2B8-7015  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

======================= 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)
            ?? = ??             boot/grub/grub.cfg                             1
   8.056224823 = 8.650305536    boot/vmlinuz                                   2
   8.056224823 = 8.650305536    boot/vmlinuz-6.5.0-28-generic                  2
   6.238277435 = 6.698299392    boot/initrd.img                                2
   6.238277435 = 6.698299392    boot/initrd.img-6.5.0-28-generic               2
   6.238277435 = 6.698299392    boot/initrd.img.old                            2

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

-rwxr-xr-x 1 root root 18683 déc.  18  2022 10_linux
-rwxr-xr-x 1 root root 43031 déc.  18  2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 déc.  18  2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 déc.  18  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 déc.  18  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 mai    17  2023 35_fwupd
-rwxr-xr-x 1 root root   214 déc.  18  2022 40_custom
-rwxr-xr-x 1 root root   215 déc.  18  2022 41_custom

=========================== sda3/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
Il reste une chance de "réparer", garder la partition win, ou ce n'est plus possible ?
win était sur le pc acheté d'occase, mais là, je ne sais pas trop si je peux retrouver la clé produit qlq part... Donc une réinstall de win10 avec un .iso n'a pas trop de sens, non ?...

Re: Sortie de veille impossible

Posté : sam. 31 août 2024 16:53
par Armaggion
On est parti pour réparer une séquence de shutdown incomplète.
On a réussi à mettre à jour le BIOS du portable, ce qui écarte un problème de ce côté.
On avait peut-être touché un début d'explication en identifiant un souci avec un montage chiffré qui n'arrive pas à se démonter mais finalement, plus simple, on part sur une réinstallation complète urgente avec une deadline. Re-changement de direction soudain qui fait qu'on part à ce niveau là dans beaucoup de questions, je commence à avoir du mal à suivre. Ne m'en veux pas mais je vais tâcher de rester focus.
  • "Dégager Secure Boot" = désactiver (disable) dans le BIOS, en effet, désolé pour l'abus de langage ;)
  • "Est-ce que cet aspect [erreur sur la séquence de shutdown] serait réparé si je réinstalle complètement Mint 21" => A partir du moment où tu écrases totalement le contenu du disque, oui puisqu'il n'y aura rien de chiffré on ne sait où qui pourrait coincer.
C'est là que nos chemins vont se séparer car je te vois partir dans d'autres directions encore que je vais te laisser explorer à ton rythme. Quelques considérations rapides néanmoins, tu en feras ce que tu voudras :)
  • "boot repair semble avoir un problème avec primtux" ==> Aucune idée. Sur le principe je ne vois pas pourquoi il y aurait une difficulté, mais on en apprend tous les jours.
  • "Je voudrais tenter une dernière chance, sauver un petit bout pour la partition win, et le reste pour mint 21." => Le multiboot avec Windows n'est pas conseillé car Microsoft n'est pas respectueux des autres OS et peut avoir tendance à faire sa vie avec la séquence de boot comme s'il était tout seul, surtout en cas d'upgrade. Ca fonctionne très bien mais à condition d'avoir bien conscience des limites de l'exercice. Dans tous les cas, installer Windows d'abord, et Linux saura gérer ensuite la complexité du multiboot.

Re: Sortie de veille impossible

Posté : sam. 31 août 2024 17:02
par Did
Oui, merci. :)

Le problème du shutdown a été réglé en effet. Là, après de multiples essais de réinstall, c'est clair ! :)
Je procède par élimination...
Windows installé, ça avait l'air bon, mais en fait non, il y avait comme 2 chemins possibles proposés au démarrage win, et un seul qui fonctionne.
Pas propre, je décide d'écraser en mettant uniquement mint.
Saut que là, Mint m'arrête avec ce message d'erreur :

Code : Tout sélectionner

Error informing the kernel about modifications to partition /dev/sda1 -- Device or resource busy. This means Linux won't know about any changes you made to /dev/sda1 until you reboot -- so you shouldn't mount it or use it in any way before rebooting.
Donc je suis en train de voir (ou me demander) si ça signifie que je dois supprimer cette petite partition sda1 aussi ?
Voilà voilà... où j'en suis dans ma balade dans cette ... machine...
Copie du disk à cet instant :

Image

Re: Sortie de veille impossible

Posté : sam. 31 août 2024 17:52
par Did
bon, je relance l'install avec mint 21, ça semble bon là...