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.

#176 Le 07/05/2020, à 17:31

YannUbuntu

Re : [TUTORIEL] Créer un rapport Boot-Info facilement

bonjour ikewdu,
merci pour ces remarques, je vais y répondre ICI (fil de developpement de boot-repair/boot-info).


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

Hors ligne

#177 Le 17/10/2020, à 08:33

Jonoueinn

Re : [TUTORIEL] Créer un rapport Boot-Info facilement

Bonjour,

j'ai tenté d'installer boot-repair via la commande après un échec d'installation de Ubuntu 20.04.
La commande me dit :
Cannot add PPA: 'PPA: yannubuntu/ubuntu/ppa'.
ERROR: 'yannubuntu' user or team does not exist

Comment puis-je procéder ?

Hors ligne

#178 Le 17/10/2020, à 09:46

geole

Re : [TUTORIEL] Créer un rapport Boot-Info facilement

Bonjour
Peux-tu retenter l'installation de boot-info  en utilisant  ton support d'installation.

Si le problème persiste, ouvre une nouvelle discussion voir ce lien https://doc.ubuntu-fr.org/tutoriel/howt … discussion

en donnant tous les retours de ces commandes

cat /etc/lsb-release
sudo add-apt-repository -y ppa:yannubuntu/boot-repair
sudo apt update 
sudo apt install -y boot-info
boot-info

Dernière modification par geole (Le 17/10/2020, à 09:47)


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

En ligne

#179 Le 16/01/2021, à 10:17

moko138

Re : [TUTORIEL] Créer un rapport Boot-Info facilement

Bonjour,
20.10 Kubuntu EFI, affichage disparu, semble-t-il depuis le passage du 5.8.0-33 au 0-36.
Après usage de boot-repair, on me pose la question
"Dans le rapport il y a des instructions. Est-ce qu'elles me concernent, et si oui dois-je m'en occuper avant ou après avoir reboot ?"

Votre aide est donc bienvenue en ./viewtopic.php?pid=22402787#p22402787
Merci !  smile

EDIT :
message devenu sans objet après écrasement de 20.10 par 20.04.

Dernière modification par moko138 (Le 16/01/2021, à 10:59)


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

Hors ligne

#180 Le 16/01/2021, à 12:42

geole

Re : [TUTORIEL] Créer un rapport Boot-Info facilement

Bonjour
Boot-info n'est actuellement pas encore disponible pour la version 21.04


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

En ligne

#181 Le 16/01/2021, à 13:21

moko138

Re : [TUTORIEL] Créer un rapport Boot-Info facilement

Je ne comprends pas pourquoi, sauf lapsus, tu parles de "21.04".


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

Hors ligne

#182 Le 16/01/2021, à 14:11

geole

Re : [TUTORIEL] Créer un rapport Boot-Info facilement

J'espère que YannUbuntu lira ce message et fera le nécessaire car le forum  est aussi utilisé pour la future release qui va sortir dans peu de temps  et qui va certainement créer pas mal de surprises https://forum.ubuntu-fr.org/viewtopic.php?id=2060928

a@a:~$ 
a@a:~$ sudo add-apt-repository -y ppa:yannubuntu/boot-repair && sudo apt update && sudo apt install -y boot-info && boot-info
[sudo] Mot de passe de a : 
Dépôt : « deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu/ hirsute main »
Description :
Simple tool to repair frequent boot problems.

Website: https://sourceforge.net/p/boot-repair/home
Plus d'informations : https://launchpad.net/~yannubuntu/+archive/ubuntu/boot-repair
Ajout du dépôt.
Adding deb entry to /etc/apt/sources.list.d/yannubuntu-ubuntu-boot-repair-hirsute.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/yannubuntu-ubuntu-boot-repair-hirsute.list
Adding key to /etc/apt/trusted.gpg.d/yannubuntu-ubuntu-boot-repair.gpg with fingerprint 3C48D16124B50277AF10D27F32B18A1260D8DA0B
Réception de :1 http://fr.archive.ubuntu.com/ubuntu hirsute InRelease [269 kB]
Ign :2 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu hirsute InRelease                                              
Err :3 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu hirsute Release                                                
  404  Not Found [IP : 2001:67c:1560:8008::19 80]
Atteint :4 http://security.ubuntu.com/ubuntu hirsute-security InRelease                  
Atteint :5 http://fr.archive.ubuntu.com/ubuntu hirsute-updates InRelease
Atteint :6 http://fr.archive.ubuntu.com/ubuntu hirsute-backports InRelease
Réception de :7 http://fr.archive.ubuntu.com/ubuntu hirsute/main i386 Packages [1024 kB]
Réception de :8 http://fr.archive.ubuntu.com/ubuntu hirsute/main amd64 Packages [1388 kB]
Réception de :9 http://fr.archive.ubuntu.com/ubuntu hirsute/main amd64 DEP-11 Metadata [470 kB]
Réception de :10 http://fr.archive.ubuntu.com/ubuntu hirsute/main DEP-11 48x48 Icons [106 kB]
Réception de :11 http://fr.archive.ubuntu.com/ubuntu hirsute/main DEP-11 64x64 Icons [169 kB]
Réception de :12 http://fr.archive.ubuntu.com/ubuntu hirsute/main amd64 c-n-f Metadata [29,6 kB]
Réception de :13 http://fr.archive.ubuntu.com/ubuntu hirsute/universe amd64 Packages [13,0 MB]
Réception de :14 http://fr.archive.ubuntu.com/ubuntu hirsute/universe i386 Packages [7498 kB]                                                                     
Réception de :15 http://fr.archive.ubuntu.com/ubuntu hirsute/universe amd64 DEP-11 Metadata [3838 kB]                                                             
Réception de :16 http://fr.archive.ubuntu.com/ubuntu hirsute/universe DEP-11 48x48 Icons [3263 kB]                                                                
Réception de :17 http://fr.archive.ubuntu.com/ubuntu hirsute/universe DEP-11 64x64 Icons [8037 kB]                                                                
Réception de :18 http://fr.archive.ubuntu.com/ubuntu hirsute/universe amd64 c-n-f Metadata [276 kB]                                                                
Réception de :19 http://fr.archive.ubuntu.com/ubuntu hirsute/multiverse amd64 DEP-11 Metadata [47,1 kB]                                                            
Lecture des listes de paquets... Fait                                                                                                                              
E: Le dépôt http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu hirsute Release n'a pas de fichier Release.
N: Les mises à jour depuis un tel dépôt ne peuvent s'effectuer de manière sécurisée, et sont donc désactivées par défaut.
N: Voir les pages de manuel d'apt-secure(8) pour la création des dépôts et les détails de configuration d'un utilisateur.
Atteint :1 http://fr.archive.ubuntu.com/ubuntu hirsute InRelease
Ign :2 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu hirsute InRelease                 
Atteint :3 http://fr.archive.ubuntu.com/ubuntu hirsute-updates InRelease                        
Atteint :4 http://security.ubuntu.com/ubuntu hirsute-security InRelease                       
Atteint :5 http://fr.archive.ubuntu.com/ubuntu hirsute-backports InRelease                    
Err :6 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu hirsute Release                 
  404  Not Found [IP : 2001:67c:1560:8008::19 80]
Lecture des listes de paquets... Fait
E: Le dépôt http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu hirsute Release n'a pas de fichier Release.
N: Les mises à jour depuis un tel dépôt ne peuvent s'effectuer de manière sécurisée, et sont donc désactivées par défaut.
N: Voir les pages de manuel d'apt-secure(8) pour la création des dépôts et les détails de configuration d'un utilisateur.
a@a:~$

Dernière modification par geole (Le 16/01/2021, à 14:25)


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

En ligne

#183 Le 05/05/2021, à 21:40

Arbiel

Re : [TUTORIEL] Créer un rapport Boot-Info facilement

Bonsoir

Mon intervention est peut-être incongrue car je n'ai pas lu l'intégralité de ce fil.

Pour essayer de comprendre l'organisation de l'installation en UEFI, j'ai demandé le rapport de démarrage de ma configuration. Il se trouve ici, et en voici le contenu

boot-info-4ppa130                                              [20210505_1841]

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

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

mmcblk0p1: _____________________________________________________________________

    File system:       
    Boot sector type:  FAT32
    Boot sector info: 

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       ext2
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        /grub/grub.cfg /grub/custom.cfg /grub/i386-pc/core.img


================================ 3 OS detected =================================

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.2 LTS CurrentSession on mapper/philippe-rhizot
OS#2:   Linux Mint 20.1 Ulyssa (20.1) on mapper/philippe-grec
OS#3:   Ubuntu 20.04.2 LTS on mapper/philippe-secours

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

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/vmlinuz-5.8.0-50-generic root=UUID=5ab1950c-cd24-42d3-a4a6-256985877370 ro quiet splash vt.handoff=7


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

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

efibootmgr -v
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,2001,2002,2003
Boot0001* ubuntu	HD(1,GPT,b06b8a18-8100-4ba6-a105-4ad74b6b611d,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot2003* EFI Network	RC

2895d47544fd587b26c7e29be1295c27   sda1/BOOT/fbx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sda1/BOOT/mmx64.efi
957dc7e5f72c1d7393bf7850df5db2db   sda1/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sda1/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f   sda1/ubuntu/shimx64.efi
78415fb8fb9b909f8029858113f1335f   sda1/BOOT/BOOTX64.efi


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

Disks info: ____________________________________________________________________

sda	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
sdb	: notGPT,	no-BIOSboot,	has-noESP, 	usb-disk,	not-mmc, no-os,	2048 sectors * 512 bytes
mmcblk0	: notGPT,	no-BIOSboot,	has---ESP, 	not-usb,	mmc-disk, no-os,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

mapper/philippe-rhizot	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	not-far
mapper/philippe-ophelia	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
mapper/philippe-usr	: no-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	no-grubenv,	update-grub,	not-far
sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
mapper/philippe-secours	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	not-far
mapper/philippe-xavier	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	grubenv-ok,	noupdategrub,	not-far
mapper/philippe-gumnon	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
mapper/philippe-psilos	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
mapper/philippe-eidonta	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
mapper/philippe-phortos	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
mapper/philippe-biblioi	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
mapper/philippe-melopoi	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
mapper/philippe-grec	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	not-far
mapper/philippe-archos	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	grubenv-ok,	noupdategrub,	not-far
mmcblk0p1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far

Partitions info (2/3): _________________________________________________________

mapper/philippe-rhizot	: isnotESP,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
mapper/philippe-ophelia	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
mapper/philippe-usr	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
mapper/philippe-secours	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
mapper/philippe-xavier	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
mapper/philippe-gumnon	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
mapper/philippe-psilos	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
mapper/philippe-eidonta	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
mapper/philippe-phortos	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
mapper/philippe-biblioi	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
mapper/philippe-melopoi	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
mapper/philippe-grec	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
mapper/philippe-archos	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
mmcblk0p1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

mapper/philippe-rhizot	: not-sepboot,	with-boot,	fstab-has-goodBOOT,	not-sep-usr,	with--usr,	fstab-has-goodUSR,	std-grub.d,	sda
mapper/philippe-ophelia	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
mapper/philippe-usr	: maybesepboot,	no-boot,	part-has-no-fstab,	is-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
mapper/philippe-secours	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
mapper/philippe-xavier	: is-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
mapper/philippe-gumnon	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
mapper/philippe-psilos	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
mapper/philippe-eidonta	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
mapper/philippe-phortos	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	with--usr,	part-has-no-fstab,	std-grub.d,	sda
mapper/philippe-biblioi	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
mapper/philippe-melopoi	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
mapper/philippe-grec	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
mapper/philippe-archos	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sdb1	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb
mmcblk0p1	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	mmcblk0

fdisk -l (filtered): ___________________________________________________________

Disk sda: 447.13 GiB, 480103981056 bytes, 937703088 sectors
Disk identifier: 56E37A50-56BA-4F34-92CA-8847C65D92A9
        Start       End   Sectors  Size Type
sda1     2048   1050623   1048576  512M EFI System
sda2  1050624 630196223 629145600  300G Linux LVM
Disk mmcblk0: 14.44 GiB, 15489564672 bytes, 30253056 sectors
Disk identifier: 0xb2e0b87f
          Boot   Start      End  Sectors  Size Id Type
mmcblk0p1 *    1050624 30253055 29202432 13.9G  c W95 FAT32 (LBA)
Disk mapper/philippe-secours: 14 GiB, 15032385536 bytes, 29360128 sectors
Disk mapper/philippe-xavier: 1 GiB, 1073741824 bytes, 2097152 sectors
Disk mapper/philippe-usr: 12 GiB, 12884901888 bytes, 25165824 sectors
Disk mapper/philippe-var_l: 12 GiB, 12884901888 bytes, 25165824 sectors
Disk mapper/philippe-ophelia_l: 15 GiB, 16106127360 bytes, 31457280 sectors
Disk mapper/philippe-rhizot_l: 15 GiB, 16106127360 bytes, 31457280 sectors
Disk mapper/philippe-gumnon: 90 GiB, 96636764160 bytes, 188743680 sectors
Disk mapper/philippe-psilos: 9 GiB, 9663676416 bytes, 18874368 sectors
Disk mapper/philippe-eidonta: 40 GiB, 42949672960 bytes, 83886080 sectors
Disk mapper/philippe-phortos: 10 GiB, 10737418240 bytes, 20971520 sectors
Disk mapper/philippe-biblioi: 4 GiB, 4294967296 bytes, 8388608 sectors
Disk mapper/philippe-melopoi: 15 GiB, 16106127360 bytes, 31457280 sectors
Disk mapper/philippe-grec: 14 GiB, 15032385536 bytes, 29360128 sectors
Disk mapper/philippe-archos: 1 GiB, 1073741824 bytes, 2097152 sectors
Disk mapper/philippe-odos_l: 15 GiB, 16106127360 bytes, 31457280 sectors
Disk sdb: 496 MiB, 520093696 bytes, 1015808 sectors
Disk identifier: 0xbd436988
      Boot Start     End Sectors  Size Id Type
sdb1        2048 1015807 1013760  495M 83 Linux
Disk mapper/philippe-rhizot: 14.101 GiB, 16089350144 bytes, 31424512 sectors
Disk mapper/philippe-ophelia: 14.101 GiB, 16089350144 bytes, 31424512 sectors

parted -lm (filtered): _________________________________________________________

sda:480GB:scsi:512:512:gpt:ATA LDLC F6+M.2 480:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:323GB:322GB::philippe:lvm;
sdb:520MB:scsi:512:512:msdos:CREATIVE MuVo V200:;
1:1049kB:520MB:519MB:ext2::;
mapper/philippe-ophelia:16.1GB:dm:512:512:loop:Linux device-mapper (crypt):;
1:0.00B:16.1GB:16.1GB:ext4::;
mapper/philippe-rhizot:16.1GB:dm:512:512:loop:Linux device-mapper (crypt):;
1:0.00B:16.1GB:16.1GB:ext4::;
mapper/philippe-grec:15.0GB:dm:512:512:loop:Linux device-mapper (linear):;
1:0.00B:15.0GB:15.0GB:ext4::;
mapper/philippe-eidonta:42.9GB:dm:512:512:loop:Linux device-mapper (linear):;
1:0.00B:42.9GB:42.9GB:ext2::;
mapper/philippe-melopoi:16.1GB:dm:512:512:loop:Linux device-mapper (linear):;
1:0.00B:16.1GB:16.1GB:ext2::;
mapper/philippe-phortos:10.7GB:dm:512:512:loop:Linux device-mapper (linear):;
1:0.00B:10.7GB:10.7GB:ext2::;
mapper/philippe-biblioi:4295MB:dm:512:512:loop:Linux device-mapper (linear):;
1:0.00B:4295MB:4295MB:ext2::;
mapper/philippe-psilos:9664MB:dm:512:512:loop:Linux device-mapper (linear):;
1:0.00B:9664MB:9664MB:ext4::;
mapper/philippe-gumnon:96.6GB:dm:512:512:loop:Linux device-mapper (linear):;
1:0.00B:96.6GB:96.6GB:ext2::;
mapper/philippe-archos:1074MB:dm:512:512:loop:Linux device-mapper (linear):;
1:0.00B:1074MB:1074MB:ext2::;
mapper/philippe-odos_l:16.1GB:dm:512:512:unknown:Linux device-mapper (linear):;
mapper/philippe-usr:12.9GB:dm:512:512:loop:Linux device-mapper (linear):;
1:0.00B:12.9GB:12.9GB:ext4::;
mapper/philippe-rhizot_l:16.1GB:dm:512:512:unknown:Linux device-mapper (linear):;
mapper/philippe-xavier:1074MB:dm:512:512:loop:Linux device-mapper (linear):;
1:0.00B:1074MB:1074MB:ext2::;
mapper/philippe-var_l:12.9GB:dm:512:512:unknown:Linux device-mapper (linear):;
mapper/philippe-ophelia_l:16.1GB:dm:512:512:unknown:Linux device-mapper (linear):;
mapper/philippe-secours:15.0GB:dm:512:512:loop:Linux device-mapper (linear):;
1:0.00B:15.0GB:15.0GB:ext4::;
mmcblk0:15.5GB:sd/mmc:512:512:msdos:SD SD16G:;
1:538MB:15.5GB:15.0GB:fat32::boot, lba;

blkid (filtered): ______________________________________________________________

NAME                   FSTYPE      UUID                                   PARTUUID                             LABEL            PARTLABEL
sda                                                                                                                             
├─sda1                 vfat        F4DB-A352                              b06b8a18-8100-4ba6-a105-4ad74b6b611d                  EFI System Partition
└─sda2                 LVM2_member MnZInI-SCM6-ZiCq-2L5U-KisE-QNsH-3SrVsK 4b18db49-ae8d-47b4-8e6e-b212bdc5794c                  philippe
  ├─philippe-secours   ext4        7e6ce18e-e714-4701-b8cd-a4e1ae328532                                                         
  ├─philippe-xavier    ext2        6f243e81-3dbf-4a07-9df3-0d5f57a3fc88                                                         
  ├─philippe-usr       ext4        e2144724-48f5-4ae9-adcf-b5d5aabc8164                                                         
  ├─philippe-var_l     crypto_LUKS a062fd80-80ca-432f-bce0-530fcbcaaf31                                                         
  ├─philippe-ophelia_l crypto_LUKS fcd71049-003f-4341-a3d4-47fa66317eed                                                         
  │ └─philippe-ophelia ext4        5c95fb3d-a21f-497f-8b1a-6b18fc7646ab                                        philippe-ophelia 
  ├─philippe-rhizot_l  crypto_LUKS 21d27640-d0a6-4d19-8187-d1796ec133f6                                                         
  │ └─philippe-rhizot  ext4        5ab1950c-cd24-42d3-a4a6-256985877370                                                         
  ├─philippe-gumnon    ext2        316310e7-622c-4784-9e91-df73a9519547                                        philippe-gumnon  
  ├─philippe-psilos    ext4        b4dd9ae7-f4d9-464d-bac1-744dc0748a02                                        philippe-psilos  
  ├─philippe-eidonta   ext2        7a38b7a7-e9b7-4919-b9e4-cba79b11a0d7                                        philippe-eidonta 
  ├─philippe-phortos   ext2        c1ce3ae1-95f5-4943-9266-42c329dc9fa4                                        philippe-phortos 
  ├─philippe-biblioi   ext2        09de46bf-bf46-4eef-9dd0-a8a37544fa55                                        philippe-biblioi 
  ├─philippe-melopoi   ext2        3bb3118c-5710-43f7-a455-fc6ade075741                                        philippe-melopoi 
  ├─philippe-grec      ext4        62bba2ae-efbb-4549-aa58-b1804a160e13                                                         
  ├─philippe-archos    ext2        dc9b6541-86e4-4b2a-b26f-bfc280692bf6                                        philippe-archos  
  └─philippe-odos_l                                                                                                             
sdb                                                                                                                             
└─sdb1                 ext2        4146dfad-26f0-4aec-99c3-8ab00c3e4297   bd436988-01                          muvo             
mmcblk0                                                                                                                         
└─mmcblk0p1                                                               b2e0b87f-01                                           

df (filtered): _________________________________________________________________

                                                          Avail Use% Mounted on
mapper/philippe-archos                                   955.5M   0% /mnt/boot-sav/mapper/philippe-archos
mapper/philippe-biblioi                                    2.8G  25% /home/arbiel/Bureau/Biblioi
mapper/philippe-eidonta                                   34.4G   8% /home/arbiel/Bureau/Vidxc3xa9os
mapper/philippe-grec                                       3.2G  71% /mnt/boot-sav/mapper/philippe-grec
mapper/philippe-gumnon                                    31.6G  59% /home/arbiel/Documents/gumnon
mapper/philippe-gumnon[/gnu]                              31.6G  59% /gnu
mapper/philippe-gumnon[/gnu/bash_aliases]                 31.6G  59% /home/arbiel/.bash_aliases
mapper/philippe-gumnon[/gnu/evdev.xml]                    31.6G  59% /usr/share/X11/xkb/rules/evdev.xml
mapper/philippe-gumnon[/gnu/fr]                           31.6G  59% /usr/share/X11/xkb/symbols/fr
mapper/philippe-gumnon[/gnu/lanceurs]                     31.6G  59% /home/arbiel/.local/share/applications
mapper/philippe-gumnon[/gnu/sudoers]                      31.6G  59% /etc/sudoers
mapper/philippe-gumnon[/gnu/sudoers.d]                    31.6G  59% /etc/sudoers.d
mapper/philippe-gumnon[/gnu/ubuntu/.xinputrc]             31.6G  59% /home/arbiel/.xinputrc
mapper/philippe-gumnon[/gnu/ubuntu/.xprofile]             31.6G  59% /home/arbiel/.xprofile
mapper/philippe-gumnon[/gnu/xcompose]                     31.6G  59% /home/arbiel/.XCompose
mapper/philippe-melopoi                                    8.5G  37% /home/arbiel/Bureau/Musique
mapper/philippe-ophelia                                    4.2G  66% /home/arbiel
mapper/philippe-phortos                                    5.3G  42% /home/arbiel/Txc3xa9lxc3xa9chargements
mapper/philippe-psilos                                     1.5G  78% /home/arbiel/Documents/psilos
mapper/philippe-psilos[/programmation/.gnu/etc/crypttab]   1.5G  78% /etc/crypttab
mapper/philippe-rhizot                                      10G  27% /
mapper/philippe-secours                                    3.5G  70% /mnt/boot-sav/mapper/philippe-secours
mapper/philippe-usr                                        5.4G  48% /usr
mapper/philippe-xavier                                     660M  29% /boot
mmcblk0p1                                                 13.3G   4% /mnt/boot-sav/mmcblk0p1
sda1                                                     503.2M   2% /mnt/boot-sav/sda1
sdb1                                                     447.7M   1% /media/arbiel/muvo

Mount options: __________________________________________________________________

mapper/philippe-archos                                   rw,relatime
mapper/philippe-biblioi                                  rw,relatime
mapper/philippe-eidonta                                  rw,relatime
mapper/philippe-grec                                     rw,relatime
mapper/philippe-gumnon[/gnu/bash_aliases]                rw,nosuid,nodev,relatime
mapper/philippe-gumnon[/gnu/evdev.xml]                   rw,nosuid,nodev,relatime
mapper/philippe-gumnon[/gnu/fr]                          rw,nosuid,nodev,relatime
mapper/philippe-gumnon[/gnu/lanceurs]                    rw,nosuid,nodev,relatime
mapper/philippe-gumnon[/gnu]                             rw,nosuid,nodev,relatime
mapper/philippe-gumnon[/gnu/sudoers.d]                   rw,nosuid,nodev,relatime
mapper/philippe-gumnon[/gnu/sudoers]                     rw,nosuid,nodev,relatime
mapper/philippe-gumnon[/gnu/ubuntu/.xinputrc]            rw,nosuid,nodev,relatime
mapper/philippe-gumnon[/gnu/ubuntu/.xprofile]            rw,nosuid,nodev,relatime
mapper/philippe-gumnon[/gnu/xcompose]                    rw,nosuid,nodev,relatime
mapper/philippe-gumnon                                   rw,nosuid,nodev,relatime
mapper/philippe-melopoi                                  rw,relatime
mapper/philippe-ophelia                                  rw,relatime
mapper/philippe-phortos                                  rw,relatime
mapper/philippe-psilos[/programmation/.gnu/etc/crypttab] rw,nosuid,nodev,relatime
mapper/philippe-psilos                                   rw,nosuid,nodev,relatime
mapper/philippe-rhizot                                   rw,relatime,errors=remount-ro
mapper/philippe-secours                                  rw,relatime
mapper/philippe-usr                                      rw,relatime
mapper/philippe-xavier                                   rw,relatime
mmcblk0p1                                                rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda1                                                     rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sdb1                                                     rw,nosuid,nodev,relatime

============================== ls -R /dev/mapper/ ==============================

/dev/mapper:
control
philippe-archos
philippe-biblioi
philippe-eidonta
philippe-grec
philippe-gumnon
philippe-melopoi
philippe-odos_l
philippe-ophelia
philippe-ophelia_l
philippe-phortos
philippe-psilos
philippe-rhizot
philippe-rhizot_l
philippe-secours
philippe-usr
philippe-var_l
philippe-xavier

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

search.fs_uuid 62bba2ae-efbb-4549-aa58-b1804a160e13 root lvmid/13f4Lf-hDi4-lGq2-jBwN-qX1r-35Zk-lEhAiJ/EIxKYc-E3it-j0sx-YeEr-tpsC-E6Ct-5tKzSb 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

======================== sdb1/grub/grub.cfg (filtered) =========================

### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

======================= sdb1/grub/custom.cfg (filtered) ========================

set Version="V3-4";
# rappel : la variable d'environnement "${amorce}" désigne par son étiquette la partition à partir de laquelle démarrer
# elle est initialisée par la commande
# grub-editenv <chemin_accès_au répertoire /boot/grub>/editenv set amorce="nom de la partition"
if [ -e "${prefix}/greffons/fonctions_iso_${Version}.cfg" ]; then
	source "${prefix}/greffons/fonctions_iso_${Version}.cfg"
	if ! keystatus --ctrl; then
		submenu "Lancement à partir de philippe-archos" "philippe-archos" {exec_grub (label=${2})/grub/grub.cfg ; }
		submenu "Lancement à partir de philippe-anlas" "philippe-anlas" {exec_grub (label=${2})/grub/grub.cfg ; }
		submenu "root/boot/usr/home" {exec_grub (label=lvm/victor-boot)/grub/grub.cfg ; }
		submenu "En cas de problème" {exec_grub (label=lvm/victor-secours)/boot/grub/grub.cfg ; }
		submenu "Ubuntu du disque APEI" {exec_grub (label=lvm/gabriel-boot_u)/grub/grub.cfg ; }
		submenu "linux-mint 18" {amorce_iso (uuid=473aaf37-8b79-4bd5-8b04-1ede572a8481)/isocle/amorces/linuxmint-18.3-cinnamon-64bit.iso ; }
		submenu "vaio-caen" {exec_grub (label=lvm/caen-boot)/grub/grub.cfg ; }
		submenu "Véronique" { exec_grub /grub/grub.leclown.cfg ; }
		submenu "ciel sur Uranie" { exec_grub (uuid=b7d1b546-e905-4510-8259-e1628224b2a8)/grub/grub.cfg ; }
		submenu "PC Club informatique" {exec_grub /boot/grub/grub.cfg ; }
		submenu "amorces Sandisk" {rep_iso "(uuid=37DF-3BE1)/amorces" ; }
		submenu "amorces gabriel" {rep_iso "(uuid=3288815D2015C7B8)/amorces" ; }
		submenu "amorces sur victor-gumnon/isocle/amorces" {rep_iso "(label=lvm/victor-gumnon)/isocle/amorces" ; }
		submenu "amorces sur TRANSIT" {rep_iso "(uuid=6FA7-9CC9)/amorces" ; }
	else
		rep_iso (LABEL=SANDISK)/amorces;
	fi;
else
	echo "Le greffon fonctions_iso_${Version}.cfg est absent" ; sleep --interruptible 20 ;
fi;

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

           GiB - GB             File                                 Fragment(s)
   0,393174171 = 0,422167552    grub/grub.cfg                                  1
   0,394516945 = 0,423609344    grub/i386-pc/core.img                          2


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

File descriptor 63 (pipe:[69615]) leaked on lvs invocation. Parent PID 3196: /bin/bash
File descriptor 63 (pipe:[69615]) leaked on lvchange invocation. Parent PID 27605: /bin/bash
/usr/share/boot-sav/b-i-s-functions.sh: ligne 1653: 2097152S : valeur trop grande pour la base (le symbole erroné est « 2097152S »)

================================= User choice ==================================

Is there RAID on this computer? no

================================ LVM activation ================================

modprobe dm-mod  
vgscan --mknodes
  Found volume group "philippe" using metadata type lvm2
vgchange -ay
  15 logical volume(s) in volume group "philippe" now active
lvscan
  ACTIVE            '/dev/philippe/secours' [14.00 GiB] inherit
  ACTIVE            '/dev/philippe/xavier' [1.00 GiB] inherit
  ACTIVE            '/dev/philippe/usr' [12.00 GiB] inherit
  ACTIVE            '/dev/philippe/var_l' [12.00 GiB] inherit
  ACTIVE            '/dev/philippe/ophelia_l' [15.00 GiB] inherit
  ACTIVE            '/dev/philippe/rhizot_l' [15.00 GiB] inherit
  ACTIVE            '/dev/philippe/gumnon' [90.00 GiB] inherit
  ACTIVE            '/dev/philippe/psilos' [9.00 GiB] inherit
  ACTIVE            '/dev/philippe/eidonta' [40.00 GiB] inherit
  ACTIVE            '/dev/philippe/phortos' [10.00 GiB] inherit
  ACTIVE            '/dev/philippe/biblioi' [4.00 GiB] inherit
  ACTIVE            '/dev/philippe/melopoi' [15.00 GiB] inherit
  ACTIVE            '/dev/philippe/grec' [14.00 GiB] inherit
  ACTIVE            '/dev/philippe/archos' [1.00 GiB] inherit
  ACTIVE            '/dev/philippe/odos_l' [15.00 GiB] inherit
blkid -g

Unmount mapper/philippe-gumnon from on /home/arbiel/Documents/gumnon/ to avoid special characters (& or \ or space) incompatibilities

Unmount mapper/philippe-gumnon from on /home/arbiel/Documents/gumnon/ to avoid special characters (& or \ or space) incompatibilities

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to sign-grub) and reinstall the grub-efi-amd64-signed of
mapper/philippe-rhizot,
using the following options:        mapper/philippe-xavier/boot, mapper/philippe-usr/usr, sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s  use-standard-efi-file    

Confirmation request before suggested repair: __________________________________

You may want to retry after mounting your encrypted partitions so that the tool can verify their contents. (https://help.ubuntu.com/community/EncryptedPrivateDirectory)
Are you sure you want to continue anyway?

Final advice in case of suggested repair: ______________________________________


Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 20.04.2 LTS CurrentSession entry (sda1/efi/****/shim****.efi (**** will be updated in the final message) file) !

Je suis surpris de ne pas y voir le contenu du fichier de configuration de grub qui a été utilisé pour démarrer.

J'ai installé trois systèmes

================================ 3 OS detected =================================

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.2 LTS CurrentSession on mapper/philippe-rhizot
OS#2:   Linux Mint 20.1 Ulyssa (20.1) on mapper/philippe-grec
OS#3:   Ubuntu 20.04.2 LTS on mapper/philippe-secours

chronologiquement les deux Ubuntu 20.04, puis la Mint 20.01. C'est donc le fichier /boot/grub/grub.cfg de cette dernière qui a été utilisé, comme on peut s'en apercevoir avec ces deux extraits

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

search.fs_uuid 62bba2ae-efbb-4549-aa58-b1804a160e13 root lvmid/13f4Lf-hDi4-lGq2-jBwN-qX1r-35Zk-lEhAiJ/EIxKYc-E3it-j0sx-YeEr-tpsC-E6Ct-5tKzSb
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

philippe-grec      ext4        62bba2ae-efbb-4549-aa58-b1804a160e13

Dans ces conditions, je me demande comment quelqu'un aurait pu me venir en aide si j'avais rencontré des difficultés pour démarrer avec l'un quelconque de ces trois systèmes. Une telle situation ne sait-elle encore jamais présentée ?

Par ailleurs, j'ai été surpris par ce contenu

mapper/philippe-xavier    : no-os,    32, nopakmgr,    no-docgrub,    nogrub,    nogrubinstall,    grubenv-ok,    noupdategrub,    not-far

/dev/mapper/philippe-xavier est la partition boot de mon système Ubuntu chiffré (/dev/mapper/philippe-rhizot).
Mais cette surprise vient-elle peut-être de ma complète ignorance de ce que signifient ces informations.

Arbiel

Dernière modification par Arbiel (Le 05/05/2021, à 22:16)


Arbiel Perlacremaz
LDLC Aurore NK3S-8-S4 Ubuntu 20.04
Abandon d'azerty au profit de bépo, de google au profit de Lilo et de la messagerie électronique violable au profit de Protonmail, une messagerie chiffrée de poste de travail à poste de travail.

Hors ligne

#184 Le 06/05/2021, à 11:43

geole

Re : [TUTORIEL] Créer un rapport Boot-Info facilement

Bonjour
Quelques explications de compréhension
1) L'entrée de boot

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

efibootmgr -v
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,2001,2002,2003
Boot0001* ubuntu	HD(1,GPT,b06b8a18-8100-4ba6-a105-4ad74b6b611d,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot2003* EFI Network	RC

On voit donc que tu as booté  en mode EFI  une version non sécurisée choisie par le bootorder 0001
c'est donc la ligne  boot0001  qui veut booter le fichier EFI/ubuntu/shimx64.efi  contenu dans une partition en position 1 d'un disque  ayant une table de partition GPT ayant le uiid  indiqué et commençant à l'adresse 0x800 (2048) pour une taille de 0x100000

La partition de boot est donc

blkid (filtered): ______________________________________________________________
NAME                   FSTYPE      UUID                                   PARTUUID                             LABEL            PARTLABEL
sda                                                                                                                             
├─sda1                 vfat        F4DB-A352                              b06b8a18-8100-4ba6-a105-4ad74b6b611d                  EFI System Partition

Avec ce contenu

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

On y voit donc bien la présence du fichier en question. Son rôle est d'initialiser la partie sécurisée qu'il va faire très rapidement puisque pas activée  puis il passera la main à grubx64.efi   qui  lira son fichier de paramétrage pour savoir où se trouve l'O.S. à booter

===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid 62bba2ae-efbb-4549-aa58-b1804a160e13 root lvmid/13f4Lf-hDi4-lGq2-jBwN-qX1r-35Zk-lEhAiJ/EIxKYc-E3it-j0sx-YeEr-tpsC-E6Ct-5tKzSb 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

il va donc chercher la partition en question en utilisant un lien lvm  de décodification. La partition en question est donc

  ├─philippe-grec      ext4        62bba2ae-efbb-4549-aa58-b1804a160e13   

Voila, le boot EFI a fait son travail.

On sait qu'il y a de la place dans cet espace

df (filtered): _________________________________________________________________
                                                          Avail Use% Mounted on
mapper/philippe-grec                                       3.2G  71% /mnt/boot-sav/mapper/philippe-grec

   
et qu'il contient bien la structure de boot EFI signée avec un bon fichier fstab et qu'il fait 14 go

mapper/philippe-grec    : is-os,    64, apt-get,    signed grub-pc grub-efi ,    grub2,    grub-install,    grubenv-ok,    update-grub,    
mapper/philippe-grec    : isnotESP,    fstab-has-goodEFI,    no-nt,    no-winload,    no-recov-nor-hid,    no-bmgr,    notwinboot
Disk mapper/philippe-grec: 14 GiB, 15032385536 bytes, 29360128 sectors

Si on ne voit pas plus de choses du contenu des noyaux que tu as installés, n'oublies pas que tu as décidé de les chiffrer pour que personne ne sache leur contenu. L'auteur du boot-info a souhaité respecter ta demande en ne publiant pas la liste des noyaux chiffrés présents dans ta partition. Il me semble qu'on peut retrouver ce choix dans cette longue discussion  lorsqu'il a été évoqué ce qu'il fallait faire  dans ce contexte précis. ( Tout cela s'est passé dans cette discussion https://forum.ubuntu-fr.org/viewtopic.php?id=509791 lors de la mise au point du nouveau look avec les filtres actuels s'est déroulée pendant la période du premier confinement au moment de l'arrivée de la version 20.04)
NOTA..  Je vois qu'il a oublié de masquer quelques infos

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.2 LTS CurrentSession on mapper/philippe-rhizot
OS#2:   Linux Mint 20.1 Ulyssa (20.1) on mapper/philippe-grec
OS#3:   Ubuntu 20.04.2 LTS on mapper/philippe-secours
BOOT_IMAGE of the installed session in use:
/vmlinuz-5.8.0-50-generic root=UUID=5ab1950c-cd24-42d3-a4a6-256985877370 ro quiet splash vt.handoff=7

Dernière modification par geole (Le 06/05/2021, à 12:56)


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

En ligne

#185 Le 02/06/2021, à 09:31

Arbiel

Re : [TUTORIEL] Créer un rapport Boot-Info facilement

Bonjour

@geole

Faute au manque de temps à la lecture de ta réponse, et faute à ma mémoire un peu défaillante par la suite, c'est bien tardivement que je reviens sur cette discussion pour te remercier des informations que tu m'as communiquées.

Cependant la raison de mon intervention était plutôt d'indiquer ma surprise que le fichier de configuration «opérationnel» de grub, celui qui construit le menu de grub, ne soit pas affiché dans le rapport de démarrage produit par boot-info. Après identification du mode de démarrage UEFI et de la partition qui porte le drapeau «esp», il me semble en effet relativement facile d'en afficher le contenu.

Dans la situation présente, pour aider un utilisateur, après qu'il a publié le rapport de démarrage de sa machine, il faut lui indiquer comment trouver le fichier de configuration «opérationnel» et lui en demander la publication. Ce n'est pas très difficile, mais la publication directe de ce fichier dans le rapport de démarrage serait un gain de temps à la fois pour l'utilisateur en difficulté que pour celui qui lui vient en aide.

Arbiel

Dernière modification par Arbiel (Le 02/06/2021, à 09:35)


Arbiel Perlacremaz
LDLC Aurore NK3S-8-S4 Ubuntu 20.04
Abandon d'azerty au profit de bépo, de google au profit de Lilo et de la messagerie électronique violable au profit de Protonmail, une messagerie chiffrée de poste de travail à poste de travail.

Hors ligne

#186 Le 02/06/2021, à 13:23

geole

Re : [TUTORIEL] Créer un rapport Boot-Info facilement

Bonjour Arbiel
Les vieilles versions éditaient  tous les fichiers de configuration de tous les O.S.libres.
Cela  pouvait faire des centaines de milliers de lignes si l'utilisateur bricolait un peu.
La nouvelle version édite un résumé de  tous les fichiers de configuration de tous les O.S.libres

Comme la fabrication de ces fichiers obéit à une norme,  je trouve qu'il y a  maintenant une énorme facilité de lecture du rapport.   Si les intervenants ne l'apprécient pas, ils peuvent toujours demander la version  complète (man boot-info)

boot-info --no-filter

ou ultérieurement     faire une demande d'édition de ce fichier.

Lorsque deux O.S. libres sont présents, l'un en mode EFI, l'autre en mode LEGACY,   Il n'est pas si évidant que cela de trouver le grub utilisé.
Connaître les noyaux lançables me semble suffisant. Dans l'ensemble, ils sont déclinés en deux modes.
   mode normal
   mode recovery

NOTA. Voici  trois cas pour préciser comment on trouve la version qui est sensée booter
 
A)    Boot en MODE EFI   live USB
==================================== UEFI
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled.

Souvent, le contenu de la NVRAM est utilisé.
efibootmgr -v
BootCurrent: 000E
BootOrder: 000E,000A,000D,0000,000C
Boot0000* ubuntu    HD(1,MBR,0x58a67f4b,0x800,0x11d800)/File(\EFI\ubuntu\shimx64.efi)
Boot000A* Hard Drive     BBS(HD,,0x0)..GO..NO........o.K.I.N.G.S.T.O.N.
Boot000C* UEFI OS    HD(1,MBR,0x58a67f4b,0x800,0x11d800)/File(\EFI\BOOT\BOOTX64.EFI)
Boot000D* ubuntu    HD(1,MBR,0x58a67f4b,0x800,0x11d800)/File(\EFI\Ubuntu\grubx64.efi)
Boot000E* UEFI: KingstonDataTraveler 108    PciRoot(0x0)/Pci(0x1d,0x0)/USB(1,0)/USB(2,0)/HD(1,MBR,0x56f48570,0x4c8f30,0x1f00)..BO

Le boot est prévu pour aller lire le contenu de la partition N°1  d'un disque  ayant une table de partition MBR
On vérifie rapidement que le fichier de boot-EFI est  bien présent dans la partition indiquée.
On récupère son fichier de paramétrage
===================== sda1/efi/ubuntu/grub.cfg (filtered)
search.fs_uuid e129488b-c835-421c-a15f-ede2b7ddb08f root hd0,msdos5
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

On sait que la suite va avoir lieu   sur la partition 5 du disque SDA 

====================== sda5/boot/grub/grub.cfg (filtered)
Ubuntu   e129488b-c835-421c-a15f-ede2b7ddb08f
Ubuntu, avec Linux 5.4.0-42-generic   e129488b-c835-421c-a15f-ede2b7ddb08f
### END /etc/grub.d/30_os-prober ###

Qu'il n'y a que deux noyaux prévus
On regardera si le bon UUID est indiqué dans le fichier /fstab de cette partition
========================== sda5/etc/fstab (filtered)
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=e129488b-c835-421c-a15f-ede2b7ddb08f /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=8182-35AD  /boot/efi       vfat    umask=0077      0       1
# swap was on /dev/sda6 during installation
UUID=81ef2fcf-248e-4ede-b880-dbd9d8e604c2 none            swap    sw              0       0

On  regardera aussi les options par défaut
====================== sda5/etc/default/grub (filtered)
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

Ainsi que la présence des fichiers de boot
=================== sda5: Location of files loaded by Grub
           GiB - GB             File                                 Fragment(s)
226,687080383 = 243,403399168  boot/grub/grub.cfg                             1
   2,762691498 = 2,966417408    boot/vmlinuz                                   2
   2,762691498 = 2,966417408    boot/vmlinuz-5.4.0-42-generic                  2
  55,698688507 = 59,806011392   boot/initrd.img                                3
  55,698688507 = 59,806011392   boot/initrd.img-5.4.0-42-generic               3
  55,698688507 = 59,806011392   boot/initrd.img.old                            3

B)    Boot en mode LEGACY live USB

===================================== UEFI
BIOS is EFI-compatible, but it is not setup in EFI-mode for this live-session.

On sait donc qu'il faut aller regarder le contenu des MBR de tous les disques.
On a souvent de la chance, soit il y en a un seul ou boot-repair a déjà été exécuté en mettant la même valeur partout!!!!!
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector
    247784416 of the same hard drive for core.img. core.img is at this
    location and looks for (,gpt5)/boot/grub. It also embeds following
    components:

=> Cela va booter sur la partition 5 du même disque. Sinon c'est précisé le N° du  disque
   On peut vérifier si cette partition contient bien  core.img  ......... Si oui, le fichier GRUB sera lu
====================== sda5/boot/grub/grub.cfg (filtered)
Ubuntu   7f25d8c6-0a8e-4df0-b351-9ad449fa66ec
Ubuntu, avec Linux 5.8.0-53-generic   7f25d8c6-0a8e-4df0-b351-9ad449fa66ec
Ubuntu, avec Linux 5.4.0-73-generic   7f25d8c6-0a8e-4df0-b351-9ad449fa66ec
Ubuntu, avec Linux 5.4.0-26-generic   7f25d8c6-0a8e-4df0-b351-9ad449fa66ec
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

  On voit qu'il y a quatre noyaux de proposés, Ils appartiennent tous à la même  partition.
  Il reste à vérifier que les fichiers de boot de ces noyaux sont bien présents
==================== sda5: Location of files loaded by Grub
           GiB - GB             File                                 Fragment(s)
118.213989258 = 126.931304448  boot/grub/grub.cfg                             1
118.152839661 = 126.865645568  boot/grub/i386-pc/core.img                     1
103.245330811 = 110.858829824  boot/vmlinuz                                   1
  99.550586700 = 106.891628544  boot/vmlinuz-5.4.0-26-generic                  2
103.245330811 = 110.858829824  boot/vmlinuz-5.4.0-73-generic                  1
103.477867126 = 111.108513792  boot/vmlinuz-5.8.0-53-generic                  1
103.477867126 = 111.108513792  boot/vmlinuz.old                               1
104.387866974 = 112.085618688  boot/initrd.img                                2
104.212886810 = 111.897735168  boot/initrd.img-5.4.0-26-generic               2
104.387866974 = 112.085618688  boot/initrd.img-5.4.0-73-generic               2
104.284278870 = 111.974391808  boot/initrd.img-5.8.0-53-generic               1

On peut aussi vérifier que ce boot n'est pas fait avec des options spéciales du grub
======================= sda5/etc/default/grub (filtered)
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

On veut aussi vérifier que le fichier /etc/fstab    embarque bien  cette partition.



C)  Boot à partir d'un ubuntu opérationnel qui n'a donc pas besoin d'être réparé.
===================================== UEFI
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot enabled.

Le fait que cela soit EFI ou LECACY n'a pas tellement d'importance tant qu'il n'y pas plusieurs O.S.

================================ 2 OS detected
OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.2 LTS CurrentSession on sda5
OS#2:   Windows 10 on sda3

On sait facilement où il se trouve
====================== sda5/boot/grub/grub.cfg (filtered)
Ubuntu   fc9b819c-6516-4231-929c-b77519aaf4f9
Ubuntu, avec Linux 5.4.0-73-generic   fc9b819c-6516-4231-929c-b77519aaf4f9
Ubuntu, avec Linux 5.4.0-26-generic   fc9b819c-6516-4231-929c-b77519aaf4f9
Windows Boot Manager (sur sda1)   osprober-efi-B2A8-D40E
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

Pour trois noyaux de la même partition et un autre O.S. trouvé dans une autre partition

Dernière modification par geole (Le 02/06/2021, à 16:20)


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

En ligne

#187 Le 22/06/2023, à 07:02

geole

Re : [TUTORIEL] Créer un rapport Boot-Info facilement

Bonjour Yannubuntu
A tes moments perdus.

sudo add-apt-repository -y ppa:yannubuntu/boot-repair; sudo apt update; sudo apt install -y boot-info; boot-info: 
Dépôt : « Types: deb
URIs: https://ppa.launchpadcontent.net/yannubuntu/boot-repair/ubuntu/
Suites: mantic
Components: main
 »
Description :
Simple tool to repair frequent boot problems.

Website: https://sourceforge.net/p/boot-repair/home
Plus d'informations : https://launchpad.net/~yannubuntu/+archive/ubuntu/boot-repair
Ajout du dépôt.
Found existing deb entry in /etc/apt/sources.list.d/yannubuntu-ubuntu-boot-repair-mantic.sources
Atteint :1 http://fr.archive.ubuntu.com/ubuntu mantic InRelease
Atteint :2 http://fr.archive.ubuntu.com/ubuntu mantic-updates InRelease
Atteint :3 http://fr.archive.ubuntu.com/ubuntu mantic-backports InRelease   
Atteint :4 http://fr.archive.ubuntu.com/ubuntu mantic-security InRelease                         
Ign :5 https://ppa.launchpadcontent.net/yannubuntu/boot-repair/ubuntu mantic InRelease           
Err :6 https://ppa.launchpadcontent.net/yannubuntu/boot-repair/ubuntu mantic Release
  404  Not Found [IP : 2620:2d:4000:1::3e 443]
Lecture des listes de paquets... Fait                          
E: Le dépôt https://ppa.launchpadcontent.net/yannubuntu/boot-repair/ubuntu mantic Release n'a pas de fichier Release.
N: Les mises à jour depuis un tel dépôt ne peuvent s'effectuer de manière sécurisée, et sont donc désactivées par défaut.
N: Voir les pages de manuel d'apt-secure(8) pour la création des dépôts et les détails de configuration d'un utilisateur.
Atteint :1 http://fr.archive.ubuntu.com/ubuntu mantic InRelease
Atteint :2 http://fr.archive.ubuntu.com/ubuntu mantic-updates InRelease
Atteint :3 http://fr.archive.ubuntu.com/ubuntu mantic-backports InRelease                        
Atteint :4 http://fr.archive.ubuntu.com/ubuntu mantic-security InRelease                         
Ign :5 https://ppa.launchpadcontent.net/yannubuntu/boot-repair/ubuntu mantic InRelease           
Err :6 https://ppa.launchpadcontent.net/yannubuntu/boot-repair/ubuntu mantic Release
  404  Not Found [IP : 185.125.190.52 443]
Lecture des listes de paquets... Fait                      
E: Le dépôt https://ppa.launchpadcontent.net/yannubuntu/boot-repair/ubuntu mantic Release n'a pas de fichier Release.
N: Les mises à jour depuis un tel dépôt ne peuvent s'effectuer de manière sécurisée, et sont donc désactivées par défaut.
N: Voir les pages de manuel d'apt-secure(8) pour la création des dépôts et les détails de configuration d'un utilisateur.
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
E: Impossible de trouver le paquet boot-info
boot-info : commande introuvable

Dernière modification par geole (Le 22/06/2023, à 07: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

En ligne

#188 Le 06/12/2023, à 11:57

YannUbuntu

Re : [TUTORIEL] Créer un rapport Boot-Info facilement

Bonjour à tous, j'ai ajouté dimanche les paquets Mantic et Noble (https://launchpad.net/~yannubuntu/+arch … /+packages)


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

Hors ligne

#189 Le 06/12/2023, à 12:59

jibel

Re : [TUTORIEL] Créer un rapport Boot-Info facilement

YannUbuntu a écrit :

Bonjour à tous, j'ai ajouté dimanche les paquets Mantic et Noble (https://launchpad.net/~yannubuntu/+arch … /+packages)

Merci ... smile


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

#190 Le 13/12/2023, à 23:04

geole

Re : [TUTORIEL] Créer un rapport Boot-Info facilement

Bonsoir.
Est-ce utile de détailler le contenu des fichiers du répertoire /etc/grub.d


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

En ligne

#191 Le 14/12/2023, à 20:16

YannUbuntu

Re : [TUTORIEL] Créer un rapport Boot-Info facilement

Bjr Geole, c'est une regression de ppa2060, corrigée dans ppa2061 et suivants.


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

Hors ligne

#192 Le 14/12/2023, à 20:41

jibel

Re : [TUTORIEL] Créer un rapport Boot-Info facilement

@Yannubuntu,
Merci pour les infos, juste une question, lors de graver B.R.D soit vers un cd-DVD ou transférer dans une clé USB, il est demandé en live de mettre a jour B.R.D avec mantic et noble? B.R.D. sera-t-il au top pour l'utiliser ? merci


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

#193 Le 15/12/2023, à 20:38

YannUbuntu

Re : [TUTORIEL] Créer un rapport Boot-Info facilement

Oui, Boit-repair peut etre mis à jour depuis une session BootRepaitrDisk.
Les paquets sont les memes pour toutes les versions, voir https://launchpad.net/~yannubuntu/+arch … /+packages


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

Hors ligne

#194 Le 15/12/2023, à 23:16

jibel

Re : [TUTORIEL] Créer un rapport Boot-Info facilement

YannUbuntu a écrit :

Oui, Boit-repair peut etre mis à jour depuis une session BootRepaitrDisk.
Les paquets sont les memes pour toutes les versions, voir https://launchpad.net/~yannubuntu/+arch … /+packages

Merci pour la réponse ... au plaisir


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

#195 Le 31/01/2024, à 13:48

geole

Re : [TUTORIEL] Créer un rapport Boot-Info facilement

Bonjour YannUbuntu

Cette réparation ratée de boot-repair  me laisse perplexe
J'ai envie de penser que la raison est  l'ISO elle-même et pas boot-repair..  Mais sans certitude...      Heureusement refind est là ..

Dernière modification par geole (Le 31/01/2024, à 13:49)


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

En ligne