Contenu | Rechercher | Menus

Annonce

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

À propos de l'équipe du forum.

#1926 Le 17/04/2020, à 12:18

geole

Re : [Réparateur de démarrage] Développement du logiciel Boot-Repair

YannUbuntu a écrit :

Pour le MMC, boot-repair voyait les disques comme des partitions et essayait de les monter, je vais corriger ça.
--> Par contre je ne vois pas ce qui cloche avec NVME, pourriez-vous détailler ce qui vous semble anormal svp?
.

Bonjour
Dans cette discussion toute récente  https://forum.ubuntu-fr.org/viewtopic.php?id=2050910

Le boot-info indique le contenu de la partition ESP comme ne contenant rien pour booter en EFI
Les deux partitions a scanner sont les suivantes

Device           UUID                                   TYPE       LABEL                                                    
/dev/mmcblk0p1   9427-4C2A                              vfat       
/dev/mmcblk0p2   38760359-9831-44ed-ba0e-2137573cef0f   ext4       
/dev/mmcblk0p3   acebd467-3d9e-4e4f-955b-78e07430bfc8   swap 

Après avoir fait monter manuellement la partition   /dev/mmcblk0p1

ubuntu@ubuntu:~$ sudo umount  -v  /dev/mmcblk0p1
umount: /mnt (/dev/mmcblk0p1) unmounted
ubuntu@ubuntu:~$ sudo  mount -v    /dev/mmcblk0p1   /mnt
mount: /dev/mmcblk0p1 mounted on /mnt.

on  a pu voir qu'elle contenait quelques fichiers de boot EFI

ubuntu@ubuntu:~$ sudo ls  -Rals   /mnt
/mnt:
.............
/mnt/EFI:
total 16
4 drwxr-xr-x  4 root root 4096 Apr  3 11:53 .
4 drwxr-xr-x 12 root root 4096 Jan  1  1970 ..
4 drwxr-xr-x  2 root root 4096 Apr  3 11:53 BOOT
4 drwxr-xr-x  2 root root 4096 Apr 16  2019 debian

/mnt/EFI/BOOT:
total 2432
   4 drwxr-xr-x 2 root root    4096 Apr  3 11:53 .
   4 drwxr-xr-x 4 root root    4096 Apr  3 11:53 ..
1304 -rwxr-xr-x 1 root root 1334816 Feb  3 18:39 BOOTx64.EFI
1120 -rwxr-xr-x 1 root root 1146744 Feb  3 18:39 grubx64.efi

/mnt/EFI/debian:
total 128
  4 drwxr-xr-x 2 root root   4096 Apr 16  2019 .
  4 drwxr-xr-x 4 root root   4096 Apr  3 11:53 ..
.......

Alors que le compte-rendu indique

=================== No kernel in /mnt/boot-sav/mmcblk0p1/boot:
grub

Ce qui semble normal pour une partition formatée en FAT32

J'ai noté que la seconde partition avait été traitée mais qu'il n'y avait  peut-être pas de  répertoire /boot ou alors il a été oublié dans la liste.
Cependant il est vrai que le contexte est particulier et que maintenant, il est probablement trop tard pour aller le vérifier.

AJOUT à propos des options avancées de boot-info

   Pour regarder, j'ai cliqué dessus. Il m'a semblé que l'outil me laissait uniquement cinq secondes pour faire mon choix. C'est trop juste. A peine le temps de lire et pas du tout le temps de réfléchir quoi changer que déjà il a pris en compte ce que je n'ai pas eu le temps de modifier.
Donc obligé de recommencer.   A mon avis  il devrait attendre plus de temps :   20 secondes? 30 secondes?


AJOUT   Dans cette discussion  https://forum.ubuntu-fr.org/viewtopic.p … #p22264780
Le contenu du MBR n'est listé. On peut cependant penser que le fichier /boot/grub/grub.cfg existe puisque l'utilisateur dit que l'installation s'est bien passée mais il n'est pas listé!!!! On sait juste qu'il y a de l'espace disque occupé et que le fichier /etc/default/grub  et le répertoire /etc/grub.d existent

Dernière modification par geole (Le 20/04/2020, à 16:08)


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

Hors ligne

#1927 Le 17/04/2020, à 23:50

YannUbuntu

Re : [Réparateur de démarrage] Développement du logiciel Boot-Repair

bonsoir

@Geole:

(glade2script-python3:10700): IBUS-WARNING **: 11:07:03.188: The owner of /home/a/.config/ibus/bus is not root!

Ibus est une methode de saisie, rien à voir avec boot-repair, ça ne m'a pas l'air d'etre un probleme.

Afin de chercher les /boot séparés, Boot-repair scanne toutes les partitions (soit à leur racine soit sous /boot) à la recherche de kernels.

=================== No kernel in /mnt/boot-sav/mmcblk0p1/boot:
grub

indique juste qu'il n'y a pas de kernel (initramfs et vmlinuz) dans ce dossier /boot. Ca n'a pas pour but de montrer quoi que ce soit d'autre.
La ligne 356 montre que cette partition est bien reconnue comme une ESP  (is-correct-EFI).
La ligne 470 montre les fichiers efi. (elle n'affiche pas BOOTx64.EFI, je vais corriger ca dans 4ppa84).
Et je vais essayer de corriger le bootinfoscript (lignes 1 à 206) pour qu'il affiche les partitions mmc/nvme et les fichiers efi.

Il n'y a pas de timer dans les menus Boot-Repair ni Boot-Info, je ne sais pas pourquoi tu n'as eu que 5secondes, peut-etre as-tu appuyé sur une touche sans faire exprès.


@Jibel:
je mettrai à jour Boot-Repair-Disk quand Lubuntu20.04 sera sortie.


à consulter/améliorer: Guide du Débutant, Logiciels, Ecole, Travail, Maison

Hors ligne

#1928 Le 18/04/2020, à 00:44

geole

Re : [Réparateur de démarrage] Développement du logiciel Boot-Repair

YannUbuntu a écrit :

bonsoir
Il n'y a pas de timer dans les menus Boot-Repair ni Boot-Info, je ne sais pas pourquoi tu n'as eu que 5secondes, peut-etre as-tu appuyé sur une touche sans faire exprès.

Bonsoir.
Je ne dois être très doué.   Lorsque je clique sur  "options avancées".
Je vois bien l'image s'afficher pendant 5  secondes environ.
   J'en ai  fait une capture
http://pix.toile-libre.org/upload/origi … 166603.png

Mais ce que je n'avais pas réalisé: Au bout de cinq secondes, l'image du dessous remplace l'image  du dessus.
    J'avais juste réalisé qu'en recliquant sur  "options avancées", elle revenait.    Alors qu'il me suffisait de prendre du temps pour voir qu'à sa droite,    les deux options étaient présentes et qu'il est possible de choisir très tranquillement.



Je viens de cliquer sur "A propos"    de la grille initiale .    Le contenu de ce qui s'affiche est renseigné.

http://pix.toile-libre.org/upload/origi … 167632.png

Mais si on clique sur "A propos"  de la grille "options avancées, le contenu est vide.
http://pix.toile-libre.org/upload/origi … 167822.png

Dernière modification par geole (Le 18/04/2020, à 01:02)


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

Hors ligne

#1929 Le 18/04/2020, à 01:38

YannUbuntu

Re : [Réparateur de démarrage] Développement du logiciel Boot-Repair

bien vu, 'A propos' devient gris/vide après avoir cliqué sur Options avancees. Pas tres grave.
Le fait que ça mette plusieurs secondes à faire disparaitre le haut de la fenetre est un peu plus genant, je vais essayer de l'accelerer.

Sinon, je viens de corriger bootinfoscript (dans 4ppa84), il devrait maintenant supporter mmc et nvme.

Dernière modification par YannUbuntu (Le 18/04/2020, à 01:39)


à consulter/améliorer: Guide du Débutant, Logiciels, Ecole, Travail, Maison

Hors ligne

#1930 Le 18/04/2020, à 02:28

jibel

Re : [Réparateur de démarrage] Développement du logiciel Boot-Repair

@Jibel:
je mettrai à jour Boot-Repair-Disk quand Lubuntu20.04 sera sortie.

Merci, il n’empêche que de se servir de ton outil dans lequel il y a des options nécessaires, gparted, os-uninstaller, énergie , réparation , options avancées, position du grub etc tous sont bien la , peuvent servir pour corriger ... cordialement  jibel


Plus grande est la face, plus grand est le dos!
Toutes les fautes de frappe, d'orthographe, de grammaire et de syntaxe ci-dessus, sont la propriété intellectuelle de l'auteur. Elles doivent être reproduites et même corrigées sans l'accord préalable du susdit et toc !

Mint 17.1,Voyager20.04,Emmabuntus 1.Buster, Debian 10.buster, Hybryde 14.04, Pas d'OS intermédiaire ! PC Medion AKOYA  DD 1T + 2 .

Hors ligne

#1931 Le 18/04/2020, à 15:50

geole

Re : [Réparateur de démarrage] Développement du logiciel Boot-Repair

Bonjour
Une information que je fais passer et qui a peut-être une importance pour les caractères accentués

1)   Je viens de faire la mise  a jour du logiciel...

 sudo apt upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
Les paquets suivants seront mis à jour :
  boot-info boot-sav boot-sav-extra glade2script glade2script-python3
5 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 666 ko dans les archives.
Après cette opération, 1024 o d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n] 
Réception de :1 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu bionic/main amd64 glade2script all 3.2.4~ppa15 [36,3 kB]
Réception de :2 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu bionic/main amd64 glade2script-python3 all 3.2.4~ppa15 [35,7 kB]
Réception de :3 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu bionic/main amd64 boot-sav all 4ppa84 [444 kB]
Réception de :4 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu bionic/main amd64 boot-info all 4ppa84 [7012 B]
Réception de :5 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu bionic/main amd64 boot-sav-extra all 4ppa84 [142 kB]
666 ko réceptionnés en 3s (241 ko/s)               
(Lecture de la base de données... 214378 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../glade2script_3.2.4~ppa15_all.deb ...
Dépaquetage de glade2script (3.2.4~ppa15) sur (3.2.4~ppa12) ...
Préparation du dépaquetage de .../glade2script-python3_3.2.4~ppa15_all.deb ...
Dépaquetage de glade2script-python3 (3.2.4~ppa15) sur (3.2.4~ppa12) ...
Préparation du dépaquetage de .../boot-sav_4ppa84_all.deb ...
Dépaquetage de boot-sav (4ppa84) sur (4ppa83) ...
Préparation du dépaquetage de .../boot-info_4ppa84_all.deb ...
Dépaquetage de boot-info (4ppa84) sur (4ppa83) ...
Préparation du dépaquetage de .../boot-sav-extra_4ppa84_all.deb ...
Dépaquetage de boot-sav-extra (4ppa84) sur (4ppa83) ...
Paramétrage de glade2script-python3 (3.2.4~ppa15) ...
Paramétrage de glade2script (3.2.4~ppa15) ...
Paramétrage de boot-sav (4ppa84) ...
Paramétrage de boot-info (4ppa84) ...
Paramétrage de boot-sav-extra (4ppa84) ...
Traitement des actions différées (« triggers ») pour desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Traitement des actions différées (« triggers ») pour man-db (2.8.3-2ubuntu0.1) ...
Traitement des actions différées (« triggers ») pour gnome-menus (3.13.3-11ubuntu1.1) ...
Traitement des actions différées (« triggers ») pour mime-support (3.60ubuntu1) ...

2) Je viens de lancer python3

a@a:~$ sudo boot-info -d --python3
glade2script-python3 3.2.4, Copyright (C) 2010-2020, Python 3.6.9 (default, Nov  7 2019, 10:44:02) 
[GCC 8.3.0]
[[ GTK LIB ]] ==> GtkBuilder

(glade2script-python3:5670): IBUS-WARNING **: 15:31:42.712: The owner of /home/a/.config/ibus/bus is not root!
[[ BEFORE ]] ====>>>> _combobox_format_partition
[[ Error ]] ====>>>> _combobox_format_partition
[[ AFTER ]] ====>>>> _combobox_format_partition
[[ BEFORE ]] ====>>>> _combobox_ostoboot_bydefault
[[ Error ]] ====>>>> _combobox_ostoboot_bydefault
[[ AFTER ]] ====>>>> _combobox_ostoboot_bydefault
[[ BEFORE ]] ====>>>> _combobox_separateboot
[[ Error ]] ====>>>> _combobox_separateboot
[[ AFTER ]] ====>>>> _combobox_separateboot
[[ BEFORE ]] ====>>>> _combobox_efi
[[ Error ]] ====>>>> _combobox_efi
[[ AFTER ]] ====>>>> _combobox_efi
[[ BEFORE ]] ====>>>> _combobox_sepusr
[[ Error ]] ====>>>> _combobox_sepusr
[[ AFTER ]] ====>>>> _combobox_sepusr
[[ BEFORE ]] ====>>>> _combobox_place_grub
[[ Error ]] ====>>>> _combobox_place_grub
[[ AFTER ]] ====>>>> _combobox_place_grub
[[ BEFORE ]] ====>>>> _combobox_add_kernel_option
[[ Error ]] ====>>>> _combobox_add_kernel_option
[[ AFTER ]] ====>>>> _combobox_add_kernel_option
[[ BEFORE ]] ====>>>> _combobox_restore_mbrof
[[ Error ]] ====>>>> _combobox_restore_mbrof
[[ AFTER ]] ====>>>> _combobox_restore_mbrof
[[ BEFORE ]] ====>>>> _combobox_partition_booted_bymbr
[[ Error ]] ====>>>> _combobox_partition_booted_bymbr
[[ AFTER ]] ====>>>> _combobox_partition_booted_bymbr
[[ BEFORE ]] ====>>>> _combobox_bootflag
[[ Error ]] ====>>>> _combobox_bootflag
[[ AFTER ]] ====>>>> _combobox_bootflag

L'affichage est  avec les mauvais accents

2) Je relance avec pithon2

sudo boot-info -d
glade2script 3.2.4, Copyright (C) 2010-2020, Python 2.7.17 (default, Nov  7 2019, 10:07:09) 
[GCC 7.4.0]
[[ GTK LIB ]] ==> GtkBuilder

(glade2script:16191): IBUS-WARNING **: 15:38:45.712: The owner of /home/a/.config/ibus/bus is not root!
[[ BEFORE ]] ====>>>> _combobox_format_partition
[[ COMBO ]] ==> Start make
[[ COMBO ]] ==> Label
[[ AFTER ]] ====>>>> _combobox_format_partition
[[ BEFORE ]] ====>>>> _combobox_ostoboot_bydefault
[[ COMBO ]] ==> Start make
[[ COMBO ]] ==> Label
[[ AFTER ]] ====>>>> _combobox_ostoboot_bydefault
[[ BEFORE ]] ====>>>> _combobox_separateboot
[[ COMBO ]] ==> Start make
[[ COMBO ]] ==> Label
[[ AFTER ]] ====>>>> _combobox_separateboot
[[ BEFORE ]] ====>>>> _combobox_efi
[[ COMBO ]] ==> Start make
[[ COMBO ]] ==> Label
[[ AFTER ]] ====>>>> _combobox_efi
[[ BEFORE ]] ====>>>> _combobox_sepusr
[[ COMBO ]] ==> Start make
[[ COMBO ]] ==> Label
[[ AFTER ]] ====>>>> _combobox_sepusr
[[ BEFORE ]] ====>>>> _combobox_place_grub
[[ COMBO ]] ==> Start make
[[ COMBO ]] ==> Label
[[ AFTER ]] ====>>>> _combobox_place_grub
[[ BEFORE ]] ====>>>> _combobox_add_kernel_option
[[ COMBO ]] ==> Start make
[[ COMBO ]] ==> Label
[[ AFTER ]] ====>>>> _combobox_add_kernel_option
[[ BEFORE ]] ====>>>> _combobox_restore_mbrof
[[ COMBO ]] ==> Start make
[[ COMBO ]] ==> Label
[[ AFTER ]] ====>>>> _combobox_restore_mbrof
[[ BEFORE ]] ====>>>> _combobox_partition_booted_bymbr
[[ COMBO ]] ==> Start make
[[ COMBO ]] ==> Label
[[ AFTER ]] ====>>>> _combobox_partition_booted_bymbr
[[ BEFORE ]] ====>>>> _combobox_bootflag
[[ COMBO ]] ==> Start make
[[ COMBO ]] ==> Label
[[ AFTER ]] ====>>>> _combobox_bootflag

L'affichage est correct.

4) Puis de nouveau python3    qui donne toujours les même messages d'erreur.
5) Puis de nouveau pyton2    qui les même messages de traitement

Le tout va être de comprendre les raisons de l'erreur

J'ai ajouté quelques lignes de traces et j'ai fait planté...   (Donc une seule cause)

                try:
                    getattr(self, widget)(name)
                #except gi._glib.GError, e:
                #    raise
                except:
                    if "Combo" in widget:
                        print("widget=",widget)
                        print("name=", name)
                        print("getattr=",getattr(self, widget)(name))
                        raise
                        raise
[[ BEFORE ]] ====>>>> _combobox_format_partition
widget= GtkComboBox
name= _combobox_format_partition
Traceback (most recent call last):
  File "/usr/bin/glade2script-python3", line 1308, in parse_xml
    getattr(self, widget)(name)
  File "/usr/bin/glade2script-python3", line 1390, in GtkComboBox
    self.make_combo(nom, combo)
NameError: name 'combo' is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/glade2script-python3", line 4876, in <module>
    m = Gui()
  File "/usr/bin/glade2script-python3", line 1925, in __init__
    self.parse_xml()
  File "/usr/bin/glade2script-python3", line 1315, in parse_xml
    print("getattr=",getattr(self, widget)(name))
  File "/usr/bin/glade2script-python3", line 1390, in GtkComboBox
    self.make_combo(nom, combo)
NameError: name 'combo' is not defined

Dernière modification par geole (Le 18/04/2020, à 19:15)


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

Hors ligne

#1932 Le 21/04/2020, à 18:32

YannUbuntu

Re : [Réparateur de démarrage] Développement du logiciel Boot-Repair

Ouf! j'ai résolu le problème des caractères Unicode (glade2script3.2.4ppa16).  Il ne reste plus qu'à résoudre le soucis des combobox vides ! big_smile


à consulter/améliorer: Guide du Débutant, Logiciels, Ecole, Travail, Maison

Hors ligne

#1933 Le 21/04/2020, à 19:01

geole

Re : [Réparateur de démarrage] Développement du logiciel Boot-Repair

YannUbuntu a écrit :

Notamment les Combobox restent vides (indice: voir les lignes [[ COMBO ]] manquantes en comparant l'exécution de boot-repair Python2 et 3 ),
et les caractères Unicode (accents, etc..) ne passent pas. (vous allez vite le voir ;-) )

j'en ai profité pour optimiser un peu glade2script version Python2.
et les soucis de MCC et /home/$USER/.config devraient etre résolus dans boot-repair4-ppa83.

Bonjour
Je n'ai pas tout compris pour le problème des combox.
    Il me semble que tout est correct.   Je vais ajouter les captures des écrans du boot-info.
Le premier
1587494197.png

Le second
1587494465.png

Le troisième
1587494719.png

Puis d'autres au fur et à mesure de l'évolution. Je pense que par moments cela chargeait  plus vite que ma technique de capture

Le quatrième....... et le onzième avec les bons caractères accentués.
1587546089.png



