Contenu | Rechercher | Menus

Annonce

DVD, clés USB et t-shirts Ubuntu-fr disponibles sur la boutique En Vente Libre

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 27/03/2021, à 07:49

glopykemon

[Résolu] Redémarrage impossible après mise à jour

Bonjour,
J'ai un Asus x541u avec Ubuntu 18.04 installé dessus (voir https://forum.ubuntu-fr.org/viewtopic.php?id=2059936)
Ce matin, il m'a été demandé de redémarrer après les mises à jour.
Depuis, Il m'affiche ce message : Reboot and select proper Boot device or insert Boot media in selected Boot device and press a key.

Après quelques recherches sur le net, j'ai installé boot-repair sur une clé bootable et relancé mon Asus sur cette clé. Après un scan de plusieurs dizaines de minutes (la première fois), il me demande d'utiliser gparted pour créer un "bios-boot partiion >1MB unformatted filesystem, bios_grub flag".

J'ai tenté de lancer gparted mais ça ne s'ouvre pas...

J'imagine que le grub a été touché par la mise à jour ? Comment puis-je restaurer la version avant mise à jour ?

Je précise que c'est mon outil de travail et qu'il n'est pas envisageable de perdre les données qui sont dessus...

Merci de prendre en considération mon problème !

Dernière modification par glopykemon (Le 28/03/2021, à 10:43)

Hors ligne

#2 Le 27/03/2021, à 08:21

glopykemon

Re : [Résolu] Redémarrage impossible après mise à jour

Et si je tente d'ouvrir le terminal sur l'USB "Boot-repair", je retrouve les problèmes de PCIe Bus Error qui tournent en boucle et m'obligent à forcer l'extinction... Je pense qu'il faut que j'arrive à re-éditer le grub. Je suis en train de télécharger le live usb d'ubuntu 18.04.5, voir si j'arrive à refaire les manips sur cette version.

Hors ligne

#3 Le 27/03/2021, à 11:53

glopykemon

Re : [Résolu] Redémarrage impossible après mise à jour

Bon, je n'arrive à rien... la session live se lance bien si je modifie le grub avec pci=noaer mais je n'ai pas trouvé l'accès au grub du système installé. J'ai beau appuyer sur Echap ou Shift à l'apparition du logo (sans le live-USB), le seul écran que j'obtiens est "Please select a boot device" et il me propose P1 (le lecteur dvd je crois), P0 (le disque dur Kingston) et "Enter Setup" qui me renvoie sur la page de gestion du Bios.

Hors ligne

#4 Le 27/03/2021, à 13:36

glopykemon

Re : [Résolu] Redémarrage impossible après mise à jour

Après avoir réussi à "créer" (?) un bios_grub flag sur la partition de mon système défectueux à partir de gparted en ouvrant une session live-usb d'Ubuntu 18.04.5 (et non plus de Boot Repair), j'ai relancé le live-usb Boot repair et il a fini par me renvoyer ces infos (sans me proposer de réparer) :

 
boot-repair-4ppa125                                              [20210327_1157]

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



Default settings: ______________________________________________________________

The default repair of the Boot-Repair utility would not act on the boot.

User settings: _________________________________________________________________

grub-probe : erreur : impossible de trouver un périphérique GRUB pour /dev/sdb1. Vérifiez device.map..
grub-probe : erreur : impossible de trouver un périphérique GRUB pour /dev/sdb1. Vérifiez device.map..
No OS or WinEFI system
ping: google.com: Échec temporaire dans la résolution du nom
The settings chosen by the user will not act on the boot.





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

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

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sdb: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Operating System:  
    Boot files:        /boot/grub/grub.cfg


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

OS#1:   Ubuntu 18.04.5 LTS on sda2

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)


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

This live-session is not in EFI-mode.



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

Disks info: ____________________________________________________________________

sda	: is-GPT,	hasBIOSboot,	has-noESP, 	not-usb,	not-mmc, no-os,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda1	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 447.1 GiB, 480103981056 bytes, 937703088 sectors
Disk identifier: 4A0F35AC-DA1F-47E2-B7AB-4998D5BA3F43
          Start       End   Sectors   Size Type
sda1       2048   1050623   1048576   512M Linux filesystem
sda2    1050624 935700479 934649856 445.7G BIOS boot
sda3  935700480 937701375   2000896   977M Linux swap
Disk sdb: 7.5 GiB, 8011120640 bytes, 15646720 sectors
Disk identifier: 0x2c534026
      Boot Start     End Sectors  Size Id Type
sdb1  *        0 1802239 1802240  880M  0 Empty
sdb2         964    5891    4928  2.4M ef EFI (FAT-12/16/32)
Disk zram0: 1.5 GiB, 1554997248 bytes, 379638 sectors
Disk zram1: 1.5 GiB, 1554997248 bytes, 379638 sectors
Disk zram2: 1.5 GiB, 1554997248 bytes, 379638 sectors
Disk zram3: 1.5 GiB, 1554997248 bytes, 379638 sectors

parted -lm (filtered): _________________________________________________________

sda:480GB:scsi:512:512:gpt:ATA KINGSTON SA400S3:;
1:1049kB:538MB:537MB:ext4:EFI System Partition:;
2:538MB:479GB:479GB:ext4::bios_grub;
3:479GB:480GB:1024MB:linux-swap(v1)::;
sdb:8011MB:scsi:512:512:msdos:Kingston DataTraveler G3:;
2:494kB:3017kB:2523kB:::esp;
zram3:1555MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1555MB:1555MB:linux-swap(v1)::;
zram1:1555MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1555MB:1555MB:linux-swap(v1)::;
zram2:1555MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1555MB:1555MB:linux-swap(v1)::;
zram0:1555MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1555MB:1555MB:linux-swap(v1)::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                  PARTLABEL
sda                                                                                                              
├─sda1 ext4     5f60081e-38c8-4f0a-9476-525bde6fa4e0 6e0b78a1-5ce9-4783-8ade-9a43ef1bf3c2 Ubuntu                 EFI System Partition
├─sda2 ext4     4860ab88-5699-4b5a-959c-c568dd1bc1fa abcb811a-dd7e-4061-9895-b6b6ae7b7df4                        
└─sda3 swap     90306901-43a9-4eb3-b3fb-238a192767e4 f15b6c7c-35d6-4aa9-be53-c9a5da20f32f                        
sdb    iso9660  2020-06-13-00-42-55-00                                                    Boot-Repair-Disk 64bit 
├─sdb1 iso9660  2020-06-13-00-42-55-00               2c534026-01                          Boot-Repair-Disk 64bit 
└─sdb2 vfat     D055-8513                            2c534026-02                          Boot-Repair-Disk 64bit 
zram0                                                                                                            
zram1                                                                                                            
zram2                                                                                                            
zram3                                                                                                            

df (filtered): _________________________________________________________________

       Avail Use% Mounted on
sda1   451.4M   0% /mnt/boot-sav/sda1
sdb         0 100% /cdrom

Mount options: __________________________________________________________________

sda1   rw,relatime
sdb    ro,noatime,nojoliet,check=s,map=n,blocksize=2048

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

Boot-Repair-Disk session
Boot-Repair-Disk session (failsafe)

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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1


======================== Unknown MBRs/Boot Sectors/etc =========================

Unknown BootLoader on sdb

00000000  33 ed 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |3...............|
00000010  90 90 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |................|
00000020  33 ed fa 8e d5 bc 00 7c  fb fc 66 31 db 66 31 c9  |3......|..f1.f1.|
00000030  66 53 66 51 06 57 8e dd  8e c5 52 be 00 7c bf 00  |fSfQ.W....R..|..|
00000040  06 b9 00 01 f3 a5 ea 4b  06 00 00 52 b4 41 bb aa  |.......K...R.A..|
00000050  55 31 c9 30 f6 f9 cd 13  72 16 81 fb 55 aa 75 10  |U1.0....r...U.u.|
00000060  83 e1 01 74 0b 66 c7 06  f3 06 b4 42 eb 15 eb 02  |...t.f.....B....|
00000070  31 c9 5a 51 b4 08 cd 13  5b 0f b6 c6 40 50 83 e1  |1.ZQ....[...@P..|
00000080  3f 51 f7 e1 53 52 50 bb  00 7c b9 04 00 66 a1 b0  |?Q..SRP..|...f..|
00000090  07 e8 44 00 0f 82 80 00  66 40 80 c7 02 e2 f2 66  |..D.....f@.....f|
000000a0  81 3e 40 7c fb c0 78 70  75 09 fa bc ec 7b ea 44  |.>@|..xpu....{.D|
000000b0  7c 00 00 e8 83 00 69 73  6f 6c 69 6e 75 78 2e 62  ||.....isolinux.b|
000000c0  69 6e 20 6d 69 73 73 69  6e 67 20 6f 72 20 63 6f  |in missing or co|
000000d0  72 72 75 70 74 2e 0d 0a  66 60 66 31 d2 66 03 06  |rrupt...f`f1.f..|
000000e0  f8 7b 66 13 16 fc 7b 66  52 66 50 06 53 6a 01 6a  |.{f...{fRfP.Sj.j|
000000f0  10 89 e6 66 f7 36 e8 7b  c0 e4 06 88 e1 88 c5 92  |...f.6.{........|
00000100  f6 36 ee 7b 88 c6 08 e1  41 b8 01 02 8a 16 f2 7b  |.6.{....A......{|
00000110  cd 13 8d 64 10 66 61 c3  e8 1e 00 4f 70 65 72 61  |...d.fa....Opera|
00000120  74 69 6e 67 20 73 79 73  74 65 6d 20 6c 6f 61 64  |ting system load|
00000130  20 65 72 72 6f 72 2e 0d  0a 5e ac b4 0e 8a 3e 62  | error...^....>b|
00000140  04 b3 07 cd 10 3c 0a 75  f1 cd 18 f4 eb fd 00 00  |.....<.u........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  04 17 00 00 00 00 00 00  26 40 53 2c 00 00 80 00  |........&@S,....|
000001c0  01 00 00 3f e0 6f 00 00  00 00 00 80 1b 00 00 fe  |...?.o..........|
000001d0  ff ff ef fe ff ff c4 03  00 00 40 13 00 00 00 00  |..........@.....|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200


=============================== StdErr Messages ================================

File descriptor 63 (pipe:[41753]) leaked on lvs invocation. Parent PID 2082: /bin/bash

Voilà, si ça peut éclairer quelqu'un??

Dernière modification par glopykemon (Le 27/03/2021, à 13:37)

Hors ligne

#5 Le 27/03/2021, à 14:47

jplemoine

Re : [Résolu] Redémarrage impossible après mise à jour

De ce que j'ai compris (mais à confirmer par un autre aidant) :
sda = c'est le disque dur
sdb = c'est la clé USB
---
sda
     - sda1 = petite partition qui devrait être en bios_grub --> ext4
     - sda2  = partition Ubuntu : devrait être en ext4 --> pas BIOS Boot partition
     - sda3 = swap en type swap --> ok


Membre de l'ALDIL (Association Lyonnaise pour le Développement de l'Informatique Libre)
- En pro, après 20 ans de développement, administrateur Linux / Unix depuis Avril 2019.
- En privé, sous Ubuntu-Xubuntu depuis 2009.

Hors ligne

#6 Le 27/03/2021, à 15:11

glopykemon

Re : [Résolu] Redémarrage impossible après mise à jour

Merci pour la réponse,
je suis donc allé changer le bios_grub en sda1 avec gparted (toujours à l'aide du live-Usb Ubuntu) et en relançant la live-usb Boot-repair, il me propose cette fois de réparer.
Il me dit alors :

The boot of your PC is in EFI mode, but no ESP partition was 
detected. You may want to retry after creating a ESP
partition (FAT32, 100MB~250MB, start of the disk, boot flag).
Are you sure you want to continue anyway ?

Que fais-je ?

Hors ligne

#7 Le 27/03/2021, à 18:29

jplemoine

Re : [Résolu] Redémarrage impossible après mise à jour

il me propose : qui il ?
Il faut juste que tu ajoutes le drapeau "boot" à sda1 --> normalement, tu peux le faire depuis gparted + live CD / live USB.
Après il faut aussi vérifier que la partition respecte le reste : taille, type.


Membre de l'ALDIL (Association Lyonnaise pour le Développement de l'Informatique Libre)
- En pro, après 20 ans de développement, administrateur Linux / Unix depuis Avril 2019.
- En privé, sous Ubuntu-Xubuntu depuis 2009.

Hors ligne

#8 Le 27/03/2021, à 21:29

glopykemon

Re : [Résolu] Redémarrage impossible après mise à jour

"Il" c'est l'outil de réparation de boot (lancé par la live-usb Boot-Repair au démarrage), j'ai bien mis le flag à sda1 et sda2 est en ext4, j'aimerai comprendre maintenant pourquoi le message me demande de créer une partition ESP au début du disque ? J'ai laissé en veille en attendant mais il faut que je prenne une décision, suis-je sûr de continuer quoi qu'il arrive ? ("are you sure you want to continue anyway") je dis oui ou non ?

Hors ligne

#9 Le 27/03/2021, à 22:31

jplemoine

Re : [Résolu] Redémarrage impossible après mise à jour

Je ne sais pas : faudrait un pro de Boot-Repair.


Membre de l'ALDIL (Association Lyonnaise pour le Développement de l'Informatique Libre)
- En pro, après 20 ans de développement, administrateur Linux / Unix depuis Avril 2019.
- En privé, sous Ubuntu-Xubuntu depuis 2009.

Hors ligne

#10 Le 27/03/2021, à 23:27

geole

Re : [Résolu] Redémarrage impossible après mise à jour

Bonsoir
Soyons clair sur les mots,
Si boot-repair te demande de créer une partition bios-bot, il faut CREER.
D'après cet extrait du boot-info
fdisk -l (filtered): ___________________________________________________________

Disk sda: 447.1 GiB, 480103981056 bytes, 937703088 sectors
Disk identifier: 4A0F35AC-DA1F-47E2-B7AB-4998D5BA3F43
          Start       End   Sectors   Size Type
sda1       2048   1050623   1048576   512M Linux filesystem
sda2    1050624 935700479 934649856 445.7G BIOS boot
sda3  935700480 937701375   2000896   977M Linux swap
Disk sdb: 7.5 GiB, 8011120640 bytes, 15646720 sectors
Disk identifier: 0x2c534026

Tu as transformé la partition contenant ton logiciel en partition bios-boot ce qui n'a jamais été demandé.
Lance donc ton support d'installation,
Lance gparted et supprime le dapeau bios-boot que tu as mis dessus
Puis installes boot-info et fais un rapport boot-info qui sera analysé avant de proposer une réparation
Pense aussi à remettre le drapeau  ESP a la partition SDA1
https://doc.ubuntu-fr.org/tutoriel/boot-info

Dernière modification par geole (Le 27/03/2021, à 23:29)

En ligne

#11 Le 28/03/2021, à 05:46

glopykemon

Re : [Résolu] Redémarrage impossible après mise à jour

Bonjour et merci pour la réponse,
Je vais installer boot-info et je vous envoie le rapport.
Quand j'ai lancé Boot-repair au début, une fenêtre m'a indiqué que GPT était détecté et qu'il fallait créer une partition Bios-Boot ">1MB unformatted filesystem, bios_grub flag". J'ai cherché sur Gparted et je n'ai pas osé toucher aux partitions pour ne pas perdre mes données, j'ai donc juste mis le drapeau "bios_grub" sur la partition qui contenait le fichier grub (donc la partition principale). Suite au message de jplemoine, j'ai relancé gparted et placé le drapeau bios_grub sur la première partition (sda1).
Du coup, pour l'instant, je ne change pas mes partitions (sauf les drapeaux : ESP à la place de bios_grub pour sda1). J'imagine qu'il va me falloir créer une partition "Bios-Boot" à un moment donné ? Je dois redimensionner sda1 pour ça ? Vous me direz après avoir lu le boot-info, je m'y mets !

Hors ligne

#12 Le 28/03/2021, à 06:19

glopykemon

Re : [Résolu] Redémarrage impossible après mise à jour

Alors voilà le rapport :

boot-info-4ppa125                                              [20210328_0511]

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

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

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sdb: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Operating System:  
    Boot files:        /boot/grub/grub.cfg


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

OS#1:   Ubuntu 18.04.5 LTS on sda2

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 18.04.5 LTS, bionic, x86_64)


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

BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled.

efibootmgr -v
BootCurrent: 0004
Timeout: 1 seconds
BootOrder: 0004,0002,0003
Boot0002* Hard Drive	BBS(HD,,0x0)..GO..NO........o.K.I.N.G.S.T.O.N. .S.A.4.0.0.S.3.7.4.8.0.G....................A...........................>..Gd-.;.A..MQ..L.0.5.2.0.B.6.7.7.3.8.6.3.1.8.2.6. . . . ........BO..NO........k.S.a.n.D.i.s.k. .C.r.u.z.e.r. .B.l.a.d.e. .1...2.6....................A.......................>..Gd-.;.A..MQ..L.4.C.5.3.2.0.0.0.0.3.0.3.1.8.1.2.1.4.5.2........BO
Boot0003* CD/DVD Drive	BBS(CDROM,,0x0)..GO..NO........o.S.l.i.m.t.y.p.e.D.V.D. .A. . .D.A.8.A.E.S.H....................A...........................>..Gd-.;.A..MQ..L.5.3.8.0.1.A. .7.9.4.7.6.6.0.4.5.0.2.5.6........BO
Boot0004* UEFI: SanDisk Cruzer Blade 1.26	PciRoot(0x0)/Pci(0x14,0x0)/USB(2,0)/CDROM(1,0x35d8,0x4d00)..BO



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

Disks info: ____________________________________________________________________

sda	: is-GPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda2	: isnotESP,	fstab-has-bad-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

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

fdisk -l (filtered): ___________________________________________________________

Disk sda: 447.1 GiB, 480103981056 bytes, 937703088 sectors
Disk identifier: 4A0F35AC-DA1F-47E2-B7AB-4998D5BA3F43
          Start       End   Sectors   Size Type
sda1       2048   1050623   1048576   512M EFI System
sda2    1050624 935700479 934649856 445.7G Linux filesystem
sda3  935700480 937701375   2000896   977M Linux swap
Disk sdb: 7.5 GiB, 8004304896 bytes, 15633408 sectors
Disk identifier: 0x483122d5
      Boot Start     End Sectors  Size Id Type
sdb1  *        0 4284223 4284224    2G  0 Empty
sdb2       13784   18711    4928  2.4M ef EFI (FAT-12/16/32)

parted -lm (filtered): _________________________________________________________

sda:480GB:scsi:512:512:gpt:ATA KINGSTON SA400S3:;
1:1049kB:538MB:537MB:ext4:EFI System Partition:boot, esp;
2:538MB:479GB:479GB:ext4::;
3:479GB:480GB:1024MB:linux-swap(v1)::;
sdb:8004MB:scsi:512:512:unknown:SanDisk Cruzer Blade:;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                    PARTLABEL
sda                                                                                                                
├─sda1 ext4     5f60081e-38c8-4f0a-9476-525bde6fa4e0 6e0b78a1-5ce9-4783-8ade-9a43ef1bf3c2 Ubuntu                   EFI System Partition
├─sda2 ext4     4860ab88-5699-4b5a-959c-c568dd1bc1fa abcb811a-dd7e-4061-9895-b6b6ae7b7df4                          
└─sda3 swap     90306901-43a9-4eb3-b3fb-238a192767e4 f15b6c7c-35d6-4aa9-be53-c9a5da20f32f                          
sdb    iso9660  2020-08-06-22-59-01-00                                                    Ubuntu 18.04.5 LTS amd64 
├─sdb1 iso9660  2020-08-06-22-59-01-00               483122d5-01                          Ubuntu 18.04.5 LTS amd64 
└─sdb2 vfat     EC34-71CF                            483122d5-02                          Ubuntu 18.04.5 LTS amd64 

df (filtered): _________________________________________________________________

       Avail Use% Mounted on
sda1   451.4M   0% /mnt/boot-sav/sda1
sda2    99.9G  72% /mnt/boot-sav/sda2
sdb         0 100% /cdrom

Mount options: __________________________________________________________________

sda1   rw,relatime
sda2   rw,relatime
sdb    ro,noatime,nojoliet,check=s,map=n,blocksize=2048

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

Ubuntu   4860ab88-5699-4b5a-959c-c568dd1bc1fa
Ubuntu, avec Linux 4.15.0-140-generic   4860ab88-5699-4b5a-959c-c568dd1bc1fa
Ubuntu, avec Linux 4.15.0-139-generic   4860ab88-5699-4b5a-959c-c568dd1bc1fa
### END /etc/grub.d/30_os-prober ###
System setup   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda2/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=4860ab88-5699-4b5a-959c-c568dd1bc1fa /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=3269-34D1  /boot/efi       vfat    umask=0077      0       1
# swap was on /dev/sda3 during installation
UUID=90306901-43a9-4eb3-b3fb-238a192767e4 none            swap    sw              0       0

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

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pcie_aspm=off"
GRUB_CMDLINE_LINUX=""

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

           GiB - GB             File                                 Fragment(s)
 368.086643219 = 395.230023680  boot/grub/grub.cfg                             3
 117.282230377 = 125.930835968  boot/vmlinuz-4.15.0-139-generic                1
 123.625980377 = 132.742385664  boot/vmlinuz-4.15.0-140-generic                1
 123.625980377 = 132.742385664  vmlinuz                                        1
 117.282230377 = 125.930835968  vmlinuz.old                                    1
 117.636890411 = 126.311649280  boot/initrd.img-4.15.0-139-generic             5
  90.388992310 = 97.054441472   boot/initrd.img-4.15.0-140-generic             3
  90.388992310 = 97.054441472   initrd.img                                     3
 117.636890411 = 126.311649280  initrd.img.old                                 5

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

-rwxr-xr-x 1 root root 12808 Nov 14 00:40 10_linux
-rwxr-xr-x 1 root root 11298 Nov 14 00:40 20_linux_xen
-rwxr-xr-x 1 root root 12059 Nov 14 00:40 30_os-prober
-rwxr-xr-x 1 root root  1418 Jul 31  2020 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Jul 31  2020 40_custom
-rwxr-xr-x 1 root root   216 Jul 31  2020 41_custom

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

Try Ubuntu without installing
Install Ubuntu
OEM install (for manufacturers)
Check disc for defects

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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1


======================== Unknown MBRs/Boot Sectors/etc =========================

Unknown BootLoader on sdb

00000000  45 52 08 00 00 00 90 90  00 00 00 00 00 00 00 00  |ER..............|
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000020  33 ed fa 8e d5 bc 00 7c  fb fc 66 31 db 66 31 c9  |3......|..f1.f1.|
00000030  66 53 66 51 06 57 8e dd  8e c5 52 be 00 7c bf 00  |fSfQ.W....R..|..|
00000040  06 b9 00 01 f3 a5 ea 4b  06 00 00 52 b4 41 bb aa  |.......K...R.A..|
00000050  55 31 c9 30 f6 f9 cd 13  72 16 81 fb 55 aa 75 10  |U1.0....r...U.u.|
00000060  83 e1 01 74 0b 66 c7 06  f3 06 b4 42 eb 15 eb 02  |...t.f.....B....|
00000070  31 c9 5a 51 b4 08 cd 13  5b 0f b6 c6 40 50 83 e1  |1.ZQ....[...@P..|
00000080  3f 51 f7 e1 53 52 50 bb  00 7c b9 04 00 66 a1 b0  |?Q..SRP..|...f..|
00000090  07 e8 44 00 0f 82 80 00  66 40 80 c7 02 e2 f2 66  |..D.....f@.....f|
000000a0  81 3e 40 7c fb c0 78 70  75 09 fa bc ec 7b ea 44  |.>@|..xpu....{.D|
000000b0  7c 00 00 e8 83 00 69 73  6f 6c 69 6e 75 78 2e 62  ||.....isolinux.b|
000000c0  69 6e 20 6d 69 73 73 69  6e 67 20 6f 72 20 63 6f  |in missing or co|
000000d0  72 72 75 70 74 2e 0d 0a  66 60 66 31 d2 66 03 06  |rrupt...f`f1.f..|
000000e0  f8 7b 66 13 16 fc 7b 66  52 66 50 06 53 6a 01 6a  |.{f...{fRfP.Sj.j|
000000f0  10 89 e6 66 f7 36 e8 7b  c0 e4 06 88 e1 88 c5 92  |...f.6.{........|
00000100  f6 36 ee 7b 88 c6 08 e1  41 b8 01 02 8a 16 f2 7b  |.6.{....A......{|
00000110  cd 13 8d 64 10 66 61 c3  e8 1e 00 4f 70 65 72 61  |...d.fa....Opera|
00000120  74 69 6e 67 20 73 79 73  74 65 6d 20 6c 6f 61 64  |ting system load|
00000130  20 65 72 72 6f 72 2e 0d  0a 5e ac b4 0e 8a 3e 62  | error...^....>b|
00000140  04 b3 07 cd 10 3c 0a 75  f1 cd 18 f4 eb fd 00 00  |.....<.u........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  94 80 00 00 00 00 00 00  d5 22 31 48 00 00 80 00  |........."1H....|
000001c0  01 00 00 82 e0 fd 00 00  00 00 40 5f 41 00 00 fe  |..........@_A...|
000001d0  ff ff ef fe ff ff d8 35  00 00 40 13 00 00 00 00  |.......5..@.....|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200


=============================== StdErr Messages ================================

File descriptor 63 (pipe:[78768]) leaked on lvs invocation. Parent PID 4936: /bin/bash

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub2 of
sda2 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s      

Blockers in case of suggested repair: __________________________________________

 GPT detected. Please create a BIOS-Boot partition (>1MB, unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted. Then try again.

Confirmation request before suggested repair: __________________________________

The boot of your PC is in EFI mode, but no ESP partition was detected. You may want to retry after creating a ESP partition (FAT32, 100MB~250MB, start of the disk, boot flag).
Are you sure you want to continue anyway?

Final advice in case of suggested repair: ______________________________________


The boot of your PC is in UEFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode.

J'ai l'impression que la manip sur gparted n'a pas été correctement réalisée... J'ai ouvert "Manage flags" sur sda1 et j'ai coché "esp", ce qui a automatiquement coché "boot", et ceci en mode admin. Puis j'ai lancé et installé boot-info.

M'enfin, j'attends vos instructions avant d'aller plus loin.

Hors ligne

#13 Le 28/03/2021, à 10:00

geole

Re : [Résolu] Redémarrage impossible après mise à jour

Bonjour
extraits de ton nouveau boot-info

=> No boot loader is installed in the MBR of /dev/sda.
sda1: __________________________________________________________________________
    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled.

Disks info: ____________________________________________________________________
sda	: is-GPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os

fdisk -l (filtered): ___________________________________________________________
Disk sda: 447.1 GiB, 480103981056 bytes, 937703088 sectors
sda1       2048   1050623   1048576   512M

The boot of your PC is in EFI mode, but no ESP partition was detected. You may want to retry after creating a ESP partition (FAT32, 100MB~250MB, start of the disk, boot flag).
Are you sure you want to continue anyway?

Je ne sais pas ce qui s'est passé pendant ta mise à jour, mais ton ordinateur a toujours booté en EFI, il avait donc une partition FAT32 de 512 Mo qui est devenue EXT4 .

Donc tu lances Gparted , Puis tu reformates la partition SDA1 en FAT32, tu lui remets  un drapeau ESP (il inclut automatiquement le drapeau boot)

Tu pourras alors relancer la réparation recommandée qui se comportera d'une autre manière en remettant les logiciels manquants  en utilisant SDA2

Dernière modification par geole (Le 28/03/2021, à 10:01)

En ligne

#14 Le 28/03/2021, à 10:18

glopykemon

Re : [Résolu] Redémarrage impossible après mise à jour

Merci pour ta réponse,
Je vais me lancer dans le reformatage de sda1 et relancer Boot-repair mais je n'ai pas bien saisi la fin de ton message "en remettant les logiciels manquants en utilisant sda2" ? ça consiste en quoi plus précisément ?

Hors ligne

#15 Le 28/03/2021, à 10:34

glopykemon

Re : [Résolu] Redémarrage impossible après mise à jour

Voici le rapport de Boot-Repair:

boot-repair-4ppa125                                              [20210328_0923]

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



grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
/usr/share/boot-sav/bs-cmd_terminal.sh: line 177: warning: command substitution: ignored null byte in input

Recommended repair: ____________________________________________________________

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


/boot/efi added in sda2/fstab
Mount sda1 on /mnt/boot-sav/sda2/boot/efi
ls: cannot access '/mnt/boot-sav/sda2/boot/efi/efi': No such file or directory
No sda2/boot/efi/efi/ ubuntu/mint folder

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

================= Reinstall the grub-efi-amd64-signed of sda2 ==================

grub-install --version
grub-install (GRUB) 2.02-2ubuntu8.21

efibootmgr -v from chroot before grub install
BootCurrent: 0004
Timeout: 1 seconds
BootOrder: 0004,0002,0003
Boot0002* Hard Drive	BBS(HD,,0x0)..GO..NO........o.K.I.N.G.S.T.O.N. .S.A.4.0.0.S.3.7.4.8.0.G....................A...........................>..Gd-.;.A..MQ..L.0.5.2.0.B.6.7.7.3.8.6.3.1.8.2.6. . . . ........BO..NO........s.K.i.n.g.s.t.o.n.D.a.t.a.T.r.a.v.e.l.e.r. .G.3. .P.M.A.P....................A.......................F..Gd-.;.A..MQ..L.0.0.1.C.C.0.E.C.3.0.3.6.B.A.A.0.9.5.F.5.0.1.5.5........BO
Boot0003* CD/DVD Drive	BBS(CDROM,,0x0)..GO..NO........o.S.l.i.m.t.y.p.e.D.V.D. .A. . .D.A.8.A.E.S.H....................A...........................>..Gd-.;.A..MQ..L.5.3.8.0.1.A. .7.9.4.7.6.6.0.4.5.0.2.5.6........BO
Boot0004* UEFI: KingstonDataTraveler G3 PMAP	PciRoot(0x0)/Pci(0x14,0x0)/USB(2,0)/CDROM(1,0x3c4,0x4d00)..BO

uname -r
5.3.0-28-generic

grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
Installation finished. No error reported.
df /dev/sda1
mv /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bkpbootx64.efi
cp /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efi
cp /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/grubx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/

grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
Installation finished. No error reported.

efibootmgr -v from chroot after grub install
BootCurrent: 0004
Timeout: 1 seconds
BootOrder: 0000,0004,0002,0003
Boot0000* ubuntu	HD(1,GPT,6e0b78a1-5ce9-4783-8ade-9a43ef1bf3c2,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0002* Hard Drive	BBS(HD,,0x0)..GO..NO........o.K.I.N.G.S.T.O.N. .S.A.4.0.0.S.3.7.4.8.0.G....................A...........................>..Gd-.;.A..MQ..L.0.5.2.0.B.6.7.7.3.8.6.3.1.8.2.6. . . . ........BO..NO........s.K.i.n.g.s.t.o.n.D.a.t.a.T.r.a.v.e.l.e.r. .G.3. .P.M.A.P....................A.......................F..Gd-.;.A..MQ..L.0.0.1.C.C.0.E.C.3.0.3.6.B.A.A.0.9.5.F.5.0.1.5.5........BO
Boot0003* CD/DVD Drive	BBS(CDROM,,0x0)..GO..NO........o.S.l.i.m.t.y.p.e.D.V.D. .A. . .D.A.8.A.E.S.H....................A...........................>..Gd-.;.A..MQ..L.5.3.8.0.1.A. .7.9.4.7.6.6.0.4.5.0.2.5.6........BO
Boot0004* UEFI: KingstonDataTraveler G3 PMAP	PciRoot(0x0)/Pci(0x14,0x0)/USB(2,0)/CDROM(1,0x3c4,0x4d00)..BO

chroot /mnt/boot-sav/sda2 update-grub
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-140-generic
Found initrd image: /boot/initrd.img-4.15.0-140-generic
Found linux image: /boot/vmlinuz-4.15.0-139-generic
Found initrd image: /boot/initrd.img-4.15.0-139-generic
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
Adding boot menu entry for EFI firmware configuration

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

An error occurred during the repair.

You can now reboot your computer.

Please do not forget to make your UEFI firmware boot on the Ubuntu 18.04.5 LTS entry (sda1/EFI/ubuntu/shimx64.efi file) !

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

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

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/BOOT/bkpbootx64.efi /efi/BOOT/bootx64.efi 
                       /efi/BOOT/fbx64.efi /efi/BOOT/grubx64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sdb: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Operating System:  
    Boot files:        /boot/grub/grub.cfg


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

OS#1:   Ubuntu 18.04.5 LTS on sda2

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)


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

BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled.

efibootmgr -v
BootCurrent: 0004
Timeout: 1 seconds
BootOrder: 0004,0002,0003
Boot0002* Hard Drive	BBS(HD,,0x0)..GO..NO........o.K.I.N.G.S.T.O.N. .S.A.4.0.0.S.3.7.4.8.0.G....................A...........................>..Gd-.;.A..MQ..L.0.5.2.0.B.6.7.7.3.8.6.3.1.8.2.6. . . . ........BO..NO........s.K.i.n.g.s.t.o.n.D.a.t.a.T.r.a.v.e.l.e.r. .G.3. .P.M.A.P....................A.......................F..Gd-.;.A..MQ..L.0.0.1.C.C.0.E.C.3.0.3.6.B.A.A.0.9.5.F.5.0.1.5.5........BO
Boot0003* CD/DVD Drive	BBS(CDROM,,0x0)..GO..NO........o.S.l.i.m.t.y.p.e.D.V.D. .A. . .D.A.8.A.E.S.H....................A...........................>..Gd-.;.A..MQ..L.5.3.8.0.1.A. .7.9.4.7.6.6.0.4.5.0.2.5.6........BO
Boot0004* UEFI: KingstonDataTraveler G3 PMAP	PciRoot(0x0)/Pci(0x14,0x0)/USB(2,0)/CDROM(1,0x3c4,0x4d00)..BO



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

Disks info: ____________________________________________________________________

sda	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda2	: is-os,	64, apt-get,	signed grub-efi ,	grub2,	grub-install,	grubenv-ok,	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
sda2	: isnotESP,	fstab-has-bad-efi,	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,	std-grub.d,	sda
sda2	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 447.1 GiB, 480103981056 bytes, 937703088 sectors
Disk identifier: 4A0F35AC-DA1F-47E2-B7AB-4998D5BA3F43
          Start       End   Sectors   Size Type
sda1       2048   1050623   1048576   512M EFI System
sda2    1050624 935700479 934649856 445.7G Linux filesystem
sda3  935700480 937701375   2000896   977M Linux swap
Disk sdb: 7.5 GiB, 8011120640 bytes, 15646720 sectors
Disk identifier: 0x2c534026
      Boot Start     End Sectors  Size Id Type
sdb1  *        0 1802239 1802240  880M  0 Empty
sdb2         964    5891    4928  2.4M ef EFI (FAT-12/16/32)
Disk zram0: 1.5 GiB, 1554980864 bytes, 379634 sectors
Disk zram1: 1.5 GiB, 1554980864 bytes, 379634 sectors
Disk zram2: 1.5 GiB, 1554980864 bytes, 379634 sectors
Disk zram3: 1.5 GiB, 1554980864 bytes, 379634 sectors

parted -lm (filtered): _________________________________________________________

sda:480GB:scsi:512:512:gpt:ATA KINGSTON SA400S3:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:479GB:479GB:ext4::;
3:479GB:480GB:1024MB:linux-swap(v1)::;
sdb:8011MB:scsi:512:512:msdos:Kingston DataTraveler G3:;
2:494kB:3017kB:2523kB:::esp;
zram3:1555MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1555MB:1555MB:linux-swap(v1)::;
zram1:1555MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1555MB:1555MB:linux-swap(v1)::;
zram2:1555MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1555MB:1555MB:linux-swap(v1)::;
zram0:1555MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1555MB:1555MB:linux-swap(v1)::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                  PARTLABEL
sda                                                                                                              
├─sda1 vfat     A976-B477                            6e0b78a1-5ce9-4783-8ade-9a43ef1bf3c2                        EFI System Partition
├─sda2 ext4     4860ab88-5699-4b5a-959c-c568dd1bc1fa abcb811a-dd7e-4061-9895-b6b6ae7b7df4                        
└─sda3 swap     90306901-43a9-4eb3-b3fb-238a192767e4 f15b6c7c-35d6-4aa9-be53-c9a5da20f32f                        
sdb    iso9660  2020-06-13-00-42-55-00                                                    Boot-Repair-Disk 64bit 
├─sdb1 iso9660  2020-06-13-00-42-55-00               2c534026-01                          Boot-Repair-Disk 64bit 
└─sdb2 vfat     D055-8513                            2c534026-02                          Boot-Repair-Disk 64bit 
zram0                                                                                                            
zram1                                                                                                            
zram2                                                                                                            
zram3                                                                                                            

df (filtered): _________________________________________________________________

       Avail Use% Mounted on
sda1   502.6M   2% /mnt/boot-sav/sda1
sda2    99.9G  72% /mnt/boot-sav/sda2
sdb         0 100% /cdrom

Mount options: __________________________________________________________________

sda1   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda2   rw,relatime
sdb    ro,noatime,nojoliet,check=s,map=n,blocksize=2048

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

search.fs_uuid 4860ab88-5699-4b5a-959c-c568dd1bc1fa root hd0,gpt2 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   4860ab88-5699-4b5a-959c-c568dd1bc1fa
Ubuntu, with Linux 4.15.0-140-generic   4860ab88-5699-4b5a-959c-c568dd1bc1fa
Ubuntu, with Linux 4.15.0-139-generic   4860ab88-5699-4b5a-959c-c568dd1bc1fa
### END /etc/grub.d/30_os-prober ###
System setup   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda2/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=4860ab88-5699-4b5a-959c-c568dd1bc1fa /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
# swap was on /dev/sda3 during installation
UUID=90306901-43a9-4eb3-b3fb-238a192767e4 none            swap    sw              0       0
UUID=A976-B477  /boot/efi       vfat    defaults      0       1

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

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

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

           GiB - GB             File                                 Fragment(s)
   0.500984192 = 0.537927680    boot/grub/grub.cfg                             1
 117.282230377 = 125.930835968  boot/vmlinuz-4.15.0-139-generic                1
 123.625980377 = 132.742385664  boot/vmlinuz-4.15.0-140-generic                1
 123.625980377 = 132.742385664  vmlinuz                                        1
 117.282230377 = 125.930835968  vmlinuz.old                                    1
 117.636890411 = 126.311649280  boot/initrd.img-4.15.0-139-generic             5
  90.388992310 = 97.054441472   boot/initrd.img-4.15.0-140-generic             3
  90.388992310 = 97.054441472   initrd.img                                     3
 117.636890411 = 126.311649280  initrd.img.old                                 5

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

-rwxr-xr-x 1 root root 12808 Nov 14 00:40 10_linux
-rwxr-xr-x 1 root root 11298 Nov 14 00:40 20_linux_xen
-rwxr-xr-x 1 root root 12059 Nov 14 00:40 30_os-prober
-rwxr-xr-x 1 root root  1418 Jul 31  2020 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Jul 31  2020 40_custom
-rwxr-xr-x 1 root root   216 Jul 31  2020 41_custom

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

Boot-Repair-Disk session
Boot-Repair-Disk session (failsafe)

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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1


======================== Unknown MBRs/Boot Sectors/etc =========================

Unknown BootLoader on sdb

00000000  33 ed 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |3...............|
00000010  90 90 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |................|
00000020  33 ed fa 8e d5 bc 00 7c  fb fc 66 31 db 66 31 c9  |3......|..f1.f1.|
00000030  66 53 66 51 06 57 8e dd  8e c5 52 be 00 7c bf 00  |fSfQ.W....R..|..|
00000040  06 b9 00 01 f3 a5 ea 4b  06 00 00 52 b4 41 bb aa  |.......K...R.A..|
00000050  55 31 c9 30 f6 f9 cd 13  72 16 81 fb 55 aa 75 10  |U1.0....r...U.u.|
00000060  83 e1 01 74 0b 66 c7 06  f3 06 b4 42 eb 15 eb 02  |...t.f.....B....|
00000070  31 c9 5a 51 b4 08 cd 13  5b 0f b6 c6 40 50 83 e1  |1.ZQ....[...@P..|
00000080  3f 51 f7 e1 53 52 50 bb  00 7c b9 04 00 66 a1 b0  |?Q..SRP..|...f..|
00000090  07 e8 44 00 0f 82 80 00  66 40 80 c7 02 e2 f2 66  |..D.....f@.....f|
000000a0  81 3e 40 7c fb c0 78 70  75 09 fa bc ec 7b ea 44  |.>@|..xpu....{.D|
000000b0  7c 00 00 e8 83 00 69 73  6f 6c 69 6e 75 78 2e 62  ||.....isolinux.b|
000000c0  69 6e 20 6d 69 73 73 69  6e 67 20 6f 72 20 63 6f  |in missing or co|
000000d0  72 72 75 70 74 2e 0d 0a  66 60 66 31 d2 66 03 06  |rrupt...f`f1.f..|
000000e0  f8 7b 66 13 16 fc 7b 66  52 66 50 06 53 6a 01 6a  |.{f...{fRfP.Sj.j|
000000f0  10 89 e6 66 f7 36 e8 7b  c0 e4 06 88 e1 88 c5 92  |...f.6.{........|
00000100  f6 36 ee 7b 88 c6 08 e1  41 b8 01 02 8a 16 f2 7b  |.6.{....A......{|
00000110  cd 13 8d 64 10 66 61 c3  e8 1e 00 4f 70 65 72 61  |...d.fa....Opera|
00000120  74 69 6e 67 20 73 79 73  74 65 6d 20 6c 6f 61 64  |ting system load|
00000130  20 65 72 72 6f 72 2e 0d  0a 5e ac b4 0e 8a 3e 62  | error...^....>b|
00000140  04 b3 07 cd 10 3c 0a 75  f1 cd 18 f4 eb fd 00 00  |.....<.u........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  04 17 00 00 00 00 00 00  26 40 53 2c 00 00 80 00  |........&@S,....|
000001c0  01 00 00 3f e0 6f 00 00  00 00 00 80 1b 00 00 fe  |...?.o..........|
000001d0  ff ff ef fe ff ff c4 03  00 00 40 13 00 00 00 00  |..........@.....|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200


=============================== StdErr Messages ================================

File descriptor 63 (pipe:[41599]) leaked on lvs invocation. Parent PID 1791: /bin/bash

La fenêtre qui s'ouvre à la fin dit :

An error occurred during the repair.

Please write on a paper the following URL:
...(le rapport est ci-dessus)

You can now reboot your computer.

Please do not forget to make your UEFI firmware boot on
the Ubuntu 18.04.5 LTS entry (sda1/EFI/ubuntu/shimx64.efi
file) !

La première et la dernière phrase me questionnent... Je vais tenter un redémarrage !

Hors ligne

#16 Le 28/03/2021, à 10:37

geole

Re : [Résolu] Redémarrage impossible après mise à jour

Certainement une fausse erreur

grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
Installation finished. No error reported.

efibootmgr -v from chroot after grub install
BootCurrent: 0004
Timeout: 1 seconds
BootOrder: 0000,0004,0002,0003
Boot0000* ubuntu	HD(1,GPT,6e0b78a1-5ce9-4783-8ade-9a43ef1bf3c2,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0002* Hard Drive	BBS(HD,,0x0)..GO..NO........o.K.I.N.G.S.T.O.N. .S.A.4.0.0.S.3.7.4.8.0.G....................A...........................>..Gd-.;.A..MQ..L.0.5.2.0.B.6.7.7.3.8.6.3.1.8.2.6. . . . ........BO..NO........s.K.i.n.g.s.t.o.n.D.a.t.a.T.r.a.v.e.l.e.r. .G.3. .P.M.A.P....................A.......................F..Gd-.;.A..MQ..L.0.0.1.C.C.0.E.C.3.0.3.6.B.A.A.0.9.5.F.5.0.1.5.5........BO
Boot0003* CD/DVD Drive	BBS(CDROM,,0x0)..GO..NO........o.S.l.i.m.t.y.p.e.D.V.D. .A. . .D.A.8.A.E.S.H....................A...........................>..Gd-.;.A..MQ..L.5.3.8.0.1.A. .7.9.4.7.6.6.0.4.5.0.2.5.6........BO
Boot0004* UEFI: KingstonDataTraveler G3 PMAP	PciRoot(0x0)/Pci(0x14,0x0)/USB(2,0)/CDROM(1,0x3c4,0x4d00)..BO

Tente de redémarrer.

erreur liée à cette ligne ????
/usr/share/boot-sav/bs-cmd_terminal.sh: line 177: warning: command substitution: ignored null byte in input

En fait l'erreur est là!!
ls: cannot access '/mnt/boot-sav/sda2/boot/efi/efi': No such file or directory
No sda2/boot/efi/efi/ ubuntu/mint folder

Dernière modification par geole (Le 28/03/2021, à 11:32)

En ligne

#17 Le 28/03/2021, à 10:42

glopykemon

Re : [Résolu] Redémarrage impossible après mise à jour

C'est parfait ! un ÉNORME merci ! Quel plaisir de retrouver mon bureau ! Pourvu que ça dure...
Au plaisir de refaire appel à vos talents !
Encore merci

Hors ligne

#18 Le 28/03/2021, à 13:18

glopykemon

Re : [Résolu] Redémarrage impossible après mise à jour

geole a écrit :

Certainement une fausse erreur
erreur liée à cette ligne ????
/usr/share/boot-sav/bs-cmd_terminal.sh: line 177: warning: command substitution: ignored null byte in input

En fait l'erreur est là!!
ls: cannot access '/mnt/boot-sav/sda2/boot/efi/efi': No such file or directory
No sda2/boot/efi/efi/ ubuntu/mint folder

Dois-je m'en inquiéter ? Puis-je la réparer ?

Hors ligne

#19 Le 28/03/2021, à 13:22

geole

Re : [Résolu] Redémarrage impossible après mise à jour

Je ne connais pas suffisamment mint pour savoir si c'est normal ou pas. D'autre part, personnellement, je fais en sorte de ne pas avoir cette ligne dans ubuntu afin de ne pas être pollué par le GRUB.

En ligne