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.

#51 Le 17/06/2021, à 16:14

xubu1957

Re : boot repair rapport[résolu]

Bonjour,

@geole

5.3.0-28-generic

On voit :

uname -r -m
5.3.0-28-generic x86_64
Description:	Ubuntu 18.04.4 LTS

dans > cet exemple


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#52 Le 17/06/2021, à 16:17

geole

Re : boot repair rapport[résolu]

J'ai rectifié la suite en conséquence


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

#53 Le 17/06/2021, à 16:26

Pfiouu

Re : boot repair rapport[résolu]

xubu1957 a écrit :

Bonjour,

@geole

5.3.0-28-generic

On voit :

uname -r -m
5.3.0-28-generic x86_64
Description:	Ubuntu 18.04.4 LTS

dans > cet exemple

Merci @xubu1957 pour ton passage mais j'ai pas compris le rapport avec mon souci...j'ai pas le niveau je crois ^^

Hors ligne

#54 Le 17/06/2021, à 16:33

xubu1957

Re : boot repair rapport[résolu]

Ma remarque par rapport au noyau (issu d'une version 19.10), était pour geole.


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#55 Le 17/06/2021, à 16:34

geole

Re : boot repair rapport[résolu]

Cela voulait simplement dire de la version de boot-repair  que tu as installée est  à base de la version 18.04. Ce qui n'est pas spécialement grave si cette version avait incorporé la structure EFI.
Mais on devrait pouvoir  se récupérer en téléchargent  un peu plus tard


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

#56 Le 17/06/2021, à 16:34

Pfiouu

Re : boot repair rapport[résolu]

Ok

Hors ligne

#57 Le 17/06/2021, à 16:38

Pfiouu

Re : boot repair rapport[résolu]

https://zupimages.net/viewer.php?id=21/24/1lsq.jpg
J'ai 5 fois le meme disque qui apparait sur le bureau
Le disque qui démarre plus..

Hors ligne

#58 Le 17/06/2021, à 16:46

geole

Re : boot repair rapport[résolu]

Evite d'utiliser les interfaces graphiques en mode chroot.
Reste en ligne de commande pour  installer une structure de boot
et dit aussi où tu en es de l'exécution des commandes que j'ai proposées.


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

#59 Le 17/06/2021, à 16:50

Pfiouu

Re : boot repair rapport[résolu]

OK
J'en suis à attendre l'ISO que tu m'as collée
Et toujours là :
mount --bind /sys/firmware/efi/efivars /mnt/sys/firmware/efi/efivars
  modprobe efivars

modprobe: FATAL: Module efivars not found in directory /lib/modules/5.3.0-28-generic

Hors ligne

#60 Le 17/06/2021, à 16:54

geole

Re : boot repair rapport[résolu]

Nouvelles consignes

1) Revérifier que le boot est bien fait en EFI

[ -d /sys/firmware/efi ] && echo "Session EFI" || echo "Session non-EFI"

2)      Se mettre en CHROOT dans le ubuntu Voir document https://doc.ubuntu-fr.org/chroot
Cela devrait donner ces commandes
a) se mettre administrateur

setxkbmap fr       ### afin d'avoir un clavier français.
sudo -i            ### afin d'éviter de passer son temps à frapper cette commande

b) Montage de la partition

mount   /dev/sda2  /mnt

c) Le montage des répertoires se fera avec ces commandes (copier/coller).

   mount -t proc  /proc              /mnt/proc
   mount -t sysfs /sys               /mnt/sys
   mount --bind   /dev               /mnt/dev
   mount --bind   /run               /mnt/run
   mount --bind   /sys               /mnt/sys
   mount --bind   /etc/resolv.conf   /mnt/etc/resolv.conf

 

d) Le changement d'environnement se fera avec cette commande

  chroot /mnt

e) Quelques contrôles seront à faire par exemple

mount -t devpts devpts /dev/pts 
df -h && df -i
ping -c4 8.8.8.8  && ping -c4 google.fr
ls   -ls /home 

f)  On commence la réparation. Va rester à découvrir ce qu'il faut faire.

Dans un premier temps, je te propose froidement d'installer et on va voir ce qu'il va répondre comme erreur que tu posteras

mount -v /dev/sda3 /boot/efi
apt install efivar
 grub-install -v

Dernière modification par geole (Le 18/06/2021, à 18:38)


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

#61 Le 17/06/2021, à 20:49

Pfiouu

Re : boot repair rapport[résolu]

[ -d /sys/firmware/efi ] && echo "Session EFI" || echo "Session non-EFI"

Session EFI

  Se mettre en CHROOT dans le ubuntu Voir document https://doc.ubuntu-fr.org/chroot.

  sudo -i

root@lubuntu:~#

sudo mkdir /media/system <-----j ecris la commande telle quelle ou c est un chemin a specifier?

Pareil pour "sudo mount </dev/partition>" partition...c'est un chemin à spécifier ou c'est juste la comande à taper telle quelle?

sudo mount /dev/sda<----oui mais lequel....? /media/system
A priori c'est pas le2  mais ca peut etre le3  ou le 1...je sais pas du coup

Dernière modification par Pfiouu (Le 17/06/2021, à 21:01)

Hors ligne

#62 Le 17/06/2021, à 21:21

Pfiouu

Re : boot repair rapport[résolu]

root@lubuntu:/# mount   /dev/sda2  /mnt

mount   /dev/sda2  /mnt

c) Le montage des répertoires se fera avec ces commandes (copier/coller).

root@lubuntu:/#    mount -t proc  /proc              /mnt/proc
root@lubuntu:/#    mount -t sysfs /sys               /mnt/sys
root@lubuntu:/#    mount --bind   /dev               /mnt/dev
root@lubuntu:/#    mount --bind   /run               /mnt/run
root@lubuntu:/#    mount --bind   /sys               /mnt/sys
root@lubuntu:/#    mount --bind   /etc/resolv.conf   /mnt/etc/resolv.conf

root@lubuntu:/#   chroot /mnt
root@lubuntu:/# mount -t devpts devpts /dev/pts

root@lubuntu:/# df -h && df -i

Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2       439G  332G   85G  80% /
tmpfs           586M  1.2M  584M   1% /run
Filesystem       Inodes  IUsed    IFree IUse% Mounted on
/dev/sda2      29278208 997598 28280610    4% /
tmpfs            748904    741   748163    1% /run

root@lubuntu:/# ping -c4 8.8.8.8  && ping -c4 google.fr

root@lubuntu:/# ping -c4 8.8.8.8  && ping -c4 google.fr
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=116 time=31.6 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=116 time=30.4 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=116 time=30.7 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=116 time=30.7 ms

--- 8.8.8.8 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 30.398/30.845/31.603/0.453 ms
PING google.fr (172.217.18.195) 56(84) bytes of data.
64 bytes from par10s38-in-f3.1e100.net (172.217.18.195): icmp_seq=1 ttl=116 time=30.9 ms
64 bytes from ham02s14-in-f195.1e100.net (172.217.18.195): icmp_seq=2 ttl=116 time=31.6 ms
64 bytes from ham02s14-in-f195.1e100.net (172.217.18.195): icmp_seq=3 ttl=116 time=30.3 ms
64 bytes from ham02s14-in-f195.1e100.net (172.217.18.195): icmp_seq=4 ttl=116 time=31.0 ms

--- google.fr ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 30.304/30.925/31.580/0.452 ms

root@lubuntu:/# ls   -ls /home

total 8
4 drwxr-xr-x 55 jean-guillaume jean-guillaume 4096 Jun 15 15:01 jean-guillaume
4 drwxr-xr-x 19 visiteur       visiteur       4096 May 13  2020 visiteur

root@lubuntu:/# mount -v /dev/sda3 /mnt/boot/efi

mount: /mnt/boot/efi: mount point does not exist.

Hors ligne

#63 Le 17/06/2021, à 21:29

Pfiouu

Re : boot repair rapport[résolu]

root@lubuntu:/# fdisk -l

Disk /dev/loop0: 786.25 MiB, 824446976 bytes, 1610248 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: 447.13 GiB, 480103981056 bytes, 937703088 sectors
Disk model: KINGSTON SA400S3
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: gpt
Disk identifier: 670ABD54-FE64-4889-84ED-3E4F25134FC2

Device       Start       End   Sectors   Size Type
/dev/sda1     2048      4095      2048     1M BIOS boot
/dev/sda2  1050624 937701375 936650752 446.6G Linux filesystem
/dev/sda3     4096   1050623   1046528   511M EFI System

Partition table entries are not in disk order.


Disk /dev/sdb: 3.73 GiB, 4000317440 bytes, 7813120 sectors
Disk model: Cruzer Slice    
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: 0xf615dc02

Device     Boot Start     End Sectors  Size Id Type
/dev/sdb1  *     2048 7813119 7811072  3.7G  b W95 FAT32


Disk /dev/zram0: 731.35 MiB, 766877696 bytes, 187226 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram1: 731.35 MiB, 766877696 bytes, 187226 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram2: 731.35 MiB, 766877696 bytes, 187226 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram3: 731.35 MiB, 766877696 bytes, 187226 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
root@lubuntu:/# 

Du coup, je me suis planté non, c'est le sda3 qu'il fallait ecrire au lieu du sda2?
Du coup je touche plus à rien

Dernière modification par Pfiouu (Le 17/06/2021, à 21:31)

Hors ligne

#64 Le 17/06/2021, à 21:56

Pfiouu

Re : boot repair rapport[résolu]

root@lubuntu:/# mkdir -p /mnt/boot/efi
root@lubuntu:/# mount -v /dev/sda3 /mnt/boot/efi

mount: /dev/sda3 mounted on /mnt/boot/efi.

root@lubuntu:/# apt install efivar

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  efivar
0 upgraded, 1 newly installed, 0 to remove and 27 not upgraded.
Need to get 8652 B of archives.
After this operation, 46.1 kB of additional disk space will be used.
Get:1 http://fr.archive.ubuntu.com/ubuntu hirsute/main amd64 efivar amd64 37-6ubuntu1 [8652 B]
Fetched 8652 B in 0s (44.7 kB/s)
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Selecting previously unselected package efivar.
(Reading database ... 245937 files and directories currently installed.)
Preparing to unpack .../efivar_37-6ubuntu1_amd64.deb ...
Unpacking efivar (37-6ubuntu1) ...
Setting up efivar (37-6ubuntu1) ...
Processing triggers for man-db (2.9.4-2) ...
root@lubuntu:/# 

root@lubuntu:/#  grub-install -v

grub-install: info: executing modprobe efivars 2>/dev/null.
grub-install: info: Looking for /sys/firmware/efi ...
grub-install: info: ...found.
Installing for x86_64-efi platform.
grub-install: info: cannot open `/boot/grub/device.map': No such file or directory.
grub-install: error: cannot find EFI directory.
root@lubuntu:/# 

Hors ligne

#65 Le 17/06/2021, à 22:17

Pfiouu

Re : boot repair rapport[résolu]

mkdir -p /mnt/boot/efi/EFI
root@lubuntu:/# grub-install -v

grub-install: info: executing modprobe efivars 2>/dev/null.
grub-install: info: Looking for /sys/firmware/efi ...
grub-install: info: ...found.
Installing for x86_64-efi platform.
grub-install: info: cannot open `/boot/grub/device.map': No such file or directory.
grub-install: error: cannot find EFI directory.

Hors ligne

#66 Le 17/06/2021, à 22:19

Pfiouu

Re : boot repair rapport[résolu]

https://doc.ubuntu-fr.org/tutoriel/comm … aurer_grub

fdisk -l                      # pour vous aider à trouver la partition sur laquelle est votre ubuntu
mount /dev/sdaX /mnt          # montage de celle-ci en remplaçant le X par le bon numéro de partition
mount --bind /dev /mnt/dev    # lien symbolique du dossier /dev en cours d'utilisation vers le disque monté
mount --bind /dev/pts /mnt/dev/pts   # lien symbolique du dossier /dev/pts en cours d'utilisation vers le disque monté
mount --bind /sys /mnt/sys    # lien symbolique du dossier /sys en cours d'utilisation vers le disque monté
mount -t proc /proc /mnt/proc # Pour que Grub2 trouve /proc/mounts
chroot /mnt /bin/bash         # mise à la racine du disque monté
mount -a                           # montage des partitions dans le chroot
apt-get install grub-pc            # installation du logiciel Grub2 (sur le disque maintenant à la racine)
update-grub                        # création d'un nouveau fichier de configuration : grub.cfg
grub-install /dev/sda              # installation de grub sur le MBR
Si la dernière commande sort une erreur, tapez :

grub-install --force /dev/sda
Démontez les partitions montées dans le chroot :

umount -a
(Ignorez les éventuelles erreurs signalées.)

À partir de là, vous pouvez sortir du disque monté en effectuant ctrl+D. Puis, démontez ce disque :

sudo umount /mnt/{dev/pts,dev,sys,proc}
sudo umount /mnt
Redémarrez et vous devriez, à présent, être capable de booter correctement.

Y a quelque chose de similaire?

Hors ligne

#67 Le 17/06/2021, à 22:23

Pfiouu

Re : boot repair rapport[résolu]

root@lubuntu:/# ls

bin    home            lib64       opt   snap      usr
boot   initrd.img      libx32      proc  srv       var
cdrom  initrd.img.old  lost+found  root  swapfile  vmlinuz
dev    lib             media       run   sys       vmlinuz.old
etc    lib32           mnt         sbin  tmp

Hors ligne

#68 Le 17/06/2021, à 22:27

geole

Re : boot repair rapport[résolu]

apt install gparted
gparted

et vérifie que la partition sda3 a bien un drapeau de boot ESP.
Si c'est le cas, je ne vais pas avoir une nouvelle idée ce soir. Si elle ne l'a pas, tu mets le drapeau et tu relances la seule commande d'installation.

Dernière modification par geole (Le 17/06/2021, à 22:35)


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

#69 Le 17/06/2021, à 22:30

Pfiouu

Re : boot repair rapport[résolu]

sda3    flags  boot, esp
Mounted on /media/system/mnt/mnt/boot/efi

Dernière modification par Pfiouu (Le 17/06/2021, à 22:31)

Hors ligne

#70 Le 17/06/2021, à 22:32

Pfiouu

Re : boot repair rapport[résolu]

Merci encore dis donc
Bonne soirée

Hors ligne

#71 Le 17/06/2021, à 22:38

geole

Re : boot repair rapport[résolu]

Pfiouu a écrit :

sda3    flags  boot, esp
Mounted on /media/system/mnt/mnt/boot/efi

Peut-être

Rectifications  du lendemain

mount -v  /dev/sda3   /boot/efi 
grub-install -v

Nota. Demain , en dèbut d'après-midi, je rechercherais dans mon contexte.

Dernière modification par geole (Le 18/06/2021, à 18:43)


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

#72 Le 17/06/2021, à 22:43

Pfiouu

Re : boot repair rapport[résolu]

umount -v  /dev/sda3

umount: /mnt/boot/efi (/dev/sda3) unmounted

root@lubuntu:/# mount -v  /dev/sda3   /mnt/boot/efi

mount: /dev/sda3 mounted on /mnt/boot/efi.

root@lubuntu:/# grub-install -v

grub-install: error: cannot find EFI directory.

Dernière modification par Pfiouu (Le 17/06/2021, à 22:46)

Hors ligne

#73 Le 18/06/2021, à 13:33

geole

Re : boot repair rapport[résolu]

Bonjour
Alors voila, je viens de charger "bootrepair disk" depuis le site que tu as indiqué.
Je me prépare maintenant à faire un CHROOT sur une instance 21.04

setxkbmap fr       
sudo -i         

   

mount -v  /dev/sda12  /mnt   ## Dans mon contexte
mount -t proc  /proc              /mnt/proc
mount -t sysfs /sys               /mnt/sys
mount --bind   /dev               /mnt/dev
mount --bind   /run               /mnt/run
mount --bind   /sys               /mnt/sys
mount --bind   /etc/resolv.conf   /mnt/etc/resolv.conf

contrairement à ton contexte, pas d erreur dans cette commande

modprobe efivars
root@lubuntu:~# 
  chroot /mnt
mount -t devpts devpts /dev/pts 
df -h && df -i
ping -c4 8.8.8.8  && ping -c4 google.fr
ls   -ls /home 

=====> Je faisais le montage au mauvais endroit !!!!!!!

mount -v /dev/sda2  /boot/efi
mount: /dev/sda2 mounted on /boot/efi.
root@lubuntu:/# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda12       18G  7.8G  8.9G  47% /
tmpfs           584M  1.5M  583M   1% /run
/cow            2.9G  325M  2.6G  12% /run/systemd/resolve/stub-resolv.conf
/dev/sda2       505M   41M  465M   9% /boot/efi
root@lubuntu:/# 
root@lubuntu:/# grub-install -v
grub-install: info: executing modprobe efivars 2>/dev/null.
grub-install: info: Looking for /sys/firmware/efi ...
grub-install: info: ...found.
grub-install: info: ... but x86_64-efi platform not available.
grub-install: info: Looking for /proc/device-tree ...
grub-install: info: ... not found.
Installing for i386-pc platform.
grub-install: error: install device isn't specified.
root@lubuntu:/# 

Dans  mon contexte, cette réponse est normale car je me passe maintenant du grub en préférant utliser refind

VOILA! J'ai la même erreur.

root@lubuntu:/# apt install --reinstall shim-signed
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  grub-efi-amd64-bin grub-efi-amd64-signed mokutil
The following NEW packages will be installed:
  grub-efi-amd64-bin grub-efi-amd64-signed mokutil shim-signed
0 upgraded, 4 newly installed, 0 to remove and 3 not upgraded.
Need to get 1678 kB of archives.
After this operation, 16.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 [url]http://fr.archive.ubuntu.com/ubuntu[/url] hirsute/main amd64 grub-efi-amd64-bin amd64 2.04-1ubuntu45 [727 kB]
Get:2 [url]http://fr.archive.ubuntu.com/ubuntu[/url] hirsute/main amd64 grub-efi-amd64-signed amd64 1.169+2.04-1ubuntu45 [482 kB]
Get:3 [url]http://fr.archive.ubuntu.com/ubuntu[/url] hirsute/main amd64 mokutil amd64 0.3.0+1538710437.fb6250f-1 [22.6 kB]
Get:4 [url]http://fr.archive.ubuntu.com/ubuntu[/url] hirsute-updates/main amd64 shim-signed amd64 1.47+15.4-0ubuntu2 [447 kB]
Fetched 1678 kB in 2s (949 kB/s)    
Preconfiguring packages ...
Selecting previously unselected package grub-efi-amd64-bin.
(Reading database ... 191711 files and directories currently installed.)
Preparing to unpack .../grub-efi-amd64-bin_2.04-1ubuntu45_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.04-1ubuntu45) ...
Selecting previously unselected package grub-efi-amd64-signed.
Preparing to unpack .../grub-efi-amd64-signed_1.169+2.04-1ubuntu45_amd64.deb ...
Unpacking grub-efi-amd64-signed (1.169+2.04-1ubuntu45) ...
Selecting previously unselected package mokutil.
Preparing to unpack .../mokutil_0.3.0+1538710437.fb6250f-1_amd64.deb ...
Unpacking mokutil (0.3.0+1538710437.fb6250f-1) ...
Selecting previously unselected package shim-signed.
Preparing to unpack .../shim-signed_1.47+15.4-0ubuntu2_amd64.deb ...
Unpacking shim-signed (1.47+15.4-0ubuntu2) ...
Setting up mokutil (0.3.0+1538710437.fb6250f-1) ...
Setting up grub-efi-amd64-bin (2.04-1ubuntu45) ...
Setting up grub-efi-amd64-signed (1.169+2.04-1ubuntu45) ...
Setting up shim-signed (1.47+15.4-0ubuntu2) ...
Processing triggers for man-db (2.9.4-2) ...
root@lubuntu:/# grub-install -v

grub-install: info: executing modprobe efivars 2>/dev/null.
grub-install: info: Looking for /sys/firmware/efi ...
grub-install: info: ...found.
Installing for x86_64-efi platform.
grub-install: info: cannot open `/boot/grub/device.map': No such file or directory.
grub-install: error: cannot find EFI directory.
root@lubuntu:/# 

Après recherches, les commandes  de réparation à passer en mode chroot seraient

apt remove grub-commun 
apt install shim-signed
grub-install 
exit
exit

Dernière modification par geole (Le 18/06/2021, à 18:34)


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

#74 Le 18/06/2021, à 14:04

geole

Re : boot repair rapport[résolu]

Je te propose donc un premier dépannage.
Au lieu d'installer le grub, tu installes refind!!!

root@lubuntu:/# apt install --reinstall refind
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 3 not upgraded.
Need to get 2800 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://fr.archive.ubuntu.com/ubuntu hirsute/universe amd64 refind amd64 0.12.0-1 [2800 kB]
Fetched 2800 kB in 3s (1108 kB/s) 
Preconfiguring packages ...
(Reading database ... 192234 files and directories currently installed.)
Preparing to unpack .../refind_0.12.0-1_amd64.deb ...
Unpacking refind (0.12.0-1) over (0.12.0-1) ...
Setting up refind (0.12.0-1) ...
Installing rEFInd to the ESP...
Processing triggers for man-db (2.9.4-2) ...

Qui semble bien trouver la partition ESP
Il faudra que tu acceptes la mise à jour de la partition ESP  dans la grille qui sera proposée (le curseur est bien prépositionné)
et tu vérifies quil est bien disponible.

root@lubuntu:/# efibootmgr -v

On verra s'il sait détecter le UBUNTU actuel.


AJOUT.
Lorsque refind sera installé, continue avec cette commande

 grub-install
 

car, dans mon contexte, elle ne provoque plus d'erreur !!!!  Hasard???

Dernière modification par geole (Le 18/06/2021, à 18:45)


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

#75 Le 19/06/2021, à 10:39

Pfiouu

Re : boot repair rapport[résolu]

root@lubuntu:/# apt install --reinstall refind

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  refind
0 upgraded, 1 newly installed, 0 to remove and 27 not upgraded.
Need to get 2800 kB of archives.
After this operation, 4621 kB of additional disk space will be used.
Get:1 http://fr.archive.ubuntu.com/ubuntu hirsute/universe amd64 refind amd64 0.12.0-1 [2800 kB]
Fetched 2800 kB in 15s (186 kB/s)                                     
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Preconfiguring packages ...
Configuring refind
------------------

It is necessary to install rEFInd to the EFI System Partition (ESP) for
it to control the boot process.

Not installing the new rEFInd binary on the ESP may leave the system in
an unbootable state. Alternatives to automatically installing rEFInd 
include running /usr/sbin/refind-install by hand or installing the 
rEFInd binaries manually by copying them from subdirectories of 
[More] 

/usr/share/refind-{version}.

Automatically install rEFInd to the ESP? [yes/no] Y


Selecting previously unselected package refind.
(Reading database ... 245943 files and directories currently installed.)
Preparing to unpack .../refind_0.12.0-1_amd64.deb ...
Unpacking refind (0.12.0-1) ...
Setting up refind (0.12.0-1) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Installing rEFInd to the ESP...
** Warning ** : Boot000a is not UEFI Spec compliant (lowercase hex in name)
Generating a RSA private key
.............................................+++++
..................................................................................................+++++
writing new private key to '//etc/refind.d/keys/refind_local.key'
-----
** Warning ** : Boot000a is not UEFI Spec compliant (lowercase hex in name)
** Warning ** : Boot000a is not UEFI Spec compliant (lowercase hex in name)
** Warning ** : Boot000a is not UEFI Spec compliant (lowercase hex in name)
Processing triggers for man-db (2.9.4-2) ...

Bonjour et désolé pour hier, j'étais entrain de faire les parcs pour les chevaux

Dernière modification par Pfiouu (Le 19/06/2021, à 10:41)

Hors ligne