En revanche, je vois  bien le problème   des accents      pour les caractères  accentués. Par exemple dans la ligne   "détection des systèmes " 
    - Le é est vu comme   un grand A avec dessus  un tréma     (Ä) suivi du symbole de copyright soit un petit c dans un grand O   (Mon clavier n'a pas ce symbole).
    - Le è est vu comme   Ä"

Cependant, ce paragraphe est correctement affiché.   

Veuillez écrire sur un papier l'URL suivante :
https://paste.ubuntu.com/p/6R6w65q7Cy/

Si vous avez des problèmes de démarrage, indiquez cette URL aux personnes qui vous aident. Par exemple sur les forums ou par courriel

Pourtant, tout cela est dans même module de traduction langage (/usr/share/boo-sav/boot-sav/gui-translations.sh)
Par exemple pour ces lignes

boot-sav/gui-translations.sh ligne 134  Create_a_BootInfo_report=$(eval_gettext $'Create a BootInfo summary')
boot-sav/gui-translations.shigne 138 Please_write_url_on_paper=$(eval_gettext $'Please write on a paper the following URL:')

Qui sont activées dans le même module mais pas avec la  même technique. Cela ne semble donc pas un problème du logiciel   de traduction mais d'utilisation de la traduction.

boot-sav/gui-actions.sh:624:LAB="$Create_a_BootInfo_report"
boot-sav/gui-actions.sh:817:LAB="$Create_a_BootInfo_report"

lboot-sav/gui-translations.shigne 138 Please_write_url_on_paper=$(eval_gettext $'Please write on a paper the following URL:')
boot-sav/gui-actions.sh:753:		TEXTMID="$Please_write_url_on_paper

Il n'est pas facile de voir dans le fichier  /usr/share/locale/fr/LC_MESSAGES/boot-sav.mo
Mais avec nano on voit certainement le format de stockage
Content-Type: text/plain; charset=iso-8859-1
J'imagine que si on peut changer  au moment de la fabrication par utf8   cela ira mieux... Ou il y aurait une  inversion des problèmes?
Je ne pas certain que cela possible.

Autre problème pour boot-info: L'analyse des NVME est nettement améliorée mais  voir  le contenu de la partition de boot EFI,  le contenu des fichiers /EFI/boot/ubuntu/grub.cfg , /boot/grub/grub.cfg et /etc/fstab serait apprécié => échange N° 10

J'en profile pour évoquer un autre problème sur boot-repair.  =>  Echange N°43
Bonne soirée.

Dernière modification par geole (Le 22/04/2020, à 10:00)


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

Hors ligne

#1934 Le 21/04/2020, à 19:12

jibel

Re : [Réparateur de démarrage] Développement du logiciel Boot-Repair

houlala, PB avec le clavier qui apparemment n'est pas au top ? Peut-être qu'avec numlockx ou Ibus et choisir la langue ?? Va savoir?


Plus grande est la face, plus grand est le dos!
Toutes les fautes de frappe, d'orthographe, de grammaire et de syntaxe ci-dessus, sont la propriété intellectuelle de l'auteur. Elles doivent être reproduites et même corrigées sans l'accord préalable du susdit et toc !

Mint 17.1,Voyager20.04,Emmabuntus 1.Buster, Debian 10.buster, Hybryde 14.04, Pas d'OS intermédiaire ! PC Medion AKOYA  DD 1T + 2 .

Hors ligne

#1935 Le 22/04/2020, à 02:38

YannUbuntu

Re : [Réparateur de démarrage] Développement du logiciel Boot-Repair

Le probleme des combobox devrait etre résolu dans  glade2script - 3.2.4~ppa17  cool
Je vous laisse tester "sudo boot-repair -python3"  sous toutes les coutures, puis si c'est bon on pourra mettre la version Python3 par défaut.

Geole, j'ai ajouté /EFI/boot/ubuntu/grub.cfg , et /boot/grub/grub.cfg dans boot-sav 4ppa85. /etc/fstab y était déjà. Je regarderai l'echange43 plus tard. Bonne nuit smile

Dernière modification par YannUbuntu (Le 22/04/2020, à 02:45)


à consulter/améliorer: Guide du Débutant, Logiciels, Ecole, Travail, Maison

Hors ligne

#1936 Le 22/04/2020, à 05:07

moko138

Re : [Réparateur de démarrage] Développement du logiciel Boot-Repair

Merci YannUbuntu pour tout ce boulot abattu !  smile

  - -

YannUbuntu a écrit :

@Geole:

(glade2script-python3:10700): IBUS-WARNING **: 11:07:03.188: The owner of /home/a/.config/ibus/bus is not root!

Ibus est une methode de saisie, rien à voir avec boot-repair, ça ne m'a pas l'air d'etre un probleme.

C'est un message de boot-repair, et il donne à croire - même à un utilisateur chevronné ! (cf. ./viewtopic.php?pid=22193363#p22193363 et message précédent  wink) - que normalement ~/.config/ibus devrait appartenir à root.

  Donc si tu trouves le temps d'éliminer cet avertissement trompeur, ce sera super.
Merci !  smile


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#1937 Le 22/04/2020, à 08:39

YannUbuntu

Re : [Réparateur de démarrage] Développement du logiciel Boot-Repair

Salut Moko, lol c'est Asterix en esperanto ?

salut Geole, as-tu toujours le warning ibus avec la derniere version de glade2script ?


à consulter/améliorer: Guide du Débutant, Logiciels, Ecole, Travail, Maison

Hors ligne

#1938 Le 22/04/2020, à 10:18

jibel

Re : [Réparateur de démarrage] Développement du logiciel Boot-Repair

YannUbuntu a écrit :

Salut Moko, lol c'est Asterix en esperanto ?

salut Geole, as-tu toujours le warning ibus avec la derniere version de glade2script ?

Très drôle Astèrix en espéranto lol .. idem pour Geole, je venais de tester Ub 18.04 , dans les paquets installés il y a référence des caractères...J'ai eu le même PB de modifier les lettres et numéros etc


Plus grande est la face, plus grand est le dos!
Toutes les fautes de frappe, d'orthographe, de grammaire et de syntaxe ci-dessus, sont la propriété intellectuelle de l'auteur. Elles doivent être reproduites et même corrigées sans l'accord préalable du susdit et toc !

Mint 17.1,Voyager20.04,Emmabuntus 1.Buster, Debian 10.buster, Hybryde 14.04, Pas d'OS intermédiaire ! PC Medion AKOYA  DD 1T + 2 .

Hors ligne

#1939 Le 22/04/2020, à 10:19

moko138

Re : [Réparateur de démarrage] Développement du logiciel Boot-Repair

"Pas un peu fou, non ?" c'est du latin.  smile


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#1940 Le 22/04/2020, à 11:10

geole

Re : [Réparateur de démarrage] Développement du logiciel Boot-Repair

Bonjour
Voici un premier retour d'un passage boot-info fait à partir de la version 20.04  installée.    Comme le listing est volumineux, j'en ai extrait des point essentiels

D'abord,    les grilles de fabrications     sont en français avec les accents corrects.   puisque lancée à partir de la session installée!

1) La  version  de boot-info

=================== log of boot-info 20200422_1013 ===================
boot-info version : 4ppa85
boot-sav version : 4ppa85
boot-sav-extra version : 4ppa85
glade2script version : 3.2.4~ppa17

2) Deux  petits messages d'anomalies. Je ne sais pas quoi en penser. Ils ne sont  probablement pas nouveaux.

=============================== StdErr Messages: ===============================

/usr/share/boot-sav/b-i-s.sh: line 2559: 8388608S: value too great for base (error token is "8388608S")
/usr/share/boot-sav/bs-cmd_terminal.sh: ligne 194: avertissement : substitution de commande: octet nul ignoré en entrée

3) La structure EFI de boot montre que les fichiers de boot sont  dans SDA2 dont le contenu n'est plus listé!

=================== efibootmgr -v
BootCurrent: 0007
BootOrder: 0007,0002,0000,0001,0003,0004,0005,2003,2001,2002
Boot0000* Windows Boot Manager	HD(2,GPT,59f84639-c0fa-47f6-a197-022d45750be8,0x8800,0xfd000)/File(EFIMicrosoftBootbootmgfw.efi)RC
Boot0001* Ubuntu	HD(10,GPT,e827b315-fbdd-4d2c-bd6e-1849c71c009b,0x1982c800,0x400000)/File(EFIubuntugrubx64.efi)RC
Boot0002* Ubuntu	HD(2,GPT,59f84639-c0fa-47f6-a197-022d45750be8,0x8800,0xfd000)/File(EFIubuntugrubx64.efi)RC
....
Boot0007* refind	HD(2,GPT,59f84639-c0fa-47f6-a197-022d45750be8,0x8800,0xfd000)/File(EFIrefindrefind_x64.efi)
sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________
GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sda1                 2,048        34,815        32,768 Microsoft Reserved Partition (Windows)
/dev/sda2                34,816     1,071,103     1,036,288 EFI System partition
/dev/sda3      R      1,071,104     2,107,391     1,036,288 EFI System partition

4) La nouveauté réservée aux ordinateurs bootant en EFI: Le fichier de la partition en cours est bien listé mais oubli pour les autres partitions.

=================== /boot/refind_linux.conf :
"Boot en mode standard "   "root=UUID=18b28382-0ec9-4bea-a0b3-24729bd90810 ro fsck.mode=force "
"Boot en mode recovery "   "recovery nomodeset ro root=18b28382-0ec9-4bea-a0b3-24729bd90810"
"Boot avec reparation  "   "root=UUID=18b28382-0ec9-4bea-a0b3-24729bd90810  ro quiet splash fsck.mode=force fsck.repair=yes vt.handoff=7"
"Boot sans fonction EFI"   "root=UUID=18b28382-0ec9-4bea-a0b3-24729bd90810  ro noefi vt.handoff=7"

NOTA cet ordinateur n'a pas de RAIDS et de ubuntu installé en LVM.
          Pour ceux qui ne connaissent pas très bien REFIND, les 4  lignes listées ci-dessus  sont l'équivalent du fichier  /boot/grub/grub.cfg plus l'astuce permettant d'ajouter une option supplémentaire (mise dans les lignes 3 et 4) au moment de booter.
Non seulement, elles se substitue  au fichier "/boot/grub/grub.cfg" mais aussi à la commande "update-grub"  qui prend un certain temps en contexte multi O.S. au moment de la fabrication et au moment du boot ==>   https://forum.ubuntu-fr.org/viewtopic.p … #p22263496   
et plus fort encore, elle permet de  ne pas  installer le grub si on installe  ubuntu avec  cette commande sudo ubiquity -b

a@a:~$ ls -ls /boot/grub
total 2348
   4 -rw-r--r-- 1 root root     712 avril  2 17:55 gfxblacklist.txt
   4 -rw-r--r-- 1 root root    1024 avril 22 09:47 grubenv
2340 -rw-r--r-- 1 root root 2395475 avril 18 16:22 unicode.pf2
a@a:~$ ls -ls /boot
total 206408
  236 -rw-r--r-- 1 root root   237711 mars  26 21:51 config-5.4.0-21-generic
  236 -rw-r--r-- 1 root root   237718 avril 17 15:41 config-5.4.0-25-generic
  236 -rw-r--r-- 1 root root   237718 avril 20 18:33 config-5.4.0-26-generic
    4 drwx------ 9 root root     4096 janv.  1  1970 efi
    4 drwxr-xr-x 2 root root     4096 avril 18 15:52 grub
    0 lrwxrwxrwx 1 root root       27 avril 22 10:07 initrd.img -> initrd.img-5.4.0-26-genericn'est plus listé
52344 -rw-r--r-- 1 root root 53599298 avril 18 14:49 initrd.img-5.4.0-21-generic
52372 -rw-r--r-- 1 root root 53628926 avril 20 10:53 initrd.img-5.4.0-25-generic
52372 -rw-r--r-- 1 root root 53628764 avril 22 10:08 initrd.img-5.4.0-26-generic
    0 lrwxrwxrwx 1 root root       27 avril 22 10:07 initrd.img.old -> initrd.img-5.4.0-25-generic
   16 drwx------ 2 root root    16384 avril 18 14:37 lost+found
  180 -rw-r--r-- 1 root root   182704 févr. 14 00:09 memtest86+.bin
  184 -rw-r--r-- 1 root root   184380 févr. 14 00:09 memtest86+.elf
  184 -rw-r--r-- 1 root root   184884 févr. 14 00:09 memtest86+_multiboot.bin
    4 -rw-r--r-- 1 root root      426 avril 18 15:29 refind_linux.conf
 4624 -rw------- 1 root root  4733643 mars  26 21:51 System.map-5.4.0-21-generic
 4628 -rw------- 1 root root  4736015 avril 17 15:41 System.map-5.4.0-25-generic
 4628 -rw------- 1 root root  4736015 avril 20 18:33 System.map-5.4.0-26-generic
    0 lrwxrwxrwx 1 root root       24 avril 22 10:07 vmlinuz -> vmlinuz-5.4.0-26-generic
11380 -rw-r--r-- 1 root root 11649784 avril  5 11:23 vmlinuz-5.4.0-21-generic
11388 -rw------- 1 root root 11657976 avril 17 16:47 vmlinuz-5.4.0-25-generic
11388 -rw------- 1 root root 11657976 avril 20 18:41 vmlinuz-5.4.0-26-generic
    0 lrwxrwxrwx 1 root root       24 avril 22 10:07 vmlinuz.old -> vmlinuz-5.4.0-25-generic
a@a:~$ 


Dans un premier temps, une utilisation de boot-repair   depuis cette instance installée .
A priori les grilles qui pilotent les options de réparation sont correctes. On peut cliquer, changer les options, rectifier......
Comme le boot a lieu en EFI et que windows est installé en EFI , l'onglet MBR m'est  interdit.    Je ne sais pas trop ce qu'il contient   
Donc depuis cette session installée, j'ai choisis une option minima.      Tout s'est bien passé. Les grilles suivantes sont correctes (Mais ce choix ne permet pas d'avoir les grilles demandant d'exécuter des commandes)

Voici des extraits significatils.

========================================================================
=================== log of boot-repair 20200422_1205 ===================
boot-repair version : 4ppa85
boot-sav version : 4ppa85
boot-sav-extra version : 4ppa85
glade2script version : 3.2.4~ppa17
=================== User settings
The settings chosen by the user will not act on the MBR.
Additional repair will be performed: unhide-bootmenu-16s


Unhide GRUB boot menu in sda23/etc/default/grub
Unhide GRUB boot menu in sda6/etc/default/grub
Unhide GRUB boot menu in sda11/etc/default/grub
Unhide GRUB boot menu in sda13/etc/default/grub
Unhide GRUB boot menu in sda20/etc/default/grub
Unhide GRUB boot menu in sda5/boot/grub/grub.cfg
Unhide GRUB boot menu in sda6/boot/grub/grub.cfg
Unhide GRUB boot menu in sda9/boot/grub/grub.cfg
Unhide GRUB boot menu in sda10/boot/grub/grub.cfg
Unhide GRUB boot menu in sda11/boot/grub/grub.cfg
Unhide GRUB boot menu in sda13/boot/grub/grub.cfg
Unhide GRUB boot menu in sda20/boot/grub/grub.cfg
Unhide GRUB boot menu in sda26/boot/grub/grub.cfg

Le démarrage de l'ordinateur a été correctement réparé.

Vous pouvez maintenant redémarrer votre ordinateur.

Je suis allé regarder les fichiers de la partition sda6, Ils ont bien été modifié.

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=16
a@a:/mnt/boot/grub$ cat grub.cfg| grep timeout
  set timeout=16
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=16
  # Fallback hidden-timeout code in case the timeout_style feature is
    set timeout=16
a@a:/mnt/boot/grub$ 

Comme je n'avais pas demandé d'installer le grub, Il a fait exactement ce qui a été demandé .
Le changement s'est donc fait pour toutes les instances présentes pour les fichiers présents..


Maintenant, une action supplémentaire en supprimant les paquets python2.7 qui avaient été installés  par les versions précédentes et lancement d'un boot-repair afin de produire un boo-info. Tout se passe bien.
"Veuillez écrire sur un papier l'URL suivante :
https://paste.ubuntu.com/p/6Vjbktp5pN/
"

Dernière modification par geole (Le 22/04/2020, à 13:19)


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

Hors ligne

#1941 Le 22/04/2020, à 14:54

geole

Re : [Réparateur de démarrage] Développement du logiciel Boot-Repair

Voilà, je viens de booter en live-usb  avec la version BETA de ubuntu 20.04
Je propose d'installer le dernier noyau dans une partition d'un support externe ayant une partition de boot dans un support interne

Toutes les grilles sont évidemment en anglais (mais on a vu que le français est opérationnel)

Il n'y a aucun problème pour cocher les cases.
Une fenêtre vient de s'ouvrir, elle me propose  d'exécuter les commandes suivantes

sudo chroot "/mnt/boot-sav/sdc16" dpkg --configure -a
sudo chroot "/mnt/boot-sav/sdc16" dpkg --configure -a
sudo chroot "/mnt/boot-sav/sdc16" apt-get install -fy
sudo chroot "/mnt/boot-sav/sdc16" apt-get install -y lvm2
sudo chroot "/mnt/boot-sav/sdc16" apt-get purge -y grub*-common shim-signed

Cela semble bien se passer

ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/sdc16" dpkg --configure -a
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/sdc16" dpkg --configure -a
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/sdc16" apt-get install -fy
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 476 not upgraded.
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/sdc16" apt-get install -y lvm2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
lvm2 is already the newest version (2.03.07-1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 476 not upgraded.
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/sdc16" apt-get purge -y grub*-common shim-signed
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'grub-common' for glob 'grub*-common'
Note, selecting 'grub2-common' for glob 'grub*-common'
The following packages will be REMOVED:
  grub-common* grub-efi-amd64* grub-efi-amd64-bin* grub-efi-amd64-signed* grub2-common* os-prober* shim-signed*
0 upgraded, 0 newly installed, 7 to remove and 470 not upgraded.
After this operation, 28.5 MB disk space will be freed.
(Reading database ... 195399 files and directories currently installed.)
Removing shim-signed (1.40+15+1533136590.3beb971-0ubuntu1) ...
Removing grub-efi-amd64-signed (1.137+2.04-1ubuntu22) ...
Removing grub-efi-amd64 (2.04-1ubuntu22) ...
Removing grub2-common (2.04-1ubuntu22) ...
Removing grub-efi-amd64-bin (2.04-1ubuntu22) ...
Removing os-prober (1.74ubuntu2) ...
dpkg: warning: while removing os-prober, directory '/var/lib/os-prober' not empty so not removed
Removing grub-common (2.04-1ubuntu22) ...
Running in chroot, ignoring request.
Running in chroot, ignoring request: daemon-reload
Running in chroot, ignoring request: is-active
Running in chroot, ignoring request: stop
Running in chroot, ignoring request: stop
Running in chroot, ignoring request: daemon-reload
Running in chroot, ignoring request: daemon-reload
Processing triggers for install-info (6.7.0.dfsg.2-5) ...
Processing triggers for man-db (2.9.1-1) ...
(Reading database ... 194946 files and directories currently installed.)
Purging configuration files for grub2-common (2.04-1ubuntu22) ...
Purging configuration files for shim-signed (1.40+15+1533136590.3beb971-0ubuntu1) ...
Purging configuration files for grub-common (2.04-1ubuntu22) ...
Running in chroot, ignoring request: daemon-reload
Running in chroot, ignoring request: daemon-reload
Running in chroot, ignoring request: daemon-reload
Running in chroot, ignoring request: daemon-reload
dpkg: warning: while removing grub-common, directory '/var/lib/grub/ucf' not empty so not removed
dpkg: warning: while removing grub-common, directory '/etc/grub.d' not empty so not removed
Purging configuration files for grub-efi-amd64 (2.04-1ubuntu22) ...
Processing triggers for systemd (245.2-1ubuntu2) ...
Running in chroot, ignoring request: daemon-reload
ubuntu@ubuntu:~$ 
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/sdc16" apt-get purge -y grub*-common shim-signed
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'grub-common' for glob 'grub*-common'
Note, selecting 'grub2-common' for glob 'grub*-common'
Package 'grub-common' is not installed, so not removed
Package 'grub2-common' is not installed, so not removed
Package 'shim-signed' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 470 not upgraded.
ubuntu@ubuntu:~$ 

Puis j'ai proposition de cette commande

sudo chroot "/mnt/boot-sav/sdc16" apt-get install -y grub-efi-amd64-signed shim-signed linux-headers-generic

qui semble bien se passer aussi

ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/sdc16" apt-get install -y grub-efi-amd64-signed shim-signed linux-headers-generic
Reading package lists... Done
Building dependency tree       
Reading state information... Done
linux-headers-generic is already the newest version (5.4.0.26.32).
linux-headers-generic set to manually installed.
The following additional packages will be installed:
  grub-common grub-efi-amd64 grub-efi-amd64-bin grub2-common os-prober
Suggested packages:
  multiboot-doc grub-emu xorriso desktop-base
The following NEW packages will be installed:
  grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub2-common os-prober shim-signed
0 upgraded, 7 newly installed, 0 to remove and 470 not upgraded.
Need to get 364 kB/4022 kB of archives.
After this operation, 28.6 MB of additional disk space will be used.
Get:1 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 os-prober amd64 1.74ubuntu2 [20.1 kB]
Get:2 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 shim-signed amd64 1.40.3+15+1533136590.3beb971-0ubuntu1 [344 kB]
Fetched 364 kB in 1s (320 kB/s)     
Preconfiguring packages ...
Selecting previously unselected package grub-common.
(Reading database ... 194927 files and directories currently installed.)
Preparing to unpack .../0-grub-common_2.04-1ubuntu26_amd64.deb ...
Unpacking grub-common (2.04-1ubuntu26) ...
Selecting previously unselected package grub-efi-amd64-bin.
Preparing to unpack .../1-grub-efi-amd64-bin_2.04-1ubuntu26_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.04-1ubuntu26) ...
Selecting previously unselected package grub2-common.
Preparing to unpack .../2-grub2-common_2.04-1ubuntu26_amd64.deb ...
Unpacking grub2-common (2.04-1ubuntu26) ...
Selecting previously unselected package grub-efi-amd64.
Preparing to unpack .../3-grub-efi-amd64_2.04-1ubuntu26_amd64.deb ...
Unpacking grub-efi-amd64 (2.04-1ubuntu26) ...
Selecting previously unselected package grub-efi-amd64-signed.
Preparing to unpack .../4-grub-efi-amd64-signed_1.142+2.04-1ubuntu26_amd64.deb ...
Unpacking grub-efi-amd64-signed (1.142+2.04-1ubuntu26) ...
Selecting previously unselected package os-prober.
Preparing to unpack .../5-os-prober_1.74ubuntu2_amd64.deb ...
Unpacking os-prober (1.74ubuntu2) ...
Selecting previously unselected package shim-signed.
Preparing to unpack .../6-shim-signed_1.40.3+15+1533136590.3beb971-0ubuntu1_amd64.deb ...
Unpacking shim-signed (1.40.3+15+1533136590.3beb971-0ubuntu1) ...
Setting up grub-common (2.04-1ubuntu26) ...
Created symlink /etc/systemd/system/multi-user.target.wants/grub-initrd-fallback.service → /lib/systemd/system/grub-initrd-fallback.service.
Created symlink /etc/systemd/system/rescue.target.wants/grub-initrd-fallback.service → /lib/systemd/system/grub-initrd-fallback.service.
Created symlink /etc/systemd/system/emergency.target.wants/grub-initrd-fallback.service → /lib/systemd/system/grub-initrd-fallback.service.
Running in chroot, ignoring request: daemon-reload
Running in chroot, ignoring request: is-active
Running in chroot, ignoring request: start
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Running in chroot, ignoring request: daemon-reload
Running in chroot, ignoring request.
Running in chroot, ignoring request: daemon-reload
Running in chroot, ignoring request: is-active
Running in chroot, ignoring request: start
Setting up os-prober (1.74ubuntu2) ...
Setting up grub-efi-amd64-bin (2.04-1ubuntu26) ...
Setting up grub2-common (2.04-1ubuntu26) ...
Setting up grub-efi-amd64 (2.04-1ubuntu26) ...

Creating config file /etc/default/grub with new version
Setting up grub-efi-amd64-signed (1.142+2.04-1ubuntu26) ...
Setting up shim-signed (1.40.3+15+1533136590.3beb971-0ubuntu1) ...
Processing triggers for systemd (245.2-1ubuntu2) ...
Running in chroot, ignoring request: daemon-reload
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for install-info (6.7.0.dfsg.2-5) ...
ubuntu@ubuntu:~$ 

Voici la fin.

Please write on a paper the following URL:
https://paste.ubuntu.com/p/CyQbsRWWfZ/


In case you still experience boot problem, indicate this URL to:
boot.repair@gmail.com or to your favorite support forum.

You can now reboot your computer.
Please do not forget to make your BIOS boot on sdc1/EFI/ubuntu/shimx64.efi file!

If your computer reboots directly into Windows, try to change the boot order in your BIOS.
If your BIOS does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi

A broken Wubi has been detected. Please fix it this way:
https://wiki.ubuntu.com/WubiGuide#Cannot_boot_into_Ubuntu

Le constat final,  Au reboot de l'O.S. traité

On voit assez facilement que pas mal de noyaux sont éliminés et que le noyau 26 est présent. On est très  proche de la 20.04-lts

a@a:~$ dpkg -l | grep linux
ii  console-setup-linux                        1.194ubuntu3                               all          Linux specific part of console-setup
ii  libnvpair1linux                            0.8.3-1ubuntu11                            amd64        Solaris name-value library for Linux
ii  libselinux1:amd64                          3.0-1build2                                amd64        SELinux runtime shared libraries
ii  libuutil1linux                             0.8.3-1ubuntu11                            amd64        Solaris userland utility library for Linux
ii  libv4l-0:amd64                             1.18.0-2build1                             amd64        Collection of video4linux support libraries
ii  libv4lconvert0:amd64                       1.18.0-2build1                             amd64        Video4linux frame format conversion library
ii  libzfs2linux                               0.8.3-1ubuntu11                            amd64        OpenZFS filesystem library for Linux
ii  libzpool2linux                             0.8.3-1ubuntu11                            amd64        OpenZFS pool library for Linux
ii  linux-base                                 4.5ubuntu3                                 all          Linux image base package
ii  linux-firmware                             1.187                                      all          Firmware for Linux kernel drivers
ii  linux-generic                              5.4.0.26.32                                amd64        Complete Generic Linux kernel and headers
ii  linux-headers-5.4.0-26                     5.4.0-26.30                                all          Header files related to Linux kernel version 5.4.0
ii  linux-headers-5.4.0-26-generic             5.4.0-26.30                                amd64        Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
ii  linux-headers-generic                      5.4.0.26.32                                amd64        Generic Linux kernel headers
ii  linux-image-5.4.0-26-generic               5.4.0-26.30                                amd64        Signed kernel image generic
ii  linux-image-generic                        5.4.0.26.32                                amd64        Generic Linux kernel image
ii  linux-modules-5.4.0-1002-oem               5.4.0-1002.4                               amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
ii  linux-modules-5.4.0-26-generic             5.4.0-26.30                                amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
ii  linux-modules-extra-5.4.0-26-generic       5.4.0-26.30                                amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
ii  linux-sound-base                           1.0.25+dfsg-0ubuntu5                       all          base package for ALSA and OSS sound systems
ii  pptp-linux                                 1.10.0-1build1                             amd64        Point-to-Point Tunneling Protocol (PPTP) Client
ii  syslinux                                   3:6.04~git20190206.bf6db5b4+dfsg1-2        amd64        collection of bootloaders (DOS FAT and NTFS bootloader)
ii  syslinux-common                            3:6.04~git20190206.bf6db5b4+dfsg1-2        all          collection of bootloaders (common)
ii  syslinux-legacy                            2:3.63+dfsg-2ubuntu9                       amd64        Bootloader for Linux/i386 using MS-DOS floppies
ii  util-linux                                 2.34-0.1ubuntu8                            amd64        miscellaneous system utilities
ii  zfsutils-linux                             0.8.3-1ubuntu11                            amd64        command-line tools to manage OpenZFS filesystems
a@a:~

Cependant, puisque l'outil est d'abord destiné à réparer le grub et aussi sa présentation, on va constater que  la version 18 va toujours être proposée par le grub!!!

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-68b8df32-341a-48fc-a9bc-b96772134e38' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt21'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt21 --hint-efi=hd0,gpt21 --hint-baremetal=ahci0,gpt21  ebcd6907-0c82-48c5-8ff6-605d7e540110
	else
	  search --no-floppy --fs-uuid --set=root ebcd6907-0c82-48c5-8ff6-605d7e540110
	fi
	linux	/vmlinuz-5.4.0-26-generic root=UUID=68b8df32-341a-48fc-a9bc-b96772134e38 ro  quiet splash nomodeset $vt_handoff
	initrd	/initrd.img-5.4.0-26-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-68b8df32-341a-48fc-a9bc-b96772134e38' {
	menuentry 'Ubuntu, with Linux 5.4.0-26-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-26-generic-advanced-68b8df32-341a-48fc-a9bc-b96772134e38' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt21'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt21 --hint-efi=hd0,gpt21 --hint-baremetal=ahci0,gpt21  ebcd6907-0c82-48c5-8ff6-605d7e540110
		else
		  search --no-floppy --fs-uuid --set=root ebcd6907-0c82-48c5-8ff6-605d7e540110
		fi
		echo	'Loading Linux 5.4.0-26-generic ...'
		linux	/vmlinuz-5.4.0-26-generic root=UUID=68b8df32-341a-48fc-a9bc-b96772134e38 ro  quiet splash nomodeset $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-5.4.0-26-generic
	}
	menuentry 'Ubuntu, with Linux 5.4.0-26-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-26-generic-recovery-68b8df32-341a-48fc-a9bc-b96772134e38' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt21'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt21 --hint-efi=hd0,gpt21 --hint-baremetal=ahci0,gpt21  ebcd6907-0c82-48c5-8ff6-605d7e540110
		else
		  search --no-floppy --fs-uuid --set=root ebcd6907-0c82-48c5-8ff6-605d7e540110
		fi
		echo	'Loading Linux 5.4.0-26-generic ...'
		linux	/vmlinuz-5.4.0-26-generic root=UUID=68b8df32-341a-48fc-a9bc-b96772134e38 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-5.4.0-26-generic
	}
	menuentry 'Ubuntu, with Linux 5.4.0-18-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-18-generic-advanced-68b8df32-341a-48fc-a9bc-b96772134e38' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt21'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt21 --hint-efi=hd0,gpt21 --hint-baremetal=ahci0,gpt21  ebcd6907-0c82-48c5-8ff6-605d7e540110
		else
		  search --no-floppy --fs-uuid --set=root ebcd6907-0c82-48c5-8ff6-605d7e540110
		fi
		echo	'Loading Linux 5.4.0-18-generic ...'
		linux	/vmlinuz-5.4.0-18-generic root=UUID=68b8df32-341a-48fc-a9bc-b96772134e38 ro  quiet splash nomodeset $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-5.4.0-18-generic
	}
	menuentry 'Ubuntu, with Linux 5.4.0-18-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-18-generic-recovery-68b8df32-341a-48fc-a9bc-b96772134e38' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt21'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt21 --hint-efi=hd0,gpt21 --hint-baremetal=ahci0,gpt21  ebcd6907-0c82-48c5-8ff6-605d7e540110
		else
		  search --no-floppy --fs-uuid --set=root ebcd6907-0c82-48c5-8ff6-605d7e540110
		fi
		echo	'Loading Linux 5.4.0-18-generic ...'
		linux	/vmlinuz-5.4.0-18-generic root=UUID=68b8df32-341a-48fc-a9bc-b96772134e38 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-5.4.0-18-generic
	}
}

### END /etc/grub.d/10_linux ###

Ce qui est normal car les fichiers de boot n'ont pas été éliminésl

a@a:~$ ls  -als /boot/init*
    0 lrwxrwxrwx 1 root root       27 avril 22 14:40 /boot/initrd.img -> initrd.img-5.4.0-26-generic
87360 -rw-r--r-- 1 root root 89452777 mars  26 15:23 /boot/initrd.img-5.4.0-14-generic
88044 -rw-r--r-- 1 root root 90151862 mars  28 00:32 /boot/initrd.img-5.4.0-18-generic
87912 -rw-r--r-- 1 root root 90021253 avril 22 14:41 /boot/initrd.img-5.4.0-26-generic
    0 lrwxrwxrwx 1 root root       27 avril 22 14:38 /boot/initrd.img.old -> initrd.img-5.4.0-18-generic
a@a:~$ ls  -als /boot/vmlinuz*
    0 lrwxrwxrwx 1 root root       24 avril 22 14:40 /boot/vmlinuz -> vmlinuz-5.4.0-26-generic
11380 -rw------- 1 root root 11649784 mars   7 17:25 /boot/vmlinuz-5.4.0-18-generic
11388 -rw------- 1 root root 11657976 avril 20 18:41 /boot/vmlinuz-5.4.0-26-generic
    0 lrwxrwxrwx 1 root root       24 avril 22 14:38 /boot/vmlinuz.old -> vmlinuz-5.4.0-18-generic
a@a:~$ 

Donc il faudra penser à les éliminer manuellement et refaire la génération.

Dans le compte-rendu d'exécution on retrouve bien ce qui a été demandé

=================== User settings
The settings chosen by the user will purge (in order to sign-grub) and reinstall the grub-efi-amd64-signed of sdc16, using the following options:     kernel-purge   sda21/boot, sdc1/boot/efi, add-kernel-option (nomodeset),
Additional repair will be performed: unhide-bootmenu-10s   fix-windows-boot use-standard-efi-file  restore-efi-backups

AJOUT.   Après pas mal d'attente, je vais agir.

a@a:~$ sudo apt upgrade
^Citing for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 7097 (unattended-upgr)... 136s
a@a:~$ ps -aux | grep unattended
root        1583  0.0  0.3 126728 22924 ?        Ssl  16:15   0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
root        7097  5.6  2.6 337568 160764 ?       Sl   16:25   3:18 /usr/bin/python3 /usr/bin/unattended-upgrade
root      171324  5.6  1.7 337568 106028 ?       S    17:24   0:00 /usr/bin/python3 /usr/bin/unattended-upgrade
root      171434  0.0  1.0 337568 65312 ?        S    17:24   0:00 /usr/bin/python3 /usr/bin/unattended-upgrade
a         171659  0.0  0.0  17988   740 pts/2    S+   17:24   0:00 grep --color=auto unattended

Attention dans un autre contexte sans réinstallation  des noyaux mais seulement du shim, cela se passe mal en versionn 20.04
cette commande  se plante

ubuntu@ubuntu:~$ sudo chroot "/media/ubuntu/8f20d237-5d3a-4b02-b275-973ee14f34be" apt-get install -y grub-efi-amd64-signed shim-signed linux-headers-generic shim-signed linux-headers-generic
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 shim-signed : Depends: shim (= 15+1533136590.3beb971-0ubuntu1) but 15+1552672080.a4a1fbe-0ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.

Peut-être lié à la version pas encore officielle ===> https://bugs.launchpad.net/ubuntu/+sour … ug/1864223

Cela va être l'occation en or pour tester ce qu'il faut introduire ici pour se débarasser de ce problème afin d'aider tous ceux qui ont un bios  refusant d'être modifié de cette façon.
Je tente ces commandes "sudo chroot "/media/ubuntu/8f20d237-5d3a-4b02-b275-973ee14f34be" apt-get install -y     linux-headers-generic  shim     grub-efi-amd64"

ubuntu@ubuntu:~$ sudo chroot "/media/ubuntu/8f20d237-5d3a-4b02-b275-973ee14f34be" apt-get install -y     linux-headers-generic  shim     grub-efi-amd64
Reading package lists... Done
Building dependency tree       
Reading state information... Done
shim is already the newest version (15+1552672080.a4a1fbe-0ubuntu1).
shim set to manually installed.
The following additional packages will be installed:
  grub-common grub-efi-amd64-bin grub-efi-amd64-signed grub2-common linux-generic linux-headers-5.4.0-26 linux-headers-5.4.0-26-generic
  linux-image-5.4.0-26-generic linux-image-generic linux-modules-5.4.0-26-generic linux-modules-extra-5.4.0-26-generic os-prober
Suggested packages:
  multiboot-doc grub-emu xorriso desktop-base fdutils linux-doc | linux-source-5.4.0 linux-tools
The following NEW packages will be installed:
  grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub2-common linux-headers-5.4.0-26 linux-headers-5.4.0-26-generic
  linux-image-5.4.0-26-generic linux-modules-5.4.0-26-generic linux-modules-extra-5.4.0-26-generic os-prober
The following packages will be upgraded:
  linux-generic linux-headers-generic linux-image-generic
3 upgraded, 11 newly installed, 0 to remove and 460 not upgraded.
Need to get 74.0 MB/77.6 MB of archives.
After this operation, 386 MB of additional disk space will be used.
Get:1 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 grub-efi-amd64 amd64 2.04-1ubuntu26 [46.6 kB]
Get:2 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 linux-modules-5.4.0-26-generic amd64 5.4.0-26.30 [14.3 MB]
Get:3 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 linux-image-5.4.0-26-generic amd64 5.4.0-26.30 [8876 kB]                         
Get:4 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 linux-modules-extra-5.4.0-26-generic amd64 5.4.0-26.30 [38.6 MB]                 
Get:5 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 linux-generic amd64 5.4.0.26.32 [1900 B]                                         
Get:6 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 linux-image-generic amd64 5.4.0.26.32 [2796 B]                                   
Get:7 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 linux-headers-5.4.0-26 all 5.4.0-26.30 [10.9 MB]                                 
Get:8 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 linux-headers-5.4.0-26-generic amd64 5.4.0-26.30 [1221 kB]                       
Get:9 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 linux-headers-generic amd64 5.4.0.26.32 [2680 B]                                 
Get:10 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 os-prober amd64 1.74ubuntu2 [20.1 kB]                                           
Fetched 74.0 MB in 1min 33s (796 kB/s)                                                                                                      
Preconfiguring packages ...
Selecting previously unselected package grub-common.
(Reading database ... 253188 files and directories currently installed.)
Preparing to unpack .../00-grub-common_2.04-1ubuntu26_amd64.deb ...
Unpacking grub-common (2.04-1ubuntu26) ...
Selecting previously unselected package grub-efi-amd64-bin.
Preparing to unpack .../01-grub-efi-amd64-bin_2.04-1ubuntu26_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.04-1ubuntu26) ...
Selecting previously unselected package grub2-common.
Preparing to unpack .../02-grub2-common_2.04-1ubuntu26_amd64.deb ...
Unpacking grub2-common (2.04-1ubuntu26) ...
Selecting previously unselected package grub-efi-amd64.
Preparing to unpack .../03-grub-efi-amd64_2.04-1ubuntu26_amd64.deb ...
Unpacking grub-efi-amd64 (2.04-1ubuntu26) ...
Selecting previously unselected package grub-efi-amd64-signed.
Preparing to unpack .../04-grub-efi-amd64-signed_1.142+2.04-1ubuntu26_amd64.deb ...
Unpacking grub-efi-amd64-signed (1.142+2.04-1ubuntu26) ...
Selecting previously unselected package linux-modules-5.4.0-26-generic.
Preparing to unpack .../05-linux-modules-5.4.0-26-generic_5.4.0-26.30_amd64.deb ...
Unpacking linux-modules-5.4.0-26-generic (5.4.0-26.30) ...
Selecting previously unselected package linux-image-5.4.0-26-generic.
Preparing to unpack .../06-linux-image-5.4.0-26-generic_5.4.0-26.30_amd64.deb ...
Unpacking linux-image-5.4.0-26-generic (5.4.0-26.30) ...
Selecting previously unselected package linux-modules-extra-5.4.0-26-generic.
Preparing to unpack .../07-linux-modules-extra-5.4.0-26-generic_5.4.0-26.30_amd64.deb ...
Unpacking linux-modules-extra-5.4.0-26-generic (5.4.0-26.30) ...
Preparing to unpack .../08-linux-generic_5.4.0.26.32_amd64.deb ...
Unpacking linux-generic (5.4.0.26.32) over (5.4.0.21.25) ...
Preparing to unpack .../09-linux-image-generic_5.4.0.26.32_amd64.deb ...
Unpacking linux-image-generic (5.4.0.26.32) over (5.4.0.21.25) ...
Selecting previously unselected package linux-headers-5.4.0-26.
Preparing to unpack .../10-linux-headers-5.4.0-26_5.4.0-26.30_all.deb ...
Unpacking linux-headers-5.4.0-26 (5.4.0-26.30) ...
Selecting previously unselected package linux-headers-5.4.0-26-generic.
Preparing to unpack .../11-linux-headers-5.4.0-26-generic_5.4.0-26.30_amd64.deb ...
Unpacking linux-headers-5.4.0-26-generic (5.4.0-26.30) ...
Preparing to unpack .../12-linux-headers-generic_5.4.0.26.32_amd64.deb ...
Unpacking linux-headers-generic (5.4.0.26.32) over (5.4.0.21.25) ...
Selecting previously unselected package os-prober.
Preparing to unpack .../13-os-prober_1.74ubuntu2_amd64.deb ...
Unpacking os-prober (1.74ubuntu2) ...
Setting up linux-headers-5.4.0-26 (5.4.0-26.30) ...
Setting up linux-modules-5.4.0-26-generic (5.4.0-26.30) ...
Setting up linux-image-5.4.0-26-generic (5.4.0-26.30) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.4.0-21-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-5.4.0-21-generic
I: /boot/vmlinuz is now a symlink to vmlinuz-5.4.0-26-generic
I: /boot/initrd.img is now a symlink to initrd.img-5.4.0-26-generic
Setting up linux-headers-5.4.0-26-generic (5.4.0-26.30) ...
Setting up linux-modules-extra-5.4.0-26-generic (5.4.0-26.30) ...
Setting up grub-common (2.04-1ubuntu26) ...
Created symlink /etc/systemd/system/multi-user.target.wants/grub-initrd-fallback.service → /lib/systemd/system/grub-initrd-fallback.service.
Created symlink /etc/systemd/system/rescue.target.wants/grub-initrd-fallback.service → /lib/systemd/system/grub-initrd-fallback.service.
Created symlink /etc/systemd/system/emergency.target.wants/grub-initrd-fallback.service → /lib/systemd/system/grub-initrd-fallback.service.
Running in chroot, ignoring request: daemon-reload
Running in chroot, ignoring request: is-active
Running in chroot, ignoring request: start
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Running in chroot, ignoring request: daemon-reload
Running in chroot, ignoring request.
Running in chroot, ignoring request: daemon-reload
Running in chroot, ignoring request: is-active
Running in chroot, ignoring request: start
Setting up os-prober (1.74ubuntu2) ...
Setting up grub-efi-amd64-bin (2.04-1ubuntu26) ...
Setting up linux-image-generic (5.4.0.26.32) ...
Setting up grub2-common (2.04-1ubuntu26) ...
Setting up linux-headers-generic (5.4.0.26.32) ...
Setting up grub-efi-amd64 (2.04-1ubuntu26) ...

Creating config file /etc/default/grub with new version
Setting up grub-efi-amd64-signed (1.142+2.04-1ubuntu26) ...
Setting up linux-generic (5.4.0.26.32) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for install-info (6.7.0.dfsg.2-5) ...
Processing triggers for systemd (245.2-1ubuntu2) ...
Running in chroot, ignoring request: daemon-reload
Processing triggers for linux-image-5.4.0-26-generic (5.4.0-26.30) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.4.0-26-generic
ubuntu@ubuntu:~$ 

Je vais bien regarder le contenu du rapport   https://paste.ubuntu.com/p/hW5K5jb467/ avant de quitter cette session live.
Cela me semble  bon.

menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-8f20d237-5d3a-4b02-b275-973ee14f34be' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	set root='hd1,gpt27'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt27 --hint-efi=hd1,gpt27 --hint-baremetal=ahci1,gpt27  2edfce93-6760-4713-a460-a0dc727cbd66
	else
	  search --no-floppy --fs-uuid --set=root 2edfce93-6760-4713-a460-a0dc727cbd66
	fi
	linux	/vmlinuz-5.4.0-26-generic root=UUID=8f20d237-5d3a-4b02-b275-973ee14f34be ro  quiet splash $vt_handoff
	initrd	/initrd.img-5.4.0-26-generic
}

Et un dernier ajout pour le FUN:  Un chroot exécuté en se servant de la premiere fenêtre proposée par boot-info et en ne frappant pas exactement les commandes proposées



buntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/sda16" dpkg --configure -a
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/sda16" dpkg --configure -a
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/sda16" apt-get install -fy
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/sda16" apt-get install -y lvm2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
lvm2 is already the newest version (2.03.07-1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/sda16" 
root@ubuntu:/# df
Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/sda16      20511312 8983876  10462476  47% /
udev             2940140       0   2940140   0% /dev
tmpfs             597608    1920    595688   1% /run
/dev/sdb21        999320  324160    606348  35% /boot
/dev/sda1          52413   46118      6295  88% /boot/efi
root@ubuntu:/# apt update
Hit:1 http://fr.archive.ubuntu.com/ubuntu focal InRelease                                                                        
Hit:2 http://fr.archive.ubuntu.com/ubuntu focal-updates InRelease                                                                
Hit:3 http://fr.archive.ubuntu.com/ubuntu focal-backports InRelease                            
Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease                               
Hit:5 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal InRelease
Reading package lists... Done                      
Building dependency tree       
Reading state information... Done
9 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@ubuntu:/# apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  libnss-systemd libpam-systemd libsystemd0 libudev1 systemd systemd-sysv systemd-timesyncd ubuntu-drivers-common udev
9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 5871 kB of archives.
After this operation, 3072 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 libnss-systemd amd64 245.4-4ubuntu3 [95.6 kB]
Get:2 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 udev amd64 245.4-4ubuntu3 [1362 kB]
Get:3 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 libudev1 amd64 245.4-4ubuntu3 [78.3 kB]
Get:4 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 systemd-sysv amd64 245.4-4ubuntu3 [10.3 kB]
Get:5 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 systemd-timesyncd amd64 245.4-4ubuntu3 [27.9 kB]
Get:6 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 libpam-systemd amd64 245.4-4ubuntu3 [186 kB]
Get:7 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 systemd amd64 245.4-4ubuntu3 [3796 kB]
Get:8 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 libsystemd0 amd64 245.4-4ubuntu3 [271 kB]
Get:9 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 ubuntu-drivers-common amd64 1:0.8.1 [44.6 kB]
Fetched 5871 kB in 7s (892 kB/s)                                                                                                                                     
Preconfiguring packages ...
(Reading database ... 195752 files and directories currently installed.)
Preparing to unpack .../libnss-systemd_245.4-4ubuntu3_amd64.deb ...
Unpacking libnss-systemd:amd64 (245.4-4ubuntu3) over (245.4-4ubuntu1) ...
Preparing to unpack .../udev_245.4-4ubuntu3_amd64.deb ...
Unpacking udev (245.4-4ubuntu3) over (245.4-4ubuntu1) ...
Preparing to unpack .../libudev1_245.4-4ubuntu3_amd64.deb ...
Unpacking libudev1:amd64 (245.4-4ubuntu3) over (245.4-4ubuntu1) ...
Setting up libudev1:amd64 (245.4-4ubuntu3) ...
(Reading database ... 195752 files and directories currently installed.)
Preparing to unpack .../systemd-sysv_245.4-4ubuntu3_amd64.deb ...
Unpacking systemd-sysv (245.4-4ubuntu3) over (245.4-4ubuntu1) ...
Preparing to unpack .../systemd-timesyncd_245.4-4ubuntu3_amd64.deb ...
Unpacking systemd-timesyncd (245.4-4ubuntu3) over (245.4-4ubuntu1) ...
Running in chroot, ignoring request: daemon-reload
Preparing to unpack .../libpam-systemd_245.4-4ubuntu3_amd64.deb ...
Unpacking libpam-systemd:amd64 (245.4-4ubuntu3) over (245.4-4ubuntu1) ...
Preparing to unpack .../systemd_245.4-4ubuntu3_amd64.deb ...
Unpacking systemd (245.4-4ubuntu3) over (245.4-4ubuntu1) ...
Preparing to unpack .../libsystemd0_245.4-4ubuntu3_amd64.deb ...
Unpacking libsystemd0:amd64 (245.4-4ubuntu3) over (245.4-4ubuntu1) ...
Setting up libsystemd0:amd64 (245.4-4ubuntu3) ...
(Reading database ... 195752 files and directories currently installed.)
Preparing to unpack .../ubuntu-drivers-common_1%3a0.8.1_amd64.deb ...
Unpacking ubuntu-drivers-common (1:0.8.1) over (1:0.8) ...
Setting up udev (245.4-4ubuntu3) ...
A chroot environment has been detected, udev not started.
update-initramfs: deferring update (trigger activated)
Running in chroot, ignoring request: daemon-reload
Setting up ubuntu-drivers-common (1:0.8.1) ...
Setting up systemd-timesyncd (245.4-4ubuntu3) ...
Running in chroot, ignoring request: daemon-reload
Running in chroot, ignoring request: is-active
Running in chroot, ignoring request: restart
Setting up systemd (245.4-4ubuntu3) ...
Running in chroot, ignoring request: daemon-reexec
Running in chroot, ignoring request: try-restart
Running in chroot, ignoring request: try-restart
Running in chroot, ignoring request: try-restart
Setting up systemd-sysv (245.4-4ubuntu3) ...
Setting up libnss-systemd:amd64 (245.4-4ubuntu3) ...
Setting up libpam-systemd:amd64 (245.4-4ubuntu3) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for dbus (1.12.16-2ubuntu2) ...
Processing triggers for initramfs-tools (0.136ubuntu6) ...
update-initramfs: Generating /boot/initrd.img-5.4.0-26-generic
W: /sbin/fsck.ext4 doesn't exist, can't install to initramfs
root@ubuntu:/# grub-install
Installing for x86_64-efi platform.
Installation finished. No error reported.
root@ubuntu:/# 

Dernière modification par geole (Le 22/04/2020, à 23:50)


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

Hors ligne

#1942 Le 22/04/2020, à 20:00

YannUbuntu

Re : [Réparateur de démarrage] Développement du logiciel Boot-Repair

merci pour les tests. Je ne vois pas de regression due à Python3.

boot-info à ameliorer:  detecter /boot/refind_linux.conf hors partition systeme

boot-repair a ameliorer:
https://paste.ubuntu.com/p/hW5K5jb467/ ligne 2029, then type ... 'shim-signed linux-headers-generic' en doublon.
Apres purge kernel, eliminer les vieux fichiers boot/init et vmlinuz  pourquoi pas, mais proprement ?

bootinfoscript a améliorer:
dans ton 1er test (boot-info en session 20.04 installée), les fichiers de boot dans SDA2 ne sont pas listés par bootinfoscript (ligne 22 de https://paste.ubuntu.com/p/6Vjbktp5pN/ ) mais ils apparaissent ligne 3494 dans les info complementaires de boot-repair.
Et ils sont listés dans ton log de reparation en session-live 20.04 (l.2693 de https://paste.ubuntu.com/p/CyQbsRWWfZ/ ) et le bootinfoscript qui suit la reparation (l.3184 )
Je suppose que bootinfoscript n'aime pas lire dans /boot/efi d'une session installee. à creuser.

pour info:
-l'onglet MBR devient actif uniquement si l'on coche l'option 'Restaurer le MBR' dans les Options principales.
-Boot-repair ne demande à l'utilisateur de taper des commandes que pour purger le kernel ou purger grub.


à consulter/améliorer: Guide du Débutant, Logiciels, Ecole, Travail, Maison

Hors ligne

#1943 Le 23/04/2020, à 00:16

geole

Re : [Réparateur de démarrage] Développement du logiciel Boot-Repair

Bonsoir
Je pense que cela prend tournure.   Il pourra probablement être utilisé dès la livraison officielle de la 20.04-LTS

Pour refind,
Lorsqu'il est utilisé avec le répertoire /boot inclu dans le noyau :   il se trouve effectivement dans /boot/refind_linux.conf
Mais lorsque l'utilisateur a choisi de dédier une partition  au répertoire /boot,   il est évidemment au premier niveau   /refind_linux.conf

Il y a aussi le fichier de référence stocké dans la structure EFI de boot dont le nom est un peu différant (La commande est faite depuis un ubuntu chrooté)

root@ubuntu:~#  grep -E -v '^(#|$)' /boot/efi/EFI/refind/refind.conf
timeout 30
default_selection 1 
big_icon_size 64
small_icon_size 48
enable_mouse
banner Banniere/img.jpg
banner_scale fillscreen
also_scan_dirs boot,USB500GOFAT:EFI/Microsoft/Boot
dont_scan_volumes "DUPFAT32"
menuentry "WUBIEFI" {
    icon     /EFI/refind/icons/os_refit.png
    volume   NEWFAT32
    loader   /EFI/ubuntu/wubildr/grubx64.efi
}
}#
root@ubuntu:~# 

Pour réflexion, voici ce qu'il reste dans le répertoire /boot après avoir viré les noyaux et réinstallé le dernier.

root@ubuntu:/boot# ls -ls
total 306105
 4608 -rw------- 1 root root  4714929 Feb  6 23:30 System.map-5.4.0-14-generic
 4624 -rw------- 1 root root  4732337 Mar  7 17:23 System.map-5.4.0-18-generic
 4624 -rw------- 1 root root  4733643 Mar 26 21:51 System.map-5.4.0-21-generic
 4628 -rw------- 1 root root  4736015 Apr 20 18:33 System.map-5.4.0-26-generic
  236 -rw-r--r-- 1 root root   237656 Feb  6 23:30 config-5.4.0-14-generic
  236 -rw-r--r-- 1 root root   237651 Mar  7 17:23 config-5.4.0-18-generic
  236 -rw-r--r-- 1 root root   237711 Mar 26 21:51 config-5.4.0-21-generic
  236 -rw-r--r-- 1 root root   237718 Apr 20 18:33 config-5.4.0-26-generic
    1 drwxr-xr-x 5 root root      512 Jan  1  1970 efi
    0 lrwxrwxrwx 1 root root       27 Apr 22 14:40 initrd.img -> initrd.img-5.4.0-26-generic
87360 -rw-r--r-- 1 root root 89452777 Mar 26 15:23 initrd.img-5.4.0-14-generic
88044 -rw-r--r-- 1 root root 90151862 Mar 28 00:32 initrd.img-5.4.0-18-generic
87928 -rw-r--r-- 1 root root 90031466 Apr 22 23:41 initrd.img-5.4.0-26-generic
    0 lrwxrwxrwx 1 root root       27 Apr 22 14:38 initrd.img.old -> initrd.img-5.4.0-18-generic
   16 drwx------ 2 root root    16384 Mar 26 12:58 lost+found Voil
  180 -rw-r--r-- 1 root root   182704 Feb 14 00:09 memtest86+.bin
  184 -rw-r--r-- 1 root root   184380 Feb 14 00:09 memtest86+.elf
  184 -rw-r--r-- 1 root root   184884 Feb 14 00:09 memtest86+_multiboot.bin
    4 -rw-r--r-- 1 root root      290 Apr 22 15:29 refind_linux.conf
    0 lrwxrwxrwx 1 root root       24 Apr 22 14:40 vmlinuz -> vmlinuz-5.4.0-26-generic
11380 -rw------- 1 root root 11649784 Mar  7 17:25 vmlinuz-5.4.0-18-generic
11388 -rw------- 1 root root 11657976 Apr 20 18:41 vmlinuz-5.4.0-26-generic
    0 lrwxrwxrwx 1 root root       24 Apr 22 14:38 vmlinuz.old -> vmlinuz-5.4.0-18-generic
root@ubuntu:/boot# 

Mauvaise nouvelle. Par acquis de conscience, j'ai  un autre test  de réparation et j'ai décidé de l'abandonner (Cancel)
Voila un mauvais retour   (je ne suis certain qu'il soit nouveau)
1587597913.png

Cela survient après avoir eu ce message nous demandant de  travailler un peu

sudo chroot "/mnt/boot-sav/sda16" dpkg --configure -a
sudo chroot "/mnt/boot-sav/sda16" dpkg --configure -a
sudo chroot "/mnt/boot-sav/sda16" apt-get install -fy
sudo chroot "/mnt/boot-sav/sda16" apt-get install -y lvm2
sudo chroot "/mnt/boot-sav/sda16" apt-get purge -y grub*-common shim-signe

et qu'on décide d'abandonner en cliquant sur Cancel
    Le système se met à purger puis il fait un chroot de démontage des partitions. Cela survient après.
   Voici la portion de trace entre ces deux actions

=> [[ PY ]] => :: FIFO write :: _button_cancelpurgegrub clicked
=> [[ PY ]] => [debug]Mount all blkid partitions except the ones already mounted and BIOS_Boot
=> [[ PY ]] => [debug]DF/dev/mapper/Geole--vg-Data   4063168 1400324   2436748  37% /mnt/boot-sav/mapper/Geole--vg-Data
=> [[ PY ]] => [debug]BLKID Mount point of mapper/Geole--vg-Data is: /mnt/boot-sav/mapper/Geole--vg-Data
=> [[ PY ]] => [debug]DF/dev/sda10       2093048 1907868    185180  92% /mnt/boot-sav/sda10
=> [[ PY ]] => [debug]BLKID Mount point of sda10 is: /mnt/boot-sav/sda10
=> [[ PY ]] => [debug]DF/dev/sda11      10190136 3247456   6402008  34% /mnt/boot-sav/sda11
=> [[ PY ]] => [debug]BLKID Mount point of sda11 is: /mnt/boot-sav/sda11
=> [[ PY ]] => [debug]Mount path of sda11 is: /mnt/boot-sav/sda11
=> [[ PY ]] => [debug]BLKID Mount point of sda13 is: /mnt/boot-sav/sda13
=> [[ PY ]] => [debug]Mount path of sda13 is: /mnt/boot-sav/sda13
=> [[ PY ]] => [debug]DF/dev/sda14      41943036 38535180   3407856  92% /mnt/boot-sav/sda14
=> [[ PY ]] => [debug]BLKID Mount point of sda14 is: /mnt/boot-sav/sda14
=> [[ PY ]] => [debug]DF/dev/sda15       5232640 4622824    609816  89% /mnt/boot-sav/sda15
=> [[ PY ]] => [debug]BLKID Mount point of sda15 is: /mnt/boot-sav/sda15
=> [[ PY ]] => [debug]BLKID Mount point of sda16 is: /mnt/boot-sav/sda16
=> [[ PY ]] => [debug]DF/dev/sda17        538956   432    499032   1% /mnt/boot-sav/sda17
=> [[ PY ]] => [debug]BLKID Mount point of sda17 is: /mnt/boot-sav/sda17
=> [[ PY ]] => [debug]BLKID Mount point of sda2 is: /mnt/boot-sav/sda2
=> [[ PY ]] => [debug]Mount path of sda2 is: /mnt/boot-sav/sda2
=> [[ PY ]] => [debug]BLKID Mount point of sda20 is: /mnt/boot-sav/sda20
=> [[ PY ]] => [debug]Mount path of sda20 is: /mnt/boot-sav/sda20
=> [[ PY ]] => [debug]DF/dev/sda21        999320 324164    606344  35% /mnt/boot-sav/sda21
=> [[ PY ]] => [debug]BLKID Mount point of sda21 is: /mnt/boot-sav/sda21
=> [[ PY ]] => [debug]DF/dev/sda22     491053052 328144148 162908904  67% /mnt/boot-sav/sda22
=> [[ PY ]] => [debug]BLKID Mount point of sda22 is: /mnt/boot-sav/sda22
=> [[ PY ]] => [debug]BLKID Mount point of sda23 is: /mnt/boot-sav/sda23
=> [[ PY ]] => [debug]Mount path of sda23 is: /mnt/boot-sav/sda23
=> [[ PY ]] => [debug]DF/dev/sda24        991512 215836    708092  24% /mnt/boot-sav/sda24
=> [[ PY ]] => [debug]BLKID Mount point of sda24 is: /mnt/boot-sav/sda24
=> [[ PY ]] => [debug]DF/dev/sda25      35862144 33357116    653636  99% /mnt/boot-sav/sda25
=> [[ PY ]] => [debug]BLKID Mount point of sda25 is: /mnt/boot-sav/sda25
=> [[ PY ]] => [debug]DF/dev/sda3         485512 334524    114724  75% /mnt/boot-sav/sda3
=> [[ PY ]] => [debug]BLKID Mount point of sda3 is: /mnt/boot-sav/sda3
=> [[ PY ]] => [debug]BLKID Mount point of sda4 is: /mnt/boot-sav/sda4
=> [[ PY ]] => [debug]DF/dev/sda5       44963904 24694428  17962400  58% /mnt/boot-sav/sda5
=> [[ PY ]] => [debug]BLKID Mount point of sda5 is: /mnt/boot-sav/sda5
=> [[ PY ]] => [debug]Mount path of sda5 is: /mnt/boot-sav/sda5
=> [[ PY ]] => [debug]DF/dev/sda6       13979088 5891304   7354600  45% /mnt/boot-sav/sda6
=> [[ PY ]] => [debug]BLKID Mount point of sda6 is: /mnt/boot-sav/sda6
=> [[ PY ]] => [debug]Mount path of sda6 is: /mnt/boot-sav/sda6
=> [[ PY ]] => [debug]DF/dev/sda7         999288 153564    776912  17% /mnt/boot-sav/sda7
=> [[ PY ]] => [debug]BLKID Mount point of sda7 is: /mnt/boot-sav/sda7
=> [[ PY ]] => [debug]BLKID Mount point of sda8 is: /mnt/boot-sav/sda8
=> [[ PY ]] => [debug]BLKID Mount point of sda9 is: /mnt/boot-sav/sda9
=> [[ PY ]] => [debug]Mount path of sda9 is: /mnt/boot-sav/sda9
=> [[ PY ]] => [debug]BLKID Mount point of sda18 is: /mnt/boot-sav/sda18
=> [[ PY ]] => [debug]BLKID Mount point of sda19 is: /mnt/boot-sav/sda19
=> [[ PY ]] => [debug]DF/dev/sda27        999320 746868    183640  81% /mnt/boot-sav/sda27
=> [[ PY ]] => [debug]BLKID Mount point of sda27 is: /mnt/boot-sav/sda27
=> [[ PY ]] => [debug]DF/dev/sda28       8125880 1397308   6292764  19% /mnt/boot-sav/sda28
=> [[ PY ]] => [debug]BLKID Mount point of sda28 is: /mnt/boot-sav/sda28
=> [[ PY ]] => [debug]DF/dev/sdb1          52413 45767      6646  88% /mnt/boot-sav/sdb1
=> [[ PY ]] => [debug]BLKID Mount point of sdb1 is: /mnt/boot-sav/sdb1
=> [[ PY ]] => [debug]BLKID Mount point of sdb2 is: /mnt/boot-sav/sdb2
=> [[ PY ]] => [debug]DF/dev/sdb4         517116 114468    402648  23% /media/ubuntu/USBNEWFAT32
=> [[ PY ]] => [debug]BLKID Mount point of sdb4 is: /media/ubuntu/USBNEWFAT32
=> [[ PY ]] => [debug]DF/dev/sdb5        5232640 4616804    615836  89% /media/ubuntu/ISOWINDOWSU
=> [[ PY ]] => [debug]BLKID Mount point of sdb5 is: /media/ubuntu/ISOWINDOWSU
=> [[ PY ]] => [debug]DF/dev/sdb6        2093048 1906436    186612  92% /media/ubuntu/INS18041USB
=> [[ PY ]] => [debug]BLKID Mount point of sdb6 is: /media/ubuntu/INS18041USB
=> [[ PY ]] => [debug]DF/dev/sdb7      205376184 145139264  49734776  75% /media/ubuntu/SaveDesWindows
=> [[ PY ]] => [debug]BLKID Mount point of sdb7 is: /media/ubuntu/SaveDesWindows
=> [[ PY ]] => [debug]BLKID Mount point of sdb8 is: /mnt/boot-sav/sdb8
=> [[ PY ]] => [debug]Mount path of sdb8 is: /mnt/boot-sav/sdb8
=> [[ PY ]] => [debug]BLKID Mount point of sdb11 is: /mnt/boot-sav/sdb11
=> [[ PY ]] => [debug]Mount path of sdb11 is: /mnt/boot-sav/sdb11
=> [[ PY ]] => [debug]DF/dev/sdb12       5248964 3348380   1614176  68% /media/ubuntu/essaien2047
=> [[ PY ]] => [debug]BLKID Mount point of sdb12 is: /media/ubuntu/essaien2047
=> [[ PY ]] => [debug]DF/dev/sdb14        999320 102468    828040  12% /media/ubuntu/b56e0ffc-6893-459b-9f07-d0e1ca51925a
=> [[ PY ]] => [debug]BLKID Mount point of sdb14 is: /media/ubuntu/b56e0ffc-6893-459b-9f07-d0e1ca51925a
=> [[ PY ]] => [debug]DF/dev/sdb15        999320 113252    817256  13% /media/ubuntu/Boot2004DansSLIM
=> [[ PY ]] => [debug]BLKID Mount point of sdb15 is: /media/ubuntu/Boot2004DansSLIM
=> [[ PY ]] => [debug]BLKID Mount point of sdb16 is: /mnt/boot-sav/sdb16
=> [[ PY ]] => [debug]Mount path of sdb16 is: /mnt/boot-sav/sdb16
=> [[ PY ]] => [debug]DF/dev/sdb17      41023488   768  41022720   1% /media/ubuntu/EXFATusb
=> [[ PY ]] => [debug]BLKID Mount point of sdb17 is: /media/ubuntu/EXFATusb
=> [[ PY ]] => [debug]Mount all the partitions for the logs
=> [[ PY ]] => [debug]Logs saved into /mnt/boot-sav/sda11/var/log/boot-repair/20200423_085629
=> [[ PY ]] => [debug]Logs saved into /mnt/boot-sav/sda13/var/log/boot-repair/20200423_085629
=> [[ PY ]] => [debug]Logs saved into /mnt/boot-sav/sda2/boot-repair/log/20200423_085629
=> [[ PY ]] => [debug]Logs saved into /mnt/boot-sav/sda20/var/log/boot-repair/20200423_085629
=> [[ PY ]] => [debug]Logs saved into /mnt/boot-sav/sda23/var/log/boot-repair/20200423_085629
=> [[ PY ]] => [debug]Logs saved into /mnt/boot-sav/sda5/var/log/boot-repair/20200423_085629
=> [[ PY ]] => [debug]Logs saved into /mnt/boot-sav/sda6/var/log/boot-repair/20200423_085629
=> [[ PY ]] => [debug]Logs saved into /mnt/boot-sav/sda9/var/log/boot-repair/20200423_085629
=> [[ PY ]] => [debug]Logs saved into /mnt/boot-sav/sdb11/var/log/boot-repair/20200423_085629
=> [[ PY ]] => [debug]Logs saved into /mnt/boot-sav/sdb16/var/log/boot-repair/20200423_085629
=> [[ PY ]] => [debug]Logs saved into /mnt/boot-sav/sdb8/var/log/boot-repair/20200423_085629
=> [[ PY ]] => [debug]Unmount all blkid partitions except df ones
=> [[ PY ]] => [debug]BLKID Mount point of mapper/Geole--vg-Data is: /mnt/boot-sav/mapper/Geole--vg-Data
=> [[ PY ]] => [debug]BLKID Mount point of sda10 is: /mnt/boot-sav/sda10
=> [[ PY ]] => [debug]BLKID Mount point of sda11 is: /mnt/boot-sav/sda11
=> [[ PY ]] => [debug]BLKID Mount point of sda13 is: /mnt/boot-sav/sda13
=> [[ PY ]] => [debug]BLKID Mount point of sda14 is: /mnt/boot-sav/sda14
=> [[ PY ]] => [debug]BLKID Mount point of sda15 is: /mnt/boot-sav/sda15
=> [[ PY ]] => [debug]BLKID Mount point of sda16 is: /mnt/boot-sav/sda16
=> [[ PY ]] => [debug]BLKID Mount point of sda17 is: /mnt/boot-sav/sda17
=> [[ PY ]] => [debug]BLKID Mount point of sda2 is: /mnt/boot-sav/sda2
=> [[ PY ]] => [debug]BLKID Mount point of sda20 is: /mnt/boot-sav/sda20
=> [[ PY ]] => [debug]BLKID Mount point of sda21 is: /mnt/boot-sav/sda21
=> [[ PY ]] => [debug]BLKID Mount point of sda22 is: /mnt/boot-sav/sda22
=> [[ PY ]] => [debug]BLKID Mount point of sda23 is: /mnt/boot-sav/sda23
=> [[ PY ]] => [debug]BLKID Mount point of sda24 is: /mnt/boot-sav/sda24
=> [[ PY ]] => [debug]BLKID Mount point of sda25 is: /mnt/boot-sav/sda25
=> [[ PY ]] => [debug]BLKID Mount point of sda3 is: /mnt/boot-sav/sda3
=> [[ PY ]] => [debug]BLKID Mount point of sda4 is: /mnt/boot-sav/sda4
=> [[ PY ]] => [debug]BLKID Mount point of sda5 is: /mnt/boot-sav/sda5
=> [[ PY ]] => [debug]BLKID Mount point of sda6 is: /mnt/boot-sav/sda6
=> [[ PY ]] => [debug]BLKID Mount point of sda7 is: /mnt/boot-sav/sda7
=> [[ PY ]] => [debug]BLKID Mount point of sda8 is: /mnt/boot-sav/sda8
=> [[ PY ]] => [debug]BLKID Mount point of sda9 is: /mnt/boot-sav/sda9
=> [[ PY ]] => [debug]BLKID Mount point of sda18 is: /mnt/boot-sav/sda18
=> [[ PY ]] => [debug]BLKID Mount point of sda19 is: /mnt/boot-sav/sda19
=> [[ PY ]] => [debug]BLKID Mount point of sda27 is: /mnt/boot-sav/sda27
=> [[ PY ]] => [debug]BLKID Mount point of sda28 is: /mnt/boot-sav/sda28
=> [[ PY ]] => [debug]BLKID Mount point of sdb1 is: /mnt/boot-sav/sdb1
=> [[ PY ]] => [debug]BLKID Mount point of sdb2 is: /mnt/boot-sav/sdb2
=> [[ PY ]] => [debug]BLKID Mount point of sdb4 is: /media/ubuntu/USBNEWFAT32
=> [[ PY ]] => [debug]BLKID Mount point of sdb5 is: /media/ubuntu/ISOWINDOWSU
=> [[ PY ]] => [debug]BLKID Mount point of sdb6 is: /media/ubuntu/INS18041USB
=> [[ PY ]] => [debug]BLKID Mount point of sdb7 is: /media/ubuntu/SaveDesWindows
=> [[ PY ]] => [debug]BLKID Mount point of sdb8 is: /mnt/boot-sav/sdb8
=> [[ PY ]] => [debug]BLKID Mount point of sdb11 is: /mnt/boot-sav/sdb11
=> [[ PY ]] => [debug]BLKID Mount point of sdb12 is: /media/ubuntu/essaien2047
=> [[ PY ]] => [debug]BLKID Mount point of sdb14 is: /media/ubuntu/b56e0ffc-6893-459b-9f07-d0e1ca51925a
=> [[ PY ]] => [debug]BLKID Mount point of sdb15 is: /media/ubuntu/Boot2004DansSLIM
=> [[ PY ]] => [debug]BLKID Mount point of sdb16 is: /mnt/boot-sav/sdb16
=> [[ PY ]] => [debug]BLKID Mount point of sdb17 is: /media/ubuntu/EXFATusb

Pour ceux qui sont curieux,  voici le contenu du fichier Bannière/img.png  pris en période hors confinement

ubuntu@ubuntu:/mnt/EFI/refind/Banniere$ ls -ls
total 15740
 984 -rwxr-xr-x 1 root root 1006699 Mar 16 17:57 IMG_0215.JPG
1972 -rwxr-xr-x 1 root root 2018250 Mar 16 17:57 IMG_0333.JPG
1948 -rwxr-xr-x 1 root root 1993033 Mar 16 17:57 IMG_0334.JPG
1772 -rwxr-xr-x 1 root root 1812281 Mar 16 17:57 IMG_0341.JPG
1440 -rwxr-xr-x 1 root root 1472648 Mar 16 17:57 IMG_0348.JPG
3792 -rwxr-xr-x 1 root root 3882351 Mar 17 11:39 IMG_6975.JPG
3792 -rwxr-xr-x 1 root root 3882351 Mar 17 11:40 img.jpg
ubuntu@ubuntu:/mnt/EFI/refind/Banniere$ 

1587599437.jpg

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


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

Hors ligne

#1944 Le 23/04/2020, à 09:00

Babdu89

Re : [Réparateur de démarrage] Développement du logiciel Boot-Repair

Bonjour.

@ YannUbuntu,  hmm   smile

Aujourd'hui, chez maj du PPA Boot-repair boot-info version 85.

Je renvoi à ce sujet dernier post lecture du boot info donné.

https://forum.ubuntu-fr.org/viewtopic.p … #p22267197

Chose bizarre dans ce boot info, on voit deux fois la rubrique;

=========================== sdc5/boot/grub/grub.cfg: ===========================

Et aussi ceci.

sdc5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System:  Ubuntu 18.04.4 LTS
    Boot files:        /boot/grub/grub.cfg /boot/grub/grub.cfg /etc/fstab
                       /boot/grub/i386-pc/core.img

Je lance un boot-info de mes systèmes;

 Boot Info Script 71f6c5c + Boot-Repair extra info      [Boot-Info 22apr2020]


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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos3)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 7/2008: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 14.04.6 LTS
    Boot files:        /boot/grub/grub.cfg /boot/grub/grub.cfg /etc/fstab 
                       /boot/extlinux/extlinux.conf 
                       /boot/grub/i386-pc/core.img

sda3: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 18.04.4 LTS
    Boot files:        /boot/grub/grub.cfg /boot/grub/grub.cfg /etc/fstab 
                       /boot/grub/i386-pc/core.img

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048    56,383,487    56,381,440   7 NTFS / exFAT / HPFS
/dev/sda2          56,383,488   167,847,935   111,464,448  83 Linux
/dev/sda3         167,847,936   234,440,703    66,592,768  83 Linux


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/loop1                                              squashfs   
/dev/loop10                                             squashfs   
/dev/loop11                                             squashfs   
/dev/loop12                                             squashfs   
/dev/loop13                                             squashfs   
/dev/loop14                                             squashfs   
/dev/loop15                                             squashfs   
/dev/loop2                                              squashfs   
/dev/loop3                                              squashfs   
/dev/loop4                                              squashfs   
/dev/loop5                                              squashfs   
/dev/loop6                                              squashfs   
/dev/loop7                                              squashfs   
/dev/loop8                                              squashfs   
/dev/loop9                                              squashfs   
/dev/sda1        FA2AC6152AC5CF37                       ntfs       windows-7-del
/dev/sda2        8c69f945-f41d-4f8c-83bd-81d4a28efb15   ext4       fusion14.04-dell
/dev/sda3        26681ab0-c120-4797-b95e-7d0cfa960dd7   ext4       ubu-18.04-dell

========================= "ls -l /dev/disk/by-id" output: ======================

total 0
lrwxrwxrwx 1 root root  9 Apr 23 08:41 ata-LDLC_07072217A2384 -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 23 08:41 ata-LDLC_07072217A2384-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr 23 08:41 ata-LDLC_07072217A2384-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr 23 08:41 ata-LDLC_07072217A2384-part3 -> ../../sda3
lrwxrwxrwx 1 root root  9 Apr 23 08:09 ata-TSSTcorp_DVD+_-RW_TS-U633J_R86X6GSZB05544 -> ../../sr0

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/fuse        /root/.cache/doc         fuse       (rw,nosuid,nodev,relatime,user_id=0,group_id=0)
/dev/sda2        /media/bernard/fusion14.04-dell ext4       (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/dev/sda3        /                        ext4       (rw,noatime,errors=remount-ro,data=ordered)


=========================== sda2/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  8c69f945-f41d-4f8c-83bd-81d4a28efb15
else
  search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=10
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-8c69f945-f41d-4f8c-83bd-81d4a28efb15' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  8c69f945-f41d-4f8c-83bd-81d4a28efb15
	else
	  search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
	fi
	linux	/boot/vmlinuz-3.13.0-170-generic root=UUID=8c69f945-f41d-4f8c-83bd-81d4a28efb15 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.13.0-170-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-8c69f945-f41d-4f8c-83bd-81d4a28efb15' {
	menuentry 'Ubuntu, avec Linux 3.13.0-170-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-170-generic-advanced-8c69f945-f41d-4f8c-83bd-81d4a28efb15' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  8c69f945-f41d-4f8c-83bd-81d4a28efb15
		else
		  search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
		fi
		echo	'Chargement de Linux 3.13.0-170-generic…'
		linux	/boot/vmlinuz-3.13.0-170-generic root=UUID=8c69f945-f41d-4f8c-83bd-81d4a28efb15 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.13.0-170-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-170-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-170-generic-recovery-8c69f945-f41d-4f8c-83bd-81d4a28efb15' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  8c69f945-f41d-4f8c-83bd-81d4a28efb15
		else
		  search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
		fi
		echo	'Chargement de Linux 3.13.0-170-generic…'
		linux	/boot/vmlinuz-3.13.0-170-generic root=UUID=8c69f945-f41d-4f8c-83bd-81d4a28efb15 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.13.0-170-generic
	}
	menuentry 'Ubuntu, avec Linux 3.13.0-169-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-169-generic-advanced-8c69f945-f41d-4f8c-83bd-81d4a28efb15' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  8c69f945-f41d-4f8c-83bd-81d4a28efb15
		else
		  search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
		fi
		echo	'Chargement de Linux 3.13.0-169-generic…'
		linux	/boot/vmlinuz-3.13.0-169-generic root=UUID=8c69f945-f41d-4f8c-83bd-81d4a28efb15 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.13.0-169-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-169-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-169-generic-recovery-8c69f945-f41d-4f8c-83bd-81d4a28efb15' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  8c69f945-f41d-4f8c-83bd-81d4a28efb15
		else
		  search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
		fi
		echo	'Chargement de Linux 3.13.0-169-generic…'
		linux	/boot/vmlinuz-3.13.0-169-generic root=UUID=8c69f945-f41d-4f8c-83bd-81d4a28efb15 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.13.0-169-generic
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=========================== sda2/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  8c69f945-f41d-4f8c-83bd-81d4a28efb15
else
  search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=10
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-8c69f945-f41d-4f8c-83bd-81d4a28efb15' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  8c69f945-f41d-4f8c-83bd-81d4a28efb15
	else
	  search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
	fi
	linux	/boot/vmlinuz-3.13.0-170-generic root=UUID=8c69f945-f41d-4f8c-83bd-81d4a28efb15 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.13.0-170-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-8c69f945-f41d-4f8c-83bd-81d4a28efb15' {
	menuentry 'Ubuntu, avec Linux 3.13.0-170-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-170-generic-advanced-8c69f945-f41d-4f8c-83bd-81d4a28efb15' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  8c69f945-f41d-4f8c-83bd-81d4a28efb15
		else
		  search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
		fi
		echo	'Chargement de Linux 3.13.0-170-generic…'
		linux	/boot/vmlinuz-3.13.0-170-generic root=UUID=8c69f945-f41d-4f8c-83bd-81d4a28efb15 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.13.0-170-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-170-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-170-generic-recovery-8c69f945-f41d-4f8c-83bd-81d4a28efb15' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  8c69f945-f41d-4f8c-83bd-81d4a28efb15
		else
		  search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
		fi
		echo	'Chargement de Linux 3.13.0-170-generic…'
		linux	/boot/vmlinuz-3.13.0-170-generic root=UUID=8c69f945-f41d-4f8c-83bd-81d4a28efb15 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.13.0-170-generic
	}
	menuentry 'Ubuntu, avec Linux 3.13.0-169-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-169-generic-advanced-8c69f945-f41d-4f8c-83bd-81d4a28efb15' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  8c69f945-f41d-4f8c-83bd-81d4a28efb15
		else
		  search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
		fi
		echo	'Chargement de Linux 3.13.0-169-generic…'
		linux	/boot/vmlinuz-3.13.0-169-generic root=UUID=8c69f945-f41d-4f8c-83bd-81d4a28efb15 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.13.0-169-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-169-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-169-generic-recovery-8c69f945-f41d-4f8c-83bd-81d4a28efb15' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  8c69f945-f41d-4f8c-83bd-81d4a28efb15
		else
		  search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
		fi
		echo	'Chargement de Linux 3.13.0-169-generic…'
		linux	/boot/vmlinuz-3.13.0-169-generic root=UUID=8c69f945-f41d-4f8c-83bd-81d4a28efb15 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.13.0-169-generic
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda2/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# /
UUID=8c69f945-f41d-4f8c-83bd-81d4a28efb15   /   ext4   noatime,errors=remount-ro   0   1
--------------------------------------------------------------------------------

====================== sda2/boot/extlinux/extlinux.conf: =======================

--------------------------------------------------------------------------------
## /boot/extlinux/extlinux.conf
##
## IMPORTANT WARNING
##
## The configuration of this file is generated automatically.
## Do not edit this file manually, use: extlinux-update


default l0
prompt 1
timeout 50

include themes/debian/theme.cfg
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

  77.020198822 = 82.699808768   boot/grub/grub.cfg                             1
  62.708003998 = 67.332206592   boot/grub/i386-pc/core.img                     1
  77.017700195 = 82.697125888   boot/vmlinuz-3.13.0-169-generic                1
  77.030231476 = 82.710581248   boot/vmlinuz-3.13.0-170-generic                1
  77.030231476 = 82.710581248   vmlinuz                                        1
  77.017700195 = 82.697125888   vmlinuz.old                                    1
  56.677722931 = 60.857241600   boot/initrd.img-3.13.0-169-generic             2
  56.633579254 = 60.809842688   boot/initrd.img-3.13.0-170-generic             2
  56.633579254 = 60.809842688   initrd.img                                     2
  56.677722931 = 60.857241600   initrd.img.old                                 2

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

           GiB - GB             File                                 Fragment(s)

  77.011077881 = 82.690015232   boot/extlinux/extlinux.conf                    1
  77.011859894 = 82.690854912   boot/extlinux/chain.c32                        1

============== sda2: Version of COM32(R) files used by Syslinux: ===============

 boot/extlinux/chain.c32            :  COM32R module (v4.xx)

=========================== sda3/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="${saved_entry}"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  26681ab0-c120-4797-b95e-7d0cfa960dd7
else
  search --no-floppy --fs-uuid --set=root 26681ab0-c120-4797-b95e-7d0cfa960dd7
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=1
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-26681ab0-c120-4797-b95e-7d0cfa960dd7' {
	recordfail
	savedefault
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  26681ab0-c120-4797-b95e-7d0cfa960dd7
	else
	  search --no-floppy --fs-uuid --set=root 26681ab0-c120-4797-b95e-7d0cfa960dd7
	fi
        linux	/boot/vmlinuz-4.15.0-96-generic root=UUID=26681ab0-c120-4797-b95e-7d0cfa960dd7 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-4.15.0-96-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-26681ab0-c120-4797-b95e-7d0cfa960dd7' {
	menuentry 'Ubuntu, avec Linux 4.15.0-96-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-96-generic-advanced-26681ab0-c120-4797-b95e-7d0cfa960dd7' {
		recordfail
	savedefault
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  26681ab0-c120-4797-b95e-7d0cfa960dd7
		else
		  search --no-floppy --fs-uuid --set=root 26681ab0-c120-4797-b95e-7d0cfa960dd7
		fi
		echo	'Chargement de Linux 4.15.0-96-generic…'
	        linux	/boot/vmlinuz-4.15.0-96-generic root=UUID=26681ab0-c120-4797-b95e-7d0cfa960dd7 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.15.0-96-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-96-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-96-generic-recovery-26681ab0-c120-4797-b95e-7d0cfa960dd7' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  26681ab0-c120-4797-b95e-7d0cfa960dd7
		else
		  search --no-floppy --fs-uuid --set=root 26681ab0-c120-4797-b95e-7d0cfa960dd7
		fi
		echo	'Chargement de Linux 4.15.0-96-generic…'
	        linux	/boot/vmlinuz-4.15.0-96-generic root=UUID=26681ab0-c120-4797-b95e-7d0cfa960dd7 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.15.0-96-generic
	}
	menuentry 'Ubuntu, avec Linux 4.15.0-91-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-91-generic-advanced-26681ab0-c120-4797-b95e-7d0cfa960dd7' {
		recordfail
	savedefault
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  26681ab0-c120-4797-b95e-7d0cfa960dd7
		else
		  search --no-floppy --fs-uuid --set=root 26681ab0-c120-4797-b95e-7d0cfa960dd7
		fi
		echo	'Chargement de Linux 4.15.0-91-generic…'
	        linux	/boot/vmlinuz-4.15.0-91-generic root=UUID=26681ab0-c120-4797-b95e-7d0cfa960dd7 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.15.0-91-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-91-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-91-generic-recovery-26681ab0-c120-4797-b95e-7d0cfa960dd7' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  26681ab0-c120-4797-b95e-7d0cfa960dd7
		else
		  search --no-floppy --fs-uuid --set=root 26681ab0-c120-4797-b95e-7d0cfa960dd7
		fi
		echo	'Chargement de Linux 4.15.0-91-generic…'
	        linux	/boot/vmlinuz-4.15.0-91-generic root=UUID=26681ab0-c120-4797-b95e-7d0cfa960dd7 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.15.0-91-generic
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  26681ab0-c120-4797-b95e-7d0cfa960dd7
	else
	  search --no-floppy --fs-uuid --set=root 26681ab0-c120-4797-b95e-7d0cfa960dd7
	fi
	knetbsd	/boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  26681ab0-c120-4797-b95e-7d0cfa960dd7
	else
	  search --no-floppy --fs-uuid --set=root 26681ab0-c120-4797-b95e-7d0cfa960dd7
	fi
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (sur /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-FA2AC6152AC5CF37' {
	savedefault
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  FA2AC6152AC5CF37
	else
	  search --no-floppy --fs-uuid --set=root FA2AC6152AC5CF37
	fi
	parttool ${root} hidden-
	chainloader +1
}
menuentry 'Ubuntu 14.04.6 LTS (14.04) (sur /dev/sda2)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-8c69f945-f41d-4f8c-83bd-81d4a28efb15' {
	savedefault
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  8c69f945-f41d-4f8c-83bd-81d4a28efb15
	else
	  search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
	fi
	linux /boot/vmlinuz-3.13.0-170-generic root=UUID=8c69f945-f41d-4f8c-83bd-81d4a28efb15 ro quiet splash $vt_handoff
	initrd /boot/initrd.img-3.13.0-170-generic
}
submenu 'Options avancées pour Ubuntu 14.04.6 LTS (14.04) (sur /dev/sda2)' $menuentry_id_option 'osprober-gnulinux-advanced-8c69f945-f41d-4f8c-83bd-81d4a28efb15' {
	menuentry 'Ubuntu (sur /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-170-generic--8c69f945-f41d-4f8c-83bd-81d4a28efb15' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  8c69f945-f41d-4f8c-83bd-81d4a28efb15
		else
		  search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
		fi
		linux /boot/vmlinuz-3.13.0-170-generic root=UUID=8c69f945-f41d-4f8c-83bd-81d4a28efb15 ro quiet splash $vt_handoff
		initrd /boot/initrd.img-3.13.0-170-generic
	}
	menuentry 'Ubuntu, avec Linux 3.13.0-170-generic (sur /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-170-generic--8c69f945-f41d-4f8c-83bd-81d4a28efb15' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  8c69f945-f41d-4f8c-83bd-81d4a28efb15
		else
		  search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
		fi
		linux /boot/vmlinuz-3.13.0-170-generic root=UUID=8c69f945-f41d-4f8c-83bd-81d4a28efb15 ro quiet splash $vt_handoff
		initrd /boot/initrd.img-3.13.0-170-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-170-generic (recovery mode) (sur /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-170-generic-root=UUID=8c69f945-f41d-4f8c-83bd-81d4a28efb15 ro recovery nomodeset-8c69f945-f41d-4f8c-83bd-81d4a28efb15' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  8c69f945-f41d-4f8c-83bd-81d4a28efb15
		else
		  search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
		fi
		linux /boot/vmlinuz-3.13.0-170-generic root=UUID=8c69f945-f41d-4f8c-83bd-81d4a28efb15 ro recovery nomodeset
		initrd /boot/initrd.img-3.13.0-170-generic
	}
	menuentry 'Ubuntu, avec Linux 3.13.0-169-generic (sur /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-169-generic--8c69f945-f41d-4f8c-83bd-81d4a28efb15' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  8c69f945-f41d-4f8c-83bd-81d4a28efb15
		else
		  search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
		fi
		linux /boot/vmlinuz-3.13.0-169-generic root=UUID=8c69f945-f41d-4f8c-83bd-81d4a28efb15 ro quiet splash $vt_handoff
		initrd /boot/initrd.img-3.13.0-169-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-169-generic (recovery mode) (sur /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-169-generic-root=UUID=8c69f945-f41d-4f8c-83bd-81d4a28efb15 ro recovery nomodeset-8c69f945-f41d-4f8c-83bd-81d4a28efb15' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  8c69f945-f41d-4f8c-83bd-81d4a28efb15
		else
		  search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
		fi
		linux /boot/vmlinuz-3.13.0-169-generic root=UUID=8c69f945-f41d-4f8c-83bd-81d4a28efb15 ro recovery nomodeset
		initrd /boot/initrd.img-3.13.0-169-generic
	}
}

set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "Iso Live ubuntu-budgie-17.04-desktop-i386.iso dans cle USB3-Emtec" {
insmod part_gpt
insmod iso9660
search --no-floppy --fs-uuid --set=root 0669-366B
set isofile="/ubuntu-budgie-17.04-desktop-i386.iso"
loopback loop $isofile
#echo	'Chargement du noyau Linux ...'
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile toram locale=fr_FR bootkbd=fr console-setup/layoutcode=fr noprompt noeject quiet splash --
#echo	'Chargement du disque mémoire initial ...'
initrd (loop)/casper/initrd.lz
}
menuentry "Iso Live ubuntu-17.10-desktop-amd64.iso dans cle USB3-Emtec" {
insmod part_gpt
insmod iso9660
search --no-floppy --fs-uuid --set=root 0669-366B
set isofile="/ubuntu-17.10-desktop-amd64.iso"
loopback loop $isofile
#echo	'Chargement du noyau Linux ...'
linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=$isofile toram locale=fr_FR bootkbd=fr console-setup/layoutcode=fr noprompt noeject quiet splash --
#echo	'Chargement du disque mémoire initial ...'
initrd (loop)/casper/initrd.lz
}
menuentry "Iso Live ubuntu-18.04.2-desktop-amd64.iso dans partition Windows-7-dell" {
insmod part_msdos
insmod iso9660
search --no-floppy --fs-uuid --set=root FA2AC6152AC5CF37
set isofile="/ubuntu-18.04.2-desktop-amd64.iso"
loopback loop $isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile toram locale=fr_FR bootkbd=fr console-setup/layoutcode=fr noprompt noeject quiet splash --
initrd (loop)/casper/initrd
}
menuentry "Iso Live ubuntu-18.04.2-desktop-amd64.iso dans partition systeme-fusion-dell" {
insmod part_msdos
insmod iso9660
search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
set isofile="/ubuntu-18.04.2-desktop-amd64.iso"
loopback loop $isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile toram locale=fr_FR bootkbd=fr console-setup/layoutcode=fr noprompt noeject quiet splash --
initrd (loop)/casper/initrd
}
menuentry "Iso Live ubuntu-19.10-desktop-amd64.iso dans partition systeme-fusion-dell" {
insmod part_msdos
insmod iso9660
search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
set isofile="/ubuntu-19.10-desktop-amd64.iso"
loopback loop $isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile toram locale=fr_FR bootkbd=fr console-setup/layoutcode=fr noprompt noeject quiet splash --
initrd (loop)/casper/initrd
}
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=========================== sda3/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="${saved_entry}"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  26681ab0-c120-4797-b95e-7d0cfa960dd7
else
  search --no-floppy --fs-uuid --set=root 26681ab0-c120-4797-b95e-7d0cfa960dd7
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=1
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-26681ab0-c120-4797-b95e-7d0cfa960dd7' {
	recordfail
	savedefault
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  26681ab0-c120-4797-b95e-7d0cfa960dd7
	else
	  search --no-floppy --fs-uuid --set=root 26681ab0-c120-4797-b95e-7d0cfa960dd7
	fi
        linux	/boot/vmlinuz-4.15.0-96-generic root=UUID=26681ab0-c120-4797-b95e-7d0cfa960dd7 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-4.15.0-96-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-26681ab0-c120-4797-b95e-7d0cfa960dd7' {
	menuentry 'Ubuntu, avec Linux 4.15.0-96-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-96-generic-advanced-26681ab0-c120-4797-b95e-7d0cfa960dd7' {
		recordfail
	savedefault
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  26681ab0-c120-4797-b95e-7d0cfa960dd7
		else
		  search --no-floppy --fs-uuid --set=root 26681ab0-c120-4797-b95e-7d0cfa960dd7
		fi
		echo	'Chargement de Linux 4.15.0-96-generic…'
	        linux	/boot/vmlinuz-4.15.0-96-generic root=UUID=26681ab0-c120-4797-b95e-7d0cfa960dd7 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.15.0-96-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-96-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-96-generic-recovery-26681ab0-c120-4797-b95e-7d0cfa960dd7' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  26681ab0-c120-4797-b95e-7d0cfa960dd7
		else
		  search --no-floppy --fs-uuid --set=root 26681ab0-c120-4797-b95e-7d0cfa960dd7
		fi
		echo	'Chargement de Linux 4.15.0-96-generic…'
	        linux	/boot/vmlinuz-4.15.0-96-generic root=UUID=26681ab0-c120-4797-b95e-7d0cfa960dd7 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.15.0-96-generic
	}
	menuentry 'Ubuntu, avec Linux 4.15.0-91-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-91-generic-advanced-26681ab0-c120-4797-b95e-7d0cfa960dd7' {
		recordfail
	savedefault
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  26681ab0-c120-4797-b95e-7d0cfa960dd7
		else
		  search --no-floppy --fs-uuid --set=root 26681ab0-c120-4797-b95e-7d0cfa960dd7
		fi
		echo	'Chargement de Linux 4.15.0-91-generic…'
	        linux	/boot/vmlinuz-4.15.0-91-generic root=UUID=26681ab0-c120-4797-b95e-7d0cfa960dd7 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.15.0-91-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-91-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-91-generic-recovery-26681ab0-c120-4797-b95e-7d0cfa960dd7' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  26681ab0-c120-4797-b95e-7d0cfa960dd7
		else
		  search --no-floppy --fs-uuid --set=root 26681ab0-c120-4797-b95e-7d0cfa960dd7
		fi
		echo	'Chargement de Linux 4.15.0-91-generic…'
	        linux	/boot/vmlinuz-4.15.0-91-generic root=UUID=26681ab0-c120-4797-b95e-7d0cfa960dd7 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.15.0-91-generic
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  26681ab0-c120-4797-b95e-7d0cfa960dd7
	else
	  search --no-floppy --fs-uuid --set=root 26681ab0-c120-4797-b95e-7d0cfa960dd7
	fi
	knetbsd	/boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  26681ab0-c120-4797-b95e-7d0cfa960dd7
	else
	  search --no-floppy --fs-uuid --set=root 26681ab0-c120-4797-b95e-7d0cfa960dd7
	fi
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (sur /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-FA2AC6152AC5CF37' {
	savedefault
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  FA2AC6152AC5CF37
	else
	  search --no-floppy --fs-uuid --set=root FA2AC6152AC5CF37
	fi
	parttool ${root} hidden-
	chainloader +1
}
menuentry 'Ubuntu 14.04.6 LTS (14.04) (sur /dev/sda2)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-8c69f945-f41d-4f8c-83bd-81d4a28efb15' {
	savedefault
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  8c69f945-f41d-4f8c-83bd-81d4a28efb15
	else
	  search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
	fi
	linux /boot/vmlinuz-3.13.0-170-generic root=UUID=8c69f945-f41d-4f8c-83bd-81d4a28efb15 ro quiet splash $vt_handoff
	initrd /boot/initrd.img-3.13.0-170-generic
}
submenu 'Options avancées pour Ubuntu 14.04.6 LTS (14.04) (sur /dev/sda2)' $menuentry_id_option 'osprober-gnulinux-advanced-8c69f945-f41d-4f8c-83bd-81d4a28efb15' {
	menuentry 'Ubuntu (sur /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-170-generic--8c69f945-f41d-4f8c-83bd-81d4a28efb15' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  8c69f945-f41d-4f8c-83bd-81d4a28efb15
		else
		  search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
		fi
		linux /boot/vmlinuz-3.13.0-170-generic root=UUID=8c69f945-f41d-4f8c-83bd-81d4a28efb15 ro quiet splash $vt_handoff
		initrd /boot/initrd.img-3.13.0-170-generic
	}
	menuentry 'Ubuntu, avec Linux 3.13.0-170-generic (sur /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-170-generic--8c69f945-f41d-4f8c-83bd-81d4a28efb15' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  8c69f945-f41d-4f8c-83bd-81d4a28efb15
		else
		  search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
		fi
		linux /boot/vmlinuz-3.13.0-170-generic root=UUID=8c69f945-f41d-4f8c-83bd-81d4a28efb15 ro quiet splash $vt_handoff
		initrd /boot/initrd.img-3.13.0-170-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-170-generic (recovery mode) (sur /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-170-generic-root=UUID=8c69f945-f41d-4f8c-83bd-81d4a28efb15 ro recovery nomodeset-8c69f945-f41d-4f8c-83bd-81d4a28efb15' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  8c69f945-f41d-4f8c-83bd-81d4a28efb15
		else
		  search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
		fi
		linux /boot/vmlinuz-3.13.0-170-generic root=UUID=8c69f945-f41d-4f8c-83bd-81d4a28efb15 ro recovery nomodeset
		initrd /boot/initrd.img-3.13.0-170-generic
	}
	menuentry 'Ubuntu, avec Linux 3.13.0-169-generic (sur /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-169-generic--8c69f945-f41d-4f8c-83bd-81d4a28efb15' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  8c69f945-f41d-4f8c-83bd-81d4a28efb15
		else
		  search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
		fi
		linux /boot/vmlinuz-3.13.0-169-generic root=UUID=8c69f945-f41d-4f8c-83bd-81d4a28efb15 ro quiet splash $vt_handoff
		initrd /boot/initrd.img-3.13.0-169-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-169-generic (recovery mode) (sur /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-169-generic-root=UUID=8c69f945-f41d-4f8c-83bd-81d4a28efb15 ro recovery nomodeset-8c69f945-f41d-4f8c-83bd-81d4a28efb15' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  8c69f945-f41d-4f8c-83bd-81d4a28efb15
		else
		  search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
		fi
		linux /boot/vmlinuz-3.13.0-169-generic root=UUID=8c69f945-f41d-4f8c-83bd-81d4a28efb15 ro recovery nomodeset
		initrd /boot/initrd.img-3.13.0-169-generic
	}
}

set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "Iso Live ubuntu-budgie-17.04-desktop-i386.iso dans cle USB3-Emtec" {
insmod part_gpt
insmod iso9660
search --no-floppy --fs-uuid --set=root 0669-366B
set isofile="/ubuntu-budgie-17.04-desktop-i386.iso"
loopback loop $isofile
#echo	'Chargement du noyau Linux ...'
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile toram locale=fr_FR bootkbd=fr console-setup/layoutcode=fr noprompt noeject quiet splash --
#echo	'Chargement du disque mémoire initial ...'
initrd (loop)/casper/initrd.lz
}
menuentry "Iso Live ubuntu-17.10-desktop-amd64.iso dans cle USB3-Emtec" {
insmod part_gpt
insmod iso9660
search --no-floppy --fs-uuid --set=root 0669-366B
set isofile="/ubuntu-17.10-desktop-amd64.iso"
loopback loop $isofile
#echo	'Chargement du noyau Linux ...'
linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=$isofile toram locale=fr_FR bootkbd=fr console-setup/layoutcode=fr noprompt noeject quiet splash --
#echo	'Chargement du disque mémoire initial ...'
initrd (loop)/casper/initrd.lz
}
menuentry "Iso Live ubuntu-18.04.2-desktop-amd64.iso dans partition Windows-7-dell" {
insmod part_msdos
insmod iso9660
search --no-floppy --fs-uuid --set=root FA2AC6152AC5CF37
set isofile="/ubuntu-18.04.2-desktop-amd64.iso"
loopback loop $isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile toram locale=fr_FR bootkbd=fr console-setup/layoutcode=fr noprompt noeject quiet splash --
initrd (loop)/casper/initrd
}
menuentry "Iso Live ubuntu-18.04.2-desktop-amd64.iso dans partition systeme-fusion-dell" {
insmod part_msdos
insmod iso9660
search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
set isofile="/ubuntu-18.04.2-desktop-amd64.iso"
loopback loop $isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile toram locale=fr_FR bootkbd=fr console-setup/layoutcode=fr noprompt noeject quiet splash --
initrd (loop)/casper/initrd
}
menuentry "Iso Live ubuntu-19.10-desktop-amd64.iso dans partition systeme-fusion-dell" {
insmod part_msdos
insmod iso9660
search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
set isofile="/ubuntu-19.10-desktop-amd64.iso"
loopback loop $isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile toram locale=fr_FR bootkbd=fr console-setup/layoutcode=fr noprompt noeject quiet splash --
initrd (loop)/casper/initrd
}
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda3/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# /
UUID=26681ab0-c120-4797-b95e-7d0cfa960dd7   /   ext4   noatime,errors=remount-ro   0   1

--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

 110.537307739 = 118.688530432  boot/grub/grub.cfg                             3
 108.774444580 = 116.795670528  boot/grub/i386-pc/core.img                     1
 104.668930054 = 112.387407872  boot/vmlinuz-4.15.0-91-generic                 1
  83.985332489 = 90.178564096   boot/vmlinuz-4.15.0-96-generic                 2
  83.985332489 = 90.178564096   vmlinuz                                        2
 104.668930054 = 112.387407872  vmlinuz.old                                    1
 109.543182373 = 117.621096448  boot/initrd.img-4.15.0-91-generic              2
  96.088359833 = 103.174090752  boot/initrd.img-4.15.0-96-generic              6
  96.088359833 = 103.174090752  initrd.img                                     6
 109.543182373 = 117.621096448  initrd.img.old                                 2


ADDITIONAL INFORMATION:

=================== log of boot-info 20200423_0841 ===================
boot-info version : 4ppa85
boot-sav version : 4ppa85
boot-sav-extra version : 4ppa85
glade2script version : 3.2.4~ppa17
boot-info is executed in installed-session (Ubuntu 18.04.4 LTS, bionic, Ubuntu, x86_64)
CPU op-mode(s):      32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-4.15.0-96-generic root=UUID=26681ab0-c120-4797-b95e-7d0cfa960dd7 ro quiet splash vt.handoff=1

=================== os-prober:
/dev/sda3:L'OS actuellement utilisé - Ubuntu 18.04.4 LTS CurrentSession:linux
/dev/sda1:Windows 7:Windows:chain
/dev/sda2:Ubuntu 14.04.6 LTS (14.04):Ubuntu:linux

=================== blkid:
/dev/sda1: LABEL="windows-7-del" UUID="FA2AC6152AC5CF37" TYPE="ntfs" PARTUUID="00040603-01"
/dev/sda2: LABEL="fusion14.04-dell" UUID="8c69f945-f41d-4f8c-83bd-81d4a28efb15" TYPE="ext4" PARTUUID="00040603-02"
/dev/sda3: LABEL="ubu-18.04-dell" UUID="26681ab0-c120-4797-b95e-7d0cfa960dd7" TYPE="ext4" PARTUUID="00040603-03"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/loop8: TYPE="squashfs"
/dev/loop9: TYPE="squashfs"
/dev/loop10: TYPE="squashfs"
/dev/loop11: TYPE="squashfs"
/dev/loop12: TYPE="squashfs"
/dev/loop13: TYPE="squashfs"
/dev/loop14: TYPE="squashfs"
/dev/loop15: TYPE="squashfs"


1 disks with OS, 3 OS : 2 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.


=================== /etc/grub.d/ :
drwxr-xr-x  2 root root     4096 mars  26 17:42 grub.d
total 80
-rwxr-xr-x 1 root root 10046 févr.  8  2019 00_header
-rwxr-xr-x 1 root root  6258 mars   4  2018 05_debian_theme
-rwxr-xr-x 1 root root 12693 mars   4  2018 10_linux
-rwxr-xr-x 1 root root 11298 mars   4  2018 20_linux_xen
-rwxr-xr-x 1 root root  1992 janv. 28  2016 20_memtest86+
-rwxr-xr-x 1 root root 12059 mars   4  2018 30_os-prober
-rwxr-xr-x 1 root root  1418 mars   4  2018 30_uefi-firmware
-rwxr-xr-x 1 root root  2587 mars  26 11:14 40_custom
-rwxr-xr-x 1 root root   216 mars   4  2018 41_custom
-rw-r--r-- 1 root root   483 mars   4  2018 README


=================== /etc/grub.d/40_custom :
menuentry "Iso Live ubuntu-budgie-17.04-desktop-i386.iso dans cle USB3-Emtec" {
insmod part_gpt
insmod iso9660
search --no-floppy --fs-uuid --set=root 0669-366B
set isofile="/ubuntu-budgie-17.04-desktop-i386.iso"
loopback loop $isofile
#echo	'Chargement du noyau Linux ...'
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile toram locale=fr_FR bootkbd=fr console-setup/layoutcode=fr noprompt noeject quiet splash --
#echo	'Chargement du disque mémoire initial ...'
initrd (loop)/casper/initrd.lz
}
menuentry "Iso Live ubuntu-17.10-desktop-amd64.iso dans cle USB3-Emtec" {
insmod part_gpt
insmod iso9660
search --no-floppy --fs-uuid --set=root 0669-366B
set isofile="/ubuntu-17.10-desktop-amd64.iso"
loopback loop $isofile
#echo	'Chargement du noyau Linux ...'
linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=$isofile toram locale=fr_FR bootkbd=fr console-setup/layoutcode=fr noprompt noeject quiet splash --
#echo	'Chargement du disque mémoire initial ...'
initrd (loop)/casper/initrd.lz
}
menuentry "Iso Live ubuntu-18.04.2-desktop-amd64.iso dans partition Windows-7-dell" {
insmod part_msdos
insmod iso9660
search --no-floppy --fs-uuid --set=root FA2AC6152AC5CF37
set isofile="/ubuntu-18.04.2-desktop-amd64.iso"
loopback loop $isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile toram locale=fr_FR bootkbd=fr console-setup/layoutcode=fr noprompt noeject quiet splash --
initrd (loop)/casper/initrd
}
menuentry "Iso Live ubuntu-18.04.2-desktop-amd64.iso dans partition systeme-fusion-dell" {
insmod part_msdos
insmod iso9660
search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
set isofile="/ubuntu-18.04.2-desktop-amd64.iso"
loopback loop $isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile toram locale=fr_FR bootkbd=fr console-setup/layoutcode=fr noprompt noeject quiet splash --
initrd (loop)/casper/initrd
}
menuentry "Iso Live ubuntu-19.10-desktop-amd64.iso dans partition systeme-fusion-dell" {
insmod part_msdos
insmod iso9660
search --no-floppy --fs-uuid --set=root 8c69f945-f41d-4f8c-83bd-81d4a28efb15
set isofile="/ubuntu-19.10-desktop-amd64.iso"
loopback loop $isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile toram locale=fr_FR bootkbd=fr console-setup/layoutcode=fr noprompt noeject quiet splash --
initrd (loop)/casper/initrd
}




=================== /etc/default/grub :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_SAVEDEFAULT="true"
GRUB_DEFAULT="saved"
#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=""

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

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

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

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

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

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"




=================== sda3saved_entry=gnulinux-simple-26681ab0-c120-4797-b95e-7d0cfa960dd7/grub/grubenv :
saved_entry=gnulinux-simple-26681ab0-c120-4797-b95e-7d0cfa960dd7




=================== /media/bernard/fusion14.04-dell/etc/grub.d/ :
drwxr-xr-x  2 root root      4096 mars  25 08:55 grub.d
drwxr-xr-x  2 root root      4096 mars  25 08:54 grub.d.bak
total 72
-rwxr-xr-x 1 root root  9791 mars  22  2019 00_header
-rwxr-xr-x 1 root root  6058 mai   13  2015 05_debian_theme
-rwxr-xr-x 1 root root 11608 mars  22  2019 10_linux
-rwxr-xr-x 1 root root 10412 mars  22  2019 20_linux_xen
-rw-r--r-- 1 root root 11692 mars  22  2019 30_os-prober
-rwxr-xr-x 1 root root  1418 mars  22  2019 30_uefi-firmware
-rwxr-xr-x 1 root root   214 mars  22  2019 40_custom
-rwxr-xr-x 1 root root   216 mars  22  2019 41_custom
-rw-r--r-- 1 root root   483 mars  22  2019 README




=================== /media/bernard/fusion14.04-dell/etc/default/grub :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
#GRUB_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"
GRUB_CMDLINE_LINUX=""

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

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

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

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

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

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"




=================== UEFI/Legacy mode:
This installed-session is not in EFI-mode.
SecureBoot disabled.


=================== PARTITIONS & DISKS:
sda3	: sda,	not-sepboot,	grubenv-ng	grub2,	grub-pc ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	farbios,	notbiosboot, .
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	is-winboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/sda1.
sda2	: sda,	not-sepboot,	grubenv-ok	grub2,	grub-pc ,	update-grub,	32,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	not-far,	notbiosboot, /media/bernard/fusion14.04-dell.

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


=================== parted -lm:

BYT;
/dev/sda:120GB:scsi:512:512:msdos:ATA LDLC:;
1:1049kB:28.9GB:28.9GB:ntfs::boot;
2:28.9GB:85.9GB:57.1GB:ext4::;
3:85.9GB:120GB:34.1GB:ext4::;

=================== lsblk:
KNAME  TYPE FSTYPE     SIZE LABEL
loop0  loop squashfs   3,7M
loop1  loop squashfs 156,7M
loop2  loop squashfs  54,8M
loop3  loop squashfs  62,1M
loop4  loop squashfs  54,7M
loop5  loop squashfs 160,2M
loop6  loop squashfs 140,7M
loop7  loop squashfs    55M
loop8  loop squashfs   956K
loop9  loop squashfs  14,8M
loop10 loop squashfs 140,7M
loop11 loop squashfs  14,8M
loop12 loop squashfs   956K
loop13 loop squashfs   3,7M
loop14 loop squashfs  91,4M
loop15 loop squashfs  93,8M
sda    disk          111,8G
sda1   part ntfs      26,9G windows-7-del
sda2   part ext4      53,2G fusion14.04-dell
sda3   part ext4      31,8G ubu-18.04-dell
sr0    rom            1024M

KNAME  ROTA RO RM STATE   MOUNTPOINT
loop0     1  1  0         /snap/gnome-system-monitor/135
loop1     1  1  0         /snap/gnome-3-28-1804/110
loop2     1  1  0         /snap/gtk-common-themes/1502
loop3     1  1  0         /snap/gtk-common-themes/1506
loop4     1  1  0         /snap/core18/1668
loop5     1  1  0         /snap/gnome-3-28-1804/116
loop6     1  1  0         /snap/gnome-3-26-1604/97
loop7     1  1  0         /snap/core18/1705
loop8     1  1  0         /snap/gnome-logs/81
loop9     1  1  0         /snap/gnome-characters/399
loop10    1  1  0         /snap/gnome-3-26-1604/98
loop11    1  1  0         /snap/gnome-characters/495
loop12    1  1  0         /snap/gnome-logs/93
loop13    1  1  0         /snap/gnome-system-monitor/127
loop14    1  1  0         /snap/core/8689
loop15    1  1  0         /snap/core/8935
sda       0  0  0 running
sda1      0  0  0         /mnt/boot-sav/sda1
sda2      0  0  0         /media/bernard/fusion14.04-dell
sda3      0  0  0         /
sr0       1  0  1 running


=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=1885716k,nr_inodes=471429,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=383432k,mode=755)
/dev/sda3 on / type ext4 (rw,noatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=25,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=14700)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/var/lib/snapd/snaps/gnome-system-monitor_135.snap on /snap/gnome-system-monitor/135 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-28-1804_110.snap on /snap/gnome-3-28-1804/110 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_1502.snap on /snap/gtk-common-themes/1502 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_1506.snap on /snap/gtk-common-themes/1506 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core18_1668.snap on /snap/core18/1668 type squashfs (ro,nodev,relatime,x-gdu.hide)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
/var/lib/snapd/snaps/core18_1705.snap on /snap/core18/1705 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-26-1604_97.snap on /snap/gnome-3-26-1604/97 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-characters_399.snap on /snap/gnome-characters/399 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-28-1804_116.snap on /snap/gnome-3-28-1804/116 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-logs_81.snap on /snap/gnome-logs/81 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-26-1604_98.snap on /snap/gnome-3-26-1604/98 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-characters_495.snap on /snap/gnome-characters/495 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-logs_93.snap on /snap/gnome-logs/93 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-system-monitor_127.snap on /snap/gnome-system-monitor/127 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core_8689.snap on /snap/core/8689 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core_8935.snap on /snap/core/8935 type squashfs (ro,nodev,relatime,x-gdu.hide)
tmpfs on /run/user/120 type tmpfs (rw,nosuid,nodev,relatime,size=383428k,mode=700,uid=120,gid=125)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=383428k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/fuse on /root/.cache/doc type fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0)
gvfsd-fuse on /root/.gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0)
/dev/sda2 on /media/bernard/fusion14.04-dell type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)


=================== ls:
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity power queue range removable ro sda1 sda2 sda3 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 drm_dp_aux2 dvd dvdrw ecryptfs fb0 fd freefall full fuse hidraw0 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sda1
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  fd 4f 5c 03 00 00 00 00  |.........O.....|
00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  37 cf c5 2a 15 c6 2a fa  |........7..*..*.|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 01 90 90 66 60 1e  |(........_...f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a0 f8 01 e8 09 00  |...u...fa.......|
00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|
00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 41 20  |t.............A |
00000190  64 69 73 6b 20 72 65 61  64 20 65 72 72 6f 72 20  |disk read error |
000001a0  6f 63 63 75 72 72 65 64  00 0d 0a 42 4f 4f 54 4d  |occurred...BOOTM|
000001b0  47 52 20 69 73 20 6d 69  73 73 69 6e 67 00 0d 0a  |GR is missing...|
000001c0  42 4f 4f 54 4d 47 52 20  69 73 20 63 6f 6d 70 72  |BOOTMGR is compr|
000001d0  65 73 73 65 64 00 0d 0a  50 72 65 73 73 20 43 74  |essed...Press Ct|
000001e0  72 6c 2b 41 6c 74 2b 44  65 6c 20 74 6f 20 72 65  |rl+Alt+Del to re|
000001f0  73 74 61 72 74 0d 0a 00  8c a9 be d6 00 00 55 aa  |start.........U.|
00000200

=================== df -Th:

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  1.8G     0  1.8G   0% /dev
tmpfs          tmpfs     375M  2.0M  373M   1% /run
/dev/sda3      ext4       32G   26G  4.2G  86% /
tmpfs          tmpfs     1.9G     0  1.9G   0% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     1.9G     0  1.9G   0% /sys/fs/cgroup
/dev/loop0     squashfs  3.8M  3.8M     0 100% /snap/gnome-system-monitor/135
/dev/loop1     squashfs  157M  157M     0 100% /snap/gnome-3-28-1804/110
/dev/loop2     squashfs   55M   55M     0 100% /snap/gtk-common-themes/1502
/dev/loop3     squashfs   63M   63M     0 100% /snap/gtk-common-themes/1506
/dev/loop4     squashfs   55M   55M     0 100% /snap/core18/1668
/dev/loop7     squashfs   55M   55M     0 100% /snap/core18/1705
/dev/loop6     squashfs  141M  141M     0 100% /snap/gnome-3-26-1604/97
/dev/loop9     squashfs   15M   15M     0 100% /snap/gnome-characters/399
/dev/loop5     squashfs  161M  161M     0 100% /snap/gnome-3-28-1804/116
/dev/loop8     squashfs  1.0M  1.0M     0 100% /snap/gnome-logs/81
/dev/loop10    squashfs  141M  141M     0 100% /snap/gnome-3-26-1604/98
/dev/loop11    squashfs   15M   15M     0 100% /snap/gnome-characters/495
/dev/loop12    squashfs  1.0M  1.0M     0 100% /snap/gnome-logs/93
/dev/loop13    squashfs  3.8M  3.8M     0 100% /snap/gnome-system-monitor/127
/dev/loop14    squashfs   92M   92M     0 100% /snap/core/8689
/dev/loop15    squashfs   94M   94M     0 100% /snap/core/8935
tmpfs          tmpfs     375M   16K  375M   1% /run/user/120
tmpfs          tmpfs     375M   72K  375M   1% /run/user/1000
/dev/sda2      ext4       53G   48G  2.2G  96% /media/bernard/fusion14.04-dell
/dev/sda1      fuseblk    27G   26G  1.2G  96% /mnt/boot-sav/sda1

=================== fdisk -l:
Disk /dev/loop0: 3.7 MiB, 3862528 bytes, 7544 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 156.7 MiB, 164290560 bytes, 320880 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 54.8 MiB, 57479168 bytes, 112264 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop3: 62.1 MiB, 65105920 bytes, 127160 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop4: 54.7 MiB, 57294848 bytes, 111904 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop5: 160.2 MiB, 167931904 bytes, 327992 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop6: 140.7 MiB, 147501056 bytes, 288088 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop7: 55 MiB, 57614336 bytes, 112528 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00040603

Device     Boot     Start       End   Sectors  Size Id Type
/dev/sda1  *         2048  56383487  56381440 26.9G  7 HPFS/NTFS/exFAT
/dev/sda2        56383488 167847935 111464448 53.2G 83 Linux
/dev/sda3       167847936 234440703  66592768 31.8G 83 Linux




Disk /dev/loop8: 956 KiB, 978944 bytes, 1912 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop9: 14.8 MiB, 15462400 bytes, 30200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop10: 140.7 MiB, 147501056 bytes, 288088 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop11: 14.8 MiB, 15466496 bytes, 30208 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop12: 956 KiB, 978944 bytes, 1912 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop13: 3.7 MiB, 3825664 bytes, 7472 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop14: 91.4 MiB, 95805440 bytes, 187120 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop15: 93.8 MiB, 98336768 bytes, 192064 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes




=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sda3 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s


=================== User settings
The settings chosen by the user will not act on the boot.

Je vois le même souci doublement de la rubrique concernant les fichiers grub.cfg.

Vérification faite dans les systèmes de mes Os, il n'y a pas doublement de ces fichiers /bootgrub/grub.cfg
Un petit bug des scripts à réglé?.

Bonne journée.

@+.   Babdu89   .


J'ai découvert Ubuntu avec la 07.10.... Et alors?!...  Depuis je regarde de temps en temps si Windows marche toujours....

Hors ligne

#1945 Le 23/04/2020, à 10:13

jibel

Re : [Réparateur de démarrage] Développement du logiciel Boot-Repair

Ben voila on y arrive, les modifications de B.R.D. pourront-elles être OK lors de la dernière "sortie"? Pour soit télécharger B.R.D., soit la graver dans un CD-DVD ou l'installer dans une clé USB..En final de l'installer dans un autre O.S. dans un autre D.D.connecté de manière a supprimer un OS qui peut ne pas plaire aux utilisateurs?
Merci a Yannubuntu et au jeune qui se lance dans cet outil avec tout ce qu'il y a dans B.R.D. ...tout compris !  roll

Dernière modification par jibel (Le 23/04/2020, à 10:13)


Plus grande est la face, plus grand est le dos!
Toutes les fautes de frappe, d'orthographe, de grammaire et de syntaxe ci-dessus, sont la propriété intellectuelle de l'auteur. Elles doivent être reproduites et même corrigées sans l'accord préalable du susdit et toc !

Mint 17.1,Voyager20.04,Emmabuntus 1.Buster, Debian 10.buster, Hybryde 14.04, Pas d'OS intermédiaire ! PC Medion AKOYA  DD 1T + 2 .

Hors ligne

#1946 Le 23/04/2020, à 22:55

geole

Re : [Réparateur de démarrage] Développement du logiciel Boot-Repair

Bonsoir.
Rien de particulier aujourd'hui, J'ai investi un peu afin d'avoir un moins mauvais échantillonnage.
J'ai refait un boot-info qui n'a pas trop de problèmes  hormis la partition EFI ==> https://paste.ubuntu.com/p/7KvN5pFfyv/
On y verra notamment la nouveauté de la version 2020 et du RAID. On y verra aussi l'incident signalé par babdu89

sda16: _________________________________________________________________________

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

sda17: _________________________________________________________________________

    File system:       zfs_member
    Boot sector type:  -
    Boot sector info: 
md0: ___________________________________________________________________________

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

md1: ___________________________________________________________________________

    File system:       btrfs
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:       
sdb2: __________________________________________________________________________

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

sdb3: __________________________________________________________________________
sdb5: __________________________________________________________________________

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

sdb6: __________________________________________________________________________

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

A noter une drole de surprise pour les deux dernières lignes de cette commande

sudo fdisk -l | grep sda

Disque /dev/sda : 465,78 GiB, 500107861504 octets, 976773167 secteurs
/...........
/dev/sda16   371107840 435394559  64286720  30,7G Données de base Microsoft
/dev/sda17   435394560 499681279  64286720  30,7G Données de base Microsoft

Plus loin on verra

/dev/sda16       6946812547421721504                    zfs_member pool-test
/dev/sda17       6946812547421721504                    zfs_member pool-test
mount: /mnt/boot-sav/sdb18: type de système de fichiers « crypto_LUKS » inconnu.
mount /dev/sdb18 : Error code 32
mount -r /dev/sdb18 /mnt/boot-sav/sdb18
mount: /mnt/boot-sav/sdb18: type de système de fichiers « crypto_LUKS » inconnu.
mount -r /dev/sdb18 : Error code 32
mount: /mnt/boot-sav/sdb19: type de système de fichiers « crypto_LUKS » inconnu.
mount /dev/sdb19 : Error code 32
mount -r /dev/sdb19 /mnt/boot-sav/sdb19
mount: /mnt/boot-sav/sdb19: type de système de fichiers « crypto_LUKS » inconnu.
mount -r /dev/sdb19 : Error code 32
mount: /mnt/boot-sav/sda16: type de système de fichiers « zfs_member » inconnu.
mount /dev/sda16 : Error code 32
mount -r /dev/sda16 /mnt/boot-sav/sda16
mount: /mnt/boot-sav/sda16: type de système de fichiers « zfs_member » inconnu.
mount -r /dev/sda16 : Error code 32
mount: /mnt/boot-sav/sda17: type de système de fichiers « zfs_member » inconnu.
mount /dev/sda17 : Error code 32
mount -r /dev/sda17 /mnt/boot-sav/sda17
mount: /mnt/boot-sav/sda17: type de système de fichiers « zfs_member » inconnu.
mount -r /dev/sda17 : Error code 32

Cela ne me semble gênant car je serais surpris que grub s'installe dans ces structures.
NOTA, je découvre le ZFS. Son montage est automatique. Il n'y a pas lieu de s'en occuper. Le fichier /etc/fstab ne le connait même pas.
Le point de montage est au premier niveau. En standard, c'est le nom retenu dans la commande de création

Comme je constate que pour le RAIDS, on voit quelque chose

=================== sdb23/proc/mdstat :
Personalities : [raid1]
md1 : active raid1 sda13[1] sda12[0]
32125952 blocks super 1.2 [2/2] [UU]

md0 : active raid1 sda10[1] sda9[0]
29069312 blocks super 1.2 [2/2] [UU]

unused devices: <none>

Peut-être faudrait-il faire pareil pour le zfs?   à priori, il faut tester l'existence de la comnande ou vérifier que l'O.S. est antérieur à la version 19.10

zpool status 
  pool: pool-test
 state: ONLINE
  scan: none requested
config:

	NAME        STATE     READ WRITE CKSUM
	pool-test   ONLINE       0     0     0
	  sda16     ONLINE       0     0     0
	  sda17     ONLINE       0     0     0

errors: No known data errors
zpool list
NAME        SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
pool-test    61G  36,8G  24,2G        -         -     0%    60%  1.00x    ONLINE  -

Il me semble que les statistiques de la commande zpool sont en contradiction avec cette commande

=================== df -Th:

Filesystem                 Type      Size  Used Avail Use% Mounted on
......
pool-test                  zfs        60G   37G   23G  63% /pool-test
/dev/md0                   ext4       28G  8.0G   18G  31% /RAIDA
/dev/md1                   btrfs      31G  8.0G   23G  27% /RAIDB

Ajout. Mise à jour de la version 18.04

Paramétrage de boot-sav-extra (4ppa85) ...
Traitement des actions différées (« triggers ») pour desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Traitement des actions différées (« triggers ») pour man-db (2.8.3-2ubuntu0.1) ...
Traitement des actions différées (« triggers ») pour gnome-menus (3.13.3-11ubuntu1.1) ...
Traitement des actions différées (« triggers ») pour hicolor-icon-theme (0.17-2) ...
Traitement des actions différées (« triggers ») pour mime-support (3.60ubuntu1) ...

a@a:~$ sudo boot-info --python3

(glade2script-python3:7284): IBUS-WARNING **: 23:59:52.739: The owner of /home/a/.config/ibus/bus is not root!

Bonne soirée.

Dernière modification par geole (Le 24/04/2020, à 00:03)


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

Hors ligne

#1947 Le 24/04/2020, à 02:08

YannUbuntu

Re : [Réparateur de démarrage] Développement du logiciel Boot-Repair

bonjour
mise à jour consequente en preparation dans le PPA de dev  ( ppa:yannubuntu/boot-repair-dev ), si vous voulez tester.
Elle resout les petits bugs #1942 (commande en doublon) #1943 (fenetre vide) et #1944 (doublement de fichiers), utilise -python3 par defaut (sauf si nouvel argument -python2 utilisé),
affiche dans le boot-info la version de glade2script utilisée (meme si glade2script-python2 est installé),
manpage mis a jour, arrete la creation de log&sauvegardes hors de l'OS sur lequel est executé boot-repair, ameliore la detection des OS non-visibles par os-prober, et la liste des OS proposés par os-uninstaller.
Retrait des fonctions liées à clean-ubiquity.
La detection refind devrait etre amelioree. Et j'ai fait pas mal de nettoyage de code, donc risque de coquilles.


à consulter/améliorer: Guide du Débutant, Logiciels, Ecole, Travail, Maison

Hors ligne

#1948 Le 24/04/2020, à 12:22

geole

Re : [Réparateur de démarrage] Développement du logiciel Boot-Repair

Bonjour
C'est parti!

sudo apt purge boot-sav
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  efibootmgr glade2script grub-common libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib os-prober pastebinit python-gi python-is-python2 python2
  python2-minimal python2.7 python2.7-minimal
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
Les paquets suivants seront ENLEVÉS :
  boot-info* boot-repair* boot-sav* boot-sav-extra*
0 mis à jour, 0 nouvellement installés, 4 à enlever et 0 non mis à jour.
Après cette opération, 2817 ko d'espace disque seront libérés.
Souhaitez-vous continuer ? [O/n] 
(Lecture de la base de données... 254692 fichiers et répertoires déjà installés.)
Suppression de boot-info (4ppa85) ...
Suppression de boot-repair (4ppa85) ...
Suppression de boot-sav-extra (4ppa85) ...
Suppression de boot-sav (4ppa85) ...
Traitement des actions différées (« triggers ») pour mime-support (3.64ubuntu1) ...
Traitement des actions différées (« triggers ») pour gnome-menus (3.36.0-1ubuntu1) ...
Traitement des actions différées (« triggers ») pour man-db (2.9.1-1) ...
Traitement des actions différées (« triggers ») pour desktop-file-utils (0.24-1ubuntu2) ...
(Lecture de la base de données... 254544 fichiers et répertoires déjà installés.)
Purge des fichiers de configuration de boot-info (4ppa85) ...
Purge des fichiers de configuration de boot-repair (4ppa85) ...


_______________________________________________

sudo add-apt-repository -y ppa:yannubuntu/boot-repair-dev
Atteint :1 http://fr.archive.ubuntu.com/ubuntu focal InRelease
Atteint :2 http://fr.archive.ubuntu.com/ubuntu focal-updates InRelease                              
Atteint :3 http://ppa.launchpad.net/yannubuntu/boot-repair-dev/ubuntu focal InRelease               
Atteint :4 http://fr.archive.ubuntu.com/ubuntu focal-backports InRelease
Atteint :5 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal InRelease   
Atteint :6 http://security.ubuntu.com/ubuntu focal-security InRelease               
Lecture des listes de paquets... Fait
________________________________________
sudo apt update
Atteint :1 http://fr.archive.ubuntu.com/ubuntu focal InRelease                                                                                                         
Atteint :2 http://ppa.launchpad.net/yannubuntu/boot-repair-dev/ubuntu focal InRelease                                           
Atteint :3 http://fr.archive.ubuntu.com/ubuntu focal-updates InRelease                                                
Atteint :4 http://fr.archive.ubuntu.com/ubuntu focal-backports InRelease                                              
Atteint :5 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal InRelease   
Atteint :6 http://security.ubuntu.com/ubuntu focal-security InRelease 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Tous les paquets sont à jour.
________________________________________________
sudo apt install -y boot-repair boot-info
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les paquets supplémentaires suivants seront installés : 
  boot-sav boot-sav-extra efibootmgr glade2script glade2script-python3 grub-common os-prober pastebinit
Paquets suggérés :
  mdadm os-uninstaller gir1.2-appindicator3-0.1 multiboot-doc grub-emu xorriso desktop-base
Les NOUVEAUX paquets suivants seront installés :
  boot-info boot-repair boot-sav boot-sav-extra efibootmgr glade2script glade2script-python3 grub-common os-prober pastebinit
0 mis à jour, 10 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 657 ko/2558 ko dans les archives.
Après cette opération, 17,0 Mo d'espace disque supplémentaires seront utilisés.
Réception de :1 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 pastebinit all 1.5.1-1 [14,2 kB]                
Réception de :2 http://ppa.launchpad.net/yannubuntu/boot-repair-dev/ubuntu focal/main amd64 glade2script-python3 all 3.2.4~ppa21 [35,9 kB]
Réception de :3 http://ppa.launchpad.net/yannubuntu/boot-repair-dev/ubuntu focal/main amd64 glade2script all 3.2.4~ppa21 [2204 B]
Réception de :4 http://ppa.launchpad.net/yannubuntu/boot-repair-dev/ubuntu focal/main amd64 boot-sav all 4ppa88 [443 kB]
Réception de :5 http://ppa.launchpad.net/yannubuntu/boot-repair-dev/ubuntu focal/main amd64 boot-info all 4ppa88 [7040 B]
Réception de :6 http://ppa.launchpad.net/yannubuntu/boot-repair-dev/ubuntu focal/main amd64 boot-repair all 4ppa88 [12,4 kB]
Réception de :7 http://ppa.launchpad.net/yannubuntu/boot-repair-dev/ubuntu focal/main amd64 boot-sav-extra all 4ppa88 [142 kB]
657 ko réceptionnés en 3s (196 ko/s)      
Sélection du paquet glade2script-python3 précédemment désélectionné.
(Lecture de la base de données... 253561 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../0-glade2script-python3_3.2.4~ppa21_all.deb ...
Dépaquetage de glade2script-python3 (3.2.4~ppa21) ...
Sélection du paquet glade2script précédemment désélectionné.
Préparation du dépaquetage de .../1-glade2script_3.2.4~ppa21_all.deb ...
Dépaquetage de glade2script (3.2.4~ppa21) ...
Sélection du paquet boot-sav précédemment désélectionné.
Préparation du dépaquetage de .../2-boot-sav_4ppa88_all.deb ...
Dépaquetage de boot-sav (4ppa88) ...
Sélection du paquet boot-info précédemment désélectionné.
Préparation du dépaquetage de .../3-boot-info_4ppa88_all.deb ...
Dépaquetage de boot-info (4ppa88) ...
Sélection du paquet boot-repair précédemment désélectionné.
Préparation du dépaquetage de .../4-boot-repair_4ppa88_all.deb ...
Dépaquetage de boot-repair (4ppa88) ...
Sélection du paquet boot-sav-extra précédemment désélectionné.
Préparation du dépaquetage de .../5-boot-sav-extra_4ppa88_all.deb ...
Dépaquetage de boot-sav-extra (4ppa88) ...
Sélection du paquet efibootmgr précédemment désélectionné.
Préparation du dépaquetage de .../6-efibootmgr_17-1_amd64.deb ...
Dépaquetage de efibootmgr (17-1) ...
Sélection du paquet grub-common précédemment désélectionné.
Préparation du dépaquetage de .../7-grub-common_2.04-1ubuntu26_amd64.deb ...
Dépaquetage de grub-common (2.04-1ubuntu26) ...
Sélection du paquet os-prober précédemment désélectionné.
Préparation du dépaquetage de .../8-os-prober_1.74ubuntu2_amd64.deb ...
Dépaquetage de os-prober (1.74ubuntu2) ...
Sélection du paquet pastebinit précédemment désélectionné.
Préparation du dépaquetage de .../9-pastebinit_1.5.1-1_all.deb ...
Dépaquetage de pastebinit (1.5.1-1) ...
Paramétrage de efibootmgr (17-1) ...
Paramétrage de glade2script-python3 (3.2.4~ppa21) ...
Paramétrage de glade2script (3.2.4~ppa21) ...
Paramétrage de pastebinit (1.5.1-1) ...
Paramétrage de grub-common (2.04-1ubuntu26) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Paramétrage de os-prober (1.74ubuntu2) ...
Paramétrage de boot-sav (4ppa88) ...
Paramétrage de boot-sav-extra (4ppa88) ...
Paramétrage de boot-repair (4ppa88) ...
Paramétrage de boot-info (4ppa88) ...
Traitement des actions différées (« triggers ») pour mime-support (3.64ubuntu1) ...
Traitement des actions différées (« triggers ») pour gnome-menus (3.36.0-1ubuntu1) ...
Traitement des actions différées (« triggers ») pour systemd (245.4-4ubuntu3) ...
Traitement des actions différées (« triggers ») pour man-db (2.9.1-1) ...
Traitement des actions différées (« triggers ») pour desktop-file-utils (0.24-1ubuntu2) ...
a@a-usb:~$

Voici le premier boot-info produit (J'ai accepté l'installation du package  RAID) ==>   https://paste.ubuntu.com/p/zbSGc3kw9J/
(Lecture en cours)

1) Le contenu de la partition de boot est de nouveau visible.

sdb2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/ubuntu/grub.cfg /EFI/refind/refind.conf 
                       /efi/Boot/bootx64.efi /efi/Boot/fbx64.efi 
                       /efi/Boot/grubx64.efi /efi/Boot/mmx64.efi 
                       /efi/refind/MokManager.efi /efi/refind/bootmgfw.efi 
                       /efi/refind/bootmgr.efi /efi/refind/bootx64.efi 
                       /efi/refind/fbx64.efi /efi/refind/fwupx64.efi 
                       /efi/refind/grubx64.efi /efi/refind/memtest.efi 
                       /efi/refind/mmx64.efi /efi/refind/refind_x64.efi 
                       /efi/refind/shimx64.efi /efi/sg2d/sg2dx64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg 
                       /efi/Microsoft/Boot/MokManager.efi 
                       /efi/Microsoft/Boot/REFbkpbootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi 
                       /efi/Microsoft/Boot/fbx64.efi 
                       /efi/Microsoft/Boot/fwupx64.efi 
                       /efi/Microsoft/Boot/grubx64.efi 
                       /efi/Microsoft/Boot/memtest.efi 
                       /efi/Microsoft/Boot/mmx64.efi 
                       /efi/Microsoft/Boot/refind_x64.efi 
                       /efi/Microsoft/Boot/shimx64.efi 
                       /efi/Windows10/Boot/bootmgfw.efi 
                       /efi/Windows10/Boot/bootmgr.efi 
                       /efi/Windows10/Boot/memtest.efi 
                       /efi/refind/drivers_x64/ext4_x64.efi 
                       /efi/ubuntu/wubildr/grubx64.efi

2) Fichiers de boot plus en doubles et pas réservés au grub
- Il n'y a réellement pas de grub dans la partition SDB27 (Ce fut une installation avec la commande ubiquity -b)
- Il n'y a réellement pas de grub refind dans la partition SDB28. (Pas obligatoire si on ne veut pas d'options spéciales)
Ce sont des partitions de boot permettant de booter des ubuntu installés sur disque externe  formaté "GPT" dont le bios EFI ne prend pas en charge le boot EFI. il faut qu'il soit formaté MS-DOS pour  permettre uniquement  le boot avec le fichier /EFI/BOOT/BOOTX64.EFI

sdb5: __________________________________________________________________________

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


sdb9: __________________________________________________________________________

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

sdb27: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        /refind_linux.conf

db28: _________________________________________________________________________
    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        /grub/grub.cfg

3) Le fichier de configuration du logiciel refind est bien listé dans la partition de boot.  (Avec tous  ses commentaires).

========================= sda4/EFI/refind/refind.conf: =========================

--------------------------------------------------------------------------------
#
timeout 30
default_selection 1 
" etc................................................

4) Les fichiers de paramétrages de refind et ses fichiers utilisables pour booter sont bien  listés pour chaque partition y compris celle de boot.
C'est une réussite.

========================= sda8/boot/refind_linux.conf: =========================

--------------------------------------------------------------------------------
"Boot with standard options"   "root=UUID=fef39976-0beb-4511-9b7c-db63874ffd8f ro fsck.mode=force fsck.repair=yes "
"Boot with recovery options"   "recovery nomodeset ro root=UUID=fef39976-0beb-4511-9b7c-db63874ffd8f"
"Boot avec reparation de root" "root=UUID=fef39976-0beb-4511-9b7c-db63874ffd8f  ro quiet splash fsck.mode=force fsck.repair=yes vt.handoff=7"

--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

 250.392856598 = 268.857282560  boot/grub/grub.cfg                             1
 253.560520172 = 272.258535424  boot/vmlinuz-4.15.0-70-generic                 2
 258.001930237 = 277.027463168  boot/vmlinuz-4.15.0-72-generic                 2
 258.001930237 = 277.027463168  vmlinuz                                        2
 253.560520172 = 272.258535424  vmlinuz.old                                    2
 255.695167542 = 274.550595584  boot/initrd.img-4.15.0-70-generic              7
 255.159702301 = 273.975644160  boot/initrd.img-4.15.0-72-generic              4
 255.159702301 = 273.975644160  initrd.img                                     4
 255.695167542 = 274.550595584  initrd.img.old                                 7


.......................................................................

========================= sdb5/boot/refind_linux.conf: =========================

--------------------------------------------------------------------------------
"Boot with standard options"  "root=UUID=299d7644-ae32-43ff-b3db-16987328b52f ro quiet splash vt.handoff=7"
"Boot to single-user mode"    "root=UUID=299d7644-ae32-43ff-b3db-16987328b52f ro quiet splash vt.handoff=7 single"
"Boot with minimal options"   "ro root=UUID=299d7644-ae32-43ff-b3db-16987328b52f"
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

  56.681392670 = 60.861181952   boot/grub/grub.cfg                             1
  72.283081055 = 77.613367296   boot/vmlinuz-4.4.0-176-generic                 1
  72.283081055 = 77.613367296   vmlinuz                                        1
  72.283081055 = 77.613367296   vmlinuz.old                                    1
  74.948238373 = 80.475058176   boot/initrd.img-4.4.0-176-generic              6
  74.948238373 = 80.475058176   initrd.img                                     6
  74.948238373 = 80.475058176   initrd.img.old                                 6


..........................................................
========================== sdb27/refind_linux.conf: ===========================

--------------------------------------------------------------------------------
     "Boot standard"   "rootdelay=80 root=UUID=8f20d237-5d3a-4b02-b275-973ee14f34be   ro "  
     "Boot RECOVERY"   "rootdelay=80 ro recovery nomodeset root=UUID=8f20d237-5d3a-4b02-b275-973ee14f34be" 
     "Boot with minimal options"   "rootdelay=80 ro root=UUID=8f20d237-5d3a-4b02-b275-973ee14f34be"
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

 922.718864441 = 990.761836544  vmlinuz                                        2
 923.153316498 = 991.228325888  vmlinuz-5.4.0-14-generic                       2
 922.754878998 = 990.800506880  vmlinuz-5.4.0-21-generic                       2
 922.718864441 = 990.761836544  vmlinuz-5.4.0-26-generic                       2
 922.754878998 = 990.800506880  vmlinuz.old                                    2
 923.348628998 = 991.438041088  initrd.img                                     6
 923.285804749 = 991.370584064  initrd.img-5.4.0-14-generic                    1
 923.434566498 = 991.530315776  initrd.img-5.4.0-21-generic                    5
 923.348628998 = 991.438041088  initrd.img-5.4.0-26-generic                    6
 923.434566498 = 991.530315776  initrd.img.old                                 5

5) On trouve la référence du logiciel utilisé (Cela reste malgré tout assez loin dans le listing)

=================== log of boot-info 20200424_1223 ===================
boot-info version : 4ppa88
boot-sav version : 4ppa88
boot-sav-extra version : 4ppa88
glade2script-python3 version : 3.2.4~ppa21

6) On  verra le montage des raids et la tentative de vérifier si ubuntu y était installé.
7) N'a pas détecté que la partition de boot était loin du début du disque !!!!!
8)  La commande de lancement n'a pas dit que ibus n'appartenant pas root !!!!!!

En résumé, je n'ai rien vu qui ne convenait pas mais je ne dispose pas de NVME.


Je  ne regarderais rien pour O.S. unstaller. Je vais maintenant voir ce que va donner boot-repair (d'abord en session installée).

Début de boot-repair.   J'ai ce message "Les paquets [dmraid] pourraient interférer avec MDraid. Voulez-vous les supprimer ?"
Je ne sais vraiment pas quoi répondre: J'ai donc choisis non!  Je suis preneur de conseils  pour savoir si la réponse oui était préférable!
    ====> Finalement j'ai répondu OUI pour voir,   et cela a marché mais  le message suivant fut
            "This will install the [mdadm] packages. Do you want to continue?" Là aussi, j'ai répondu OUI.
  ==> Donc ce n'est pas à supprimer lorsqu'il y a réellement du RAID.

A) Prenière grille d'alerte ( icone cerce  rouge avec un point d'exclamation  )
  => La partition sdb16 () est presque pleine. Cela peut l'empêcher de démarrer. Veuillez utiliser l'explorateur de fichiers qui vient de s'ouvrir afin de supprimer (ou transférer vers un autre disque) les fichiers inutiles. Fermez cette fenêtre quand vous avez fini.
    L'explorateur de fichier s'est bien ouvert   dans le bureau
  => proposition d'amélioration si cela est  possible, la faire ouvrir sur /mnt/boot-sav/sdb16 ou alors faire en sorte de dire qu'il faut aller dans le répertoire /mnt/boot-sav/sdb16 car ce n'est évident de le deviner .
     Après avoir vérifié le problème. Je choisis de ne pas en tenir compte. Mais
   
B) Seconde ligne qui semble empécher de continuer
      La partition sdb16 () est encore pleine. Cela peut l'empêcher de démarrer (par exemple vous pourriez avoir une erreur du gestionnaire d'énergie).
    Je n'ai que le choix de valider.   OUF! Cela passe bien.

C) Je reçois consigne des commandes à effectuer.

sudo dpkg --configure -a
sudo apt-get install -fy
sudo apt-get install -y mdadm
sudo mdadm --assemble --scan
sudo apt-get install -y dmraid
sudo dmraid -ay
sudo apt-get install -y lvm2
sudo apt-get install -y grub-efi-amd64-signed shim-signed linux-headers-generic

La commande dpkg n'est plus en double.
C'est à ce niveau que j'avais choisis d'abandonner. et que le message d'alerte est vide: Je fais de nouveau.
La réinstallation de GRUB a été annulée.
sda11 est maintenant sans GRUB.

J'ai eu notification de ce qui va se passer.   Donc problème bien rectifié

Finalement, la dernière fois, j'ai eu de la chance de booter par refind.


D) Donc je vais recommencer pour la seconde étape
    ==> J'ai donc supprimé le répertoire defragm  (J'avais certainement oublié de le faire). Je n'ai pas eu le droit à un rappel à l'ordre!

   Je sais que boot-repair n'est pas certifié pour réparer un O.S. qui fonctionne  cependant il me semble qu'il ne devrait pas empêcher de faire une modification de la partiton de boot: Voir cet écran de capture
1587737924.png
je ne comprends pas trop pourquoi il a choisit cette partition pluôt que celle qui était prévue dans le /etc/fstab et qu'il a déjà commentée

a@a-usb:~$ cat /etc/fstab | grep boot
# /boot was on /dev/sda21 during installation
#UUID=ebcd6907-0c82-48c5-8ff6-605d7e540110 /boot           ext4    defaults        0       2
# /boot/efi was on /dev/sda2 during installation
#UUID=A3C1-2EA7  /boot/efi       vfat    umask=0077      0       1
UUID=2edfce93-6760-4713-a460-a0dc727cbd66	/boot	ext4	defaults	02
UUID=6275-73D4	/boot/efi	vfat	defaults	0	1
a@a-usb:~$ 
a@a-usb:~$ sudo blkid | grep 2edfce93-6760-4713-a460-a0dc727cbd66 
/dev/sdb27: LABEL="Boot2004extSLIM" UUID="2edfce93-6760-4713-a460-a0dc727cbd66" TYPE="ext4" PARTLABEL="Boot2004extSLIM" PARTUUID="33bd7746-2faf-4a9f-ba31-12430fe6bfae"
a@a-usb:~$

DONC maintenant avec le support d'installation, je peux choisir  la partition de boot et lancer la seconde partie qui est cette commande

sudo chroot "/media/ubuntu/8f20d237-5d3a-4b02-b275-973ee14f34be" apt-get install -y grub-efi-amd64-signed shim-signed linux-headers-generic

===> On voit que la partie duplication est bien corrigée.
Cependant, le même problème. Certainement lié à la version 20.04 et pas à  boot-repair
ubuntu@ubuntu:~$ sudo chroot "/media/ubuntu/8f20d237-5d3a-4b02-b275-973ee14f34be" apt-get install -y grub-efi-amd64-signed shim-signed linux-headers-generic
Reading package lists... Done
Building dependency tree       
Reading state information... Done
linux-headers-generic is already the newest version (5.4.0.26.32).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
shim-signed : Depends: shim (= 15+1533136590.3beb971-0ubuntu1) but 15+1552672080.a4a1fbe-0ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.
ubuntu@ubuntu:~$

Que je tente de rectifier avec ceci
sudo chroot "/media/ubuntu/8f20d237-5d3a-4b02-b275-973ee14f34be" apt-get install -y grub-efi-amd64  shim  linux-headers-generic
===> Compte-rendu du boot-repair   https://paste.ubuntu.com/p/rVrXjr65fZ/
        Je pense qu'on ne verra rien de particulier dans la partie réparation .

1) Dès le début, on connaît la version utilisée

========================================================================
=================== log of boot-repair 20200424_1353 ===================
boot-repair version : 4ppa88
boot-sav version : 4ppa88
boot-sav-extra version : 4ppa88
glade2script-python3 version : 3.2.4~ppa21

2)  J'ai trouvé la réparation demandée

=================== User settings
The settings chosen by the user will purge (in order to sign-grub) and reinstall the grub-efi-amd64-signed of sda11, using the following options:        sdb27/boot, sda1/boot/efi,
Additional repair will be performed:     use-standard-efi-file

3) J'ai aussi trouvé  son exécution principale

chroot /media/ubuntu/8f20d237-5d3a-4b02-b275-973ee14f34be uname -r
Kernel: 5.4.0-21-generic

Reinstall the grub-efi-amd64-signed shim-signed linux-headers-generic of sda11
Installing for x86_64-efi platform.
Installation finished. No error reported.
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
chroot /media/ubuntu/8f20d237-5d3a-4b02-b275-973ee14f34be efibootmgr -v
BootCurrent: 0007
Timeout: 0 seconds
BootOrder: 0001,0007,0000,0003,0005,2003,2001,2002
Boot0000* Windows Boot Manager	HD(2,GPT,59f84639-c0fa-47f6-a197-022d45750be8,0x8800,0xfd000)/File(EFIMicrosoftBootbootmgfw.efi)RC
Boot0001* ubuntu	HD(1,GPT,249e9562-59f4-4b4d-b646-36590e8a077f,0x800,0x1a000)/File(EFIubuntugrubx64.efi)
chroot /media/ubuntu/8f20d237-5d3a-4b02-b275-973ee14f34be update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-26-generic
Found initrd image: /boot/initrd.img-5.4.0-26-generic
Found linux image: /boot/vmlinuz-5.4.0-21-generic
Found initrd image: /boot/initrd.img-5.4.0-21-generic
Found linux image: /boot/vmlinuz-5.4.0-14-generic
Found initrd image: /boot/initrd.img-5.4.0-14-generic
Found Ubuntu 18.04.3 LTS (18.04) on /dev/sda8
Found Ubuntu 12.04.5 LTS (12.04) on /dev/sdb11
Found Ubuntu 18.04.4 LTS (18.04) on /dev/sdb13
Found Windows Boot Manager on /dev/sdb2@/efi/Microsoft/Boot/bootmgfw.efi
Found Ubuntu 18.04.3 LTS (18.04) on /dev/sdb20
Found Ubuntu 20.04 LTS (20.04) on /dev/sdb23
Found Ubuntu 16.04.6 LTS (16.04) on /dev/sdb5
Found Ubuntu 18.04.4 LTS (18.04) on /dev/sdb6
Found Ubuntu 19.10 (19.10) on /dev/sdb9
Adding boot menu entry for UEFI Firmware Settings

4) Ainsi que l'état après réparation

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

Tout me semble correct.



EXERCICE SUPLEMENTAIRE
A)   Téléchargement de la version 20.04-lts
         Installation  par la solution "installer ubuntu à coté des autres systèmes d'exploitations".
               Je stoppe la première installation car il n'a pas utilisé le disque que  j'espérais.
               La seconde installation se plante lamentablement  pendant la copie sans raison évidente. Il avait cependant choisi le bon endroit.
      Installation par la solution "autre chose" en imposant l'endroit.
B) Continuer à tester

    sudo add-apt-repository -y ppa:yannubuntu/boot-repair-dev && sudo apt update && sudo apt install -y boot-repair boot-info

    - Lancement de boot-info.   Mais la qualité du réseau ne permet pas d'expédier le pastbin.
    - Lancement de boot-repair. Mais vu la qualité du réseau, il est possible que le résultat de la réparation soit impacté. En tous cas, la réinstallation de la structure de boot se passe vraiment mal.

ubuntu@ubuntu:~$ sudo chroot "/target" apt-get install -y grub-efi-amd64-signed
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
E: Impossible de trouver le paquet grub-efi-amd64-signed
ubuntu@ubuntu:~$ 

Dernière modification par geole (Le 25/04/2020, à 18:50)


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

Hors ligne

#1949 Le 25/04/2020, à 21:07

geole

Re : [Réparateur de démarrage] Développement du logiciel Boot-Repair

Bonsoir
Avec les ennuis de connectique,  je ne suis retrouvé avec un boot-repair voulant installer (à raison ? à tort?) en mode légacy. Mais pas de  partitions BIOS-BOOT dans le  disque, cela n'a pas été signalé,  mais tant bien que mal visible dans la trace. C'était une  attente sans fin   (probablement d'une réponse) J'ai fini par tuer et rebooter.

La commande lancée

sudo add-apt-repository -y ppa:yannubuntu/boot-repair-dev && sudo apt update && sudo apt install -y boot-repair boot-info

J'ai alors choisi de réparer de nouveau en ajoutant l'option "dernier kernel"
    Un premier conseil de finir l'installation a montré qu'on était en type de réparation legacy.   La suite a  été plus classique en demandant  pas mal de suppressions

Puis cette commande

sudo chroot "/mnt/boot-sav/sda8" apt-get install -y grub-efi-amd64-signed shim-signed linux-headers-generic shim-signed linux-headers-generic

Cette partie avait fait l'objet d'une amélioration pour éliminer les doublons.

  Mais, il  n'y a plus de problème d'exécution avec la version LTS.     Voici le rapport du boot-repair https://paste.ubuntu.com/p/dK7sQdt4Gb/
Va rester à vérifier que cela reboote bien et qu'on peut faire la réparation sans réinstaller le noyau.   

Les problèmes spécifiques de connectique.
     Pas ce connexion par câble éthernet
    Connexion habituelle en wifi par le câble USB d'un ipad
    Le constat fait après plusieurs tentatives de boot avec ce support d'installation de la version 20.04
        Si je choisis la langue française puis "essayer avant d'installer", Le logiciel est alors incapable de détecter le wifi usb de l'ipad malgré un temps conséquent d'attente. Il se rabat alors sur le wifi de proximité donc freewifi.   Il a conservé l'habitude  de faire des sessions de quelques minutes  ce qui entraîne des reconnexions fréquentes pas adaptées au chargement de gros paquets.
     Le palliatif est alors de faire la connexion avant de choisir "essayer avant d'installer"  et ne pas oublier  de faire "setkkb,qp fr"  afin de ne pas avoir de problèmes en frappant le mot de passe de connexion.

Donc essai de réparation sans réinstaller le noyau.
Voici le premier paquet de commandes proposées

sudo chroot "/mnt/boot-sav/sda8" dpkg --configure -a
sudo chroot "/mnt/boot-sav/sda8" apt-get install -fy
sudo chroot "/mnt/boot-sav/sda8" apt-get install -y mdadm
sudo chroot "/mnt/boot-sav/sda8" mdadm --assemble --scan
sudo chroot "/mnt/boot-sav/sda8" apt-get install -y dmraid
sudo chroot "/mnt/boot-sav/sda8" dmraid -ay
sudo chroot "/mnt/boot-sav/sda8" apt-get install -y lvm2
sudo chroot "/mnt/boot-sav/sda8" apt-get purge -y grub*-common shim-signed

Puis le second

sudo chroot "/mnt/boot-sav/sda8" apt-get install -y grub-efi-amd64-signed shim-signed linux-headers-generic

Ainsi que le compte-rendu final https://paste.ubuntu.com/p/Wfz2WRxNZD/

Pas de problème pour le reboot. Un grand choix proposé. Je choisis le premier  de la liste (UBUNTU 20.04 LTS) .  Constat fait que le wifi USB n'est pas opérationnel.  Cela ne va pas être la joie avec FREEWIFI
On  voit que la partition de boot est bien activée

a@a:~$ df -h
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
udev               2,9G       0  2,9G   0% /dev
tmpfs              584M    2,0M  582M   1% /run
/dev/sda8           20G    6,0G   13G  33% /
tmpfs              2,9G     38M  2,9G   2% /dev/shm
tmpfs              5,0M    4,0K  5,0M   1% /run/lock
tmpfs              2,9G       0  2,9G   0% /sys/fs/cgroup
/dev/sdb30         969M     77M  826M   9% /boot
/dev/sdb2          505M    407M   99M  81% /boot/efi
tmpfs              584M    112K  584M   1% /run/user/1000
/dev/loop0          28M     28M     0 100% /snap/snapd/7264
/dev/loop1          55M     55M     0 100% /snap/core18/1705
/dev/loop2         241M    241M     0 100% /snap/gnome-3-34-1804/24
/dev/loop3          63M     63M     0 100% /snap/gtk-common-themes/1506
/dev/loop4          50M     50M     0 100% /snap/snap-store/433
a@a:~$ 

Dernière modification par geole (Le 26/04/2020, à 11:05)


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

Hors ligne

#1950 Le 26/04/2020, à 13:45

YannUbuntu

Re : [Réparateur de démarrage] Développement du logiciel Boot-Repair

bonjour

geole a écrit :

ubuntu@ubuntu:~$ sudo chroot "/target" apt-get install -y grub-efi-amd64-signed
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
E: Impossible de trouver le paquet grub-efi-amd64-signed
ubuntu@ubuntu:~$ 

utiliser boot-repair en session-live sans avoir rebooté immediatement après install, ce n'est pas courant :-)
L'impossibilité de trouver le paquet depuis le chroot vient peut-etre du fait que l'installateur ubuntu est toujours en chroot dessus.
Pour l'instant, je te propose de bloquer l'utilisation de boot-repair dans ce cas (message 'Merci de rebooter et utiliser boot-repair dans une nouvelle session live'), sauf si mode --debug.

Pour le doublon ca sera resolu dans 4ppa93.


à consulter/améliorer: Guide du Débutant, Logiciels, Ecole, Travail, Maison

Hors ligne