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.

#76 Le 16/03/2022, à 20:24

geole

Re : [ Résolu]Echec de prise en charge de langue

D'accord pour le windows.   Lorsque les ennuis arrivent, il y en a partout. Pourtant c'était visible

Mount points (filtered): _______________________________________________________
            Avail Use% Mounted on
/dev/sda3   388.3M  99% /mnt/boot-sav/sda3

Avec le chroot, on va tenter de faire les commandes que le boot-repair aurait certainement fait.  De plus ton boot-repair ne fonctionne plus
donc     tu regardes bien le retour  des commandes de la réparation.
Si tu vois des anomalies tu postes les retours des commandes coupables
Si tout te semble bon, tu tentes de rebooter

Dernière modification par geole (Le 16/03/2022, à 20:30)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#77 Le 16/03/2022, à 23:52

bouhq

Re : [ Résolu]Echec de prise en charge de langue

Des abomalies, il y en a eu comme le montre le retour des commandes:

lubuntu@lubuntu:~$ sudo mount /dev/sda4 /mnt
lubuntu@lubuntu:~$ sudo mount --bind /dev /mnt/dev
lubuntu@lubuntu:~$ sudo mount -t proc  /proc              /mnt/proc
lubuntu@lubuntu:~$ sudo mount -t sysfs /sys               /mnt/sys
lubuntu@lubuntu:~$ sudo mount --bind   /run               /mnt/run
lubuntu@lubuntu:~$ sudo mount --bind   /sys               /mnt/sys
lubuntu@lubuntu:~$ sudo modprobe efivars
lubuntu@lubuntu:~$ mount -t devpts devpts /dev/pts
[b]mount: only root can use "--types" option[/b]
lubuntu@lubuntu:~$ ping -c4 google.fr
PING google.fr (216.58.209.35) 56(84) bytes of data.
64 bytes from waw02s05-in-f3.1e100.net (216.58.209.35): icmp_seq=1 ttl=115 time=39.6 ms
64 bytes from waw02s05-in-f3.1e100.net (216.58.209.35): icmp_seq=2 ttl=115 time=39.9 ms
64 bytes from waw02s05-in-f3.1e100.net (216.58.209.35): icmp_seq=3 ttl=115 time=41.1 ms
64 bytes from waw02s05-in-f3.1e100.net (216.58.209.35): icmp_seq=4 ttl=115 time=39.9 ms

--- google.fr ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 39.690/40.179/41.101/0.562 ms
lubuntu@lubuntu:~$ ls   -ls /home
total 0
0 drwxr-xr-x 16 lubuntu lubuntu 480 Mar 16 20:46 lubuntu
lubuntu@lubuntu:~$ mount -t devpts devpts /dev/pts
mount: [b]only root can use "--types" option[/b]
lubuntu@lubuntu:~$ ping -c4 google.fr
PING google.fr (216.58.209.35) 56(84) bytes of data.
64 bytes from waw02s05-in-f35.1e100.net (216.58.209.35): icmp_seq=1 ttl=115 time=37.4 ms
64 bytes from waw02s05-in-f35.1e100.net (216.58.209.35): icmp_seq=2 ttl=115 time=39.6 ms
64 bytes from waw02s05-in-f35.1e100.net (216.58.209.35): icmp_seq=3 ttl=115 time=37.9 ms
64 bytes from waw02s05-in-f35.1e100.net (216.58.209.35): icmp_seq=4 ttl=115 time=40.0 ms

--- google.fr ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 37.412/38.774/40.070/1.102 ms
lubuntu@lubuntu:~$ ls   -ls /home
total 0
0 drwxr-xr-x 16 lubuntu lubuntu 480 Mar 16 20:46 lubuntu
lubuntu@lubuntu:~$ sudo mount /dev/sda1  /boot/efi
mount: /boot/efi: [b]mount point does not exist[/b].
lubuntu@lubuntu:~$ sudo apt install grub-efi
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following additional packages will be installed:
  grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
  grub-pc-bin grub2-common
Suggested packages:
  multiboot-doc grub-emu xorriso desktop-base
The following packages will be REMOVED:
  grub-gfxpayload-lists grub-pc
The following NEW packages will be installed:
  grub-efi grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
The following packages will be upgraded:
  grub-common grub-pc-bin grub2-common
3 upgraded, 4 newly installed, 2 to remove and 574 not upgraded.
Need to get 4464 kB of archives.
After this operation, 12.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://security.ubuntu.com/ubuntu bionic-security/main amd64 grub2-common amd64 2.02-2ubuntu8.23 [534 kB]
Get:2 http://security.ubuntu.com/ubuntu bionic-security/main amd64 grub-pc-bin amd64 2.02-2ubuntu8.23 [901 kB]
Get:3 http://security.ubuntu.com/ubuntu bionic-security/main amd64 grub-common amd64 2.02-2ubuntu8.23 [1772 kB]
Get:4 http://security.ubuntu.com/ubuntu bionic-security/main amd64 grub-efi-amd64-bin amd64 2.04-1ubuntu44.1.2 [726 kB]
Get:5 http://security.ubuntu.com/ubuntu bionic-security/main amd64 grub-efi-amd64 amd64 2.04-1ubuntu44.1.2 [47.3 kB]
Get:6 http://security.ubuntu.com/ubuntu bionic-security/main amd64 grub-efi-amd64-signed amd64 1.167~18.04.5+2.04-1ubuntu44.1.2 [481 kB]
Get:7 http://security.ubuntu.com/ubuntu bionic-security/main amd64 grub-efi amd64 2.02-2ubuntu8.23 [2596 B]
Fetched 4464 kB in 13s (347 kB/s)                                              
Preconfiguring packages ...
(Reading database ... 128231 files and directories currently installed.)
Removing grub-gfxpayload-lists (0.7) ...
Removing grub-pc (2.02-2ubuntu8.2) ...
(Reading database ... 128211 files and directories currently installed.)
Preparing to unpack .../0-grub2-common_2.02-2ubuntu8.23_amd64.deb ...
Unpacking grub2-common (2.02-2ubuntu8.23) over (2.02-2ubuntu8.2) ...
Preparing to unpack .../1-grub-pc-bin_2.02-2ubuntu8.23_amd64.deb ...
Unpacking grub-pc-bin (2.02-2ubuntu8.23) over (2.02-2ubuntu8.2) ...
Preparing to unpack .../2-grub-common_2.02-2ubuntu8.23_amd64.deb ...
Unpacking grub-common (2.02-2ubuntu8.23) over (2.02-2ubuntu8.2) ...
Selecting previously unselected package grub-efi-amd64-bin.
Preparing to unpack .../3-grub-efi-amd64-bin_2.04-1ubuntu44.1.2_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.04-1ubuntu44.1.2) ...
Selecting previously unselected package grub-efi-amd64.
Preparing to unpack .../4-grub-efi-amd64_2.04-1ubuntu44.1.2_amd64.deb ...
Unpacking grub-efi-amd64 (2.04-1ubuntu44.1.2) ...
Selecting previously unselected package grub-efi-amd64-signed.
Preparing to unpack .../5-grub-efi-amd64-signed_1.167~18.04.5+2.04-1ubuntu44.1.2_amd64.deb ...
Unpacking grub-efi-amd64-signed (1.167~18.04.5+2.04-1ubuntu44.1.2) ...
Selecting previously unselected package grub-efi.
Preparing to unpack .../6-grub-efi_2.02-2ubuntu8.23_amd64.deb ...
Unpacking grub-efi (2.02-2ubuntu8.23) ...
Processing triggers for ureadahead (0.100.0-20) ...
Processing triggers for install-info (6.5.0.dfsg.1-2) ...
Setting up grub-common (2.02-2ubuntu8.23) ...
Installing new version of config file /etc/grub.d/00_header ...
Installing new version of config file /etc/grub.d/10_linux ...
[b]update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults[/b]
Processing triggers for systemd (237-3ubuntu10.3) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up grub-efi-amd64-bin (2.04-1ubuntu44.1.2) ...
Setting up grub-pc-bin (2.02-2ubuntu8.23) ...
Setting up grub2-common (2.02-2ubuntu8.23) ...
Setting up grub-efi-amd64 (2.04-1ubuntu44.1.2) ...
Replacing config file /etc/default/grub with new version
Setting up grub-efi-amd64-signed (1.167~18.04.5+2.04-1ubuntu44.1.2) ...
Setting up grub-efi (2.02-2ubuntu8.23) ...
lubuntu@lubuntu:~$ sudo grub-install
Installing for x86_64-efi platform.
[b]grub-install: error: cannot find EFI directory.[/b]
lubuntu@lubuntu:~$ sudo grub-update
sudo: grub-update: command not found
lubuntu@lubuntu:~$ sudo update-initramfs -d -k all
[b]update-initramfs is disabled since running on read-only media[/b]
lubuntu@lubuntu:~$

Hors ligne

#78 Le 16/03/2022, à 23:57

bouhq

Re : [ Résolu]Echec de prise en charge de langue

Des abomalies, il y en a eu comme le montre le retour des commandes:

lubuntu@lubuntu:~$ sudo mount /dev/sda4 /mnt
lubuntu@lubuntu:~$ sudo mount --bind /dev /mnt/dev
lubuntu@lubuntu:~$ sudo mount -t proc  /proc              /mnt/proc
lubuntu@lubuntu:~$ sudo mount -t sysfs /sys               /mnt/sys
lubuntu@lubuntu:~$ sudo mount --bind   /run               /mnt/run
lubuntu@lubuntu:~$ sudo mount --bind   /sys               /mnt/sys
lubuntu@lubuntu:~$ sudo modprobe efivars
lubuntu@lubuntu:~$ mount -t devpts devpts /dev/pts
mount: only root can use "--types" option
lubuntu@lubuntu:~$ ping -c4 google.fr
PING google.fr (216.58.209.35) 56(84) bytes of data.
64 bytes from waw02s05-in-f3.1e100.net (216.58.209.35): icmp_seq=1 ttl=115 time=39.6 ms
64 bytes from waw02s05-in-f3.1e100.net (216.58.209.35): icmp_seq=2 ttl=115 time=39.9 ms
64 bytes from waw02s05-in-f3.1e100.net (216.58.209.35): icmp_seq=3 ttl=115 time=41.1 ms
64 bytes from waw02s05-in-f3.1e100.net (216.58.209.35): icmp_seq=4 ttl=115 time=39.9 ms

--- google.fr ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 39.690/40.179/41.101/0.562 ms
lubuntu@lubuntu:~$ ls   -ls /home
total 0
0 drwxr-xr-x 16 lubuntu lubuntu 480 Mar 16 20:46 lubuntu
lubuntu@lubuntu:~$ mount -t devpts devpts /dev/pts
mount: only root can use "--types" option
lubuntu@lubuntu:~$ ping -c4 google.fr
PING google.fr (216.58.209.35) 56(84) bytes of data.
64 bytes from waw02s05-in-f35.1e100.net (216.58.209.35): icmp_seq=1 ttl=115 time=37.4 ms
64 bytes from waw02s05-in-f35.1e100.net (216.58.209.35): icmp_seq=2 ttl=115 time=39.6 ms
64 bytes from waw02s05-in-f35.1e100.net (216.58.209.35): icmp_seq=3 ttl=115 time=37.9 ms
64 bytes from waw02s05-in-f35.1e100.net (216.58.209.35): icmp_seq=4 ttl=115 time=40.0 ms

--- google.fr ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 37.412/38.774/40.070/1.102 ms
lubuntu@lubuntu:~$ ls   -ls /home
total 0
0 drwxr-xr-x 16 lubuntu lubuntu 480 Mar 16 20:46 lubuntu
lubuntu@lubuntu:~$ sudo mount /dev/sda1  /boot/efi
mount: /boot/efi: mount point does not exist.
lubuntu@lubuntu:~$ sudo apt install grub-efi
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following additional packages will be installed:
  grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
  grub-pc-bin grub2-common
Suggested packages:
  multiboot-doc grub-emu xorriso desktop-base
The following packages will be REMOVED:
  grub-gfxpayload-lists grub-pc
The following NEW packages will be installed:
  grub-efi grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
The following packages will be upgraded:
  grub-common grub-pc-bin grub2-common
3 upgraded, 4 newly installed, 2 to remove and 574 not upgraded.
Need to get 4464 kB of archives.
After this operation, 12.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://security.ubuntu.com/ubuntu bionic-security/main amd64 grub2-common amd64 2.02-2ubuntu8.23 [534 kB]
Get:2 http://security.ubuntu.com/ubuntu bionic-security/main amd64 grub-pc-bin amd64 2.02-2ubuntu8.23 [901 kB]
Get:3 http://security.ubuntu.com/ubuntu bionic-security/main amd64 grub-common amd64 2.02-2ubuntu8.23 [1772 kB]
Get:4 http://security.ubuntu.com/ubuntu bionic-security/main amd64 grub-efi-amd64-bin amd64 2.04-1ubuntu44.1.2 [726 kB]
Get:5 http://security.ubuntu.com/ubuntu bionic-security/main amd64 grub-efi-amd64 amd64 2.04-1ubuntu44.1.2 [47.3 kB]
Get:6 http://security.ubuntu.com/ubuntu bionic-security/main amd64 grub-efi-amd64-signed amd64 1.167~18.04.5+2.04-1ubuntu44.1.2 [481 kB]
Get:7 http://security.ubuntu.com/ubuntu bionic-security/main amd64 grub-efi amd64 2.02-2ubuntu8.23 [2596 B]
Fetched 4464 kB in 13s (347 kB/s)                                              
Preconfiguring packages ...
(Reading database ... 128231 files and directories currently installed.)
Removing grub-gfxpayload-lists (0.7) ...
Removing grub-pc (2.02-2ubuntu8.2) ...
(Reading database ... 128211 files and directories currently installed.)
Preparing to unpack .../0-grub2-common_2.02-2ubuntu8.23_amd64.deb ...
Unpacking grub2-common (2.02-2ubuntu8.23) over (2.02-2ubuntu8.2) ...
Preparing to unpack .../1-grub-pc-bin_2.02-2ubuntu8.23_amd64.deb ...
Unpacking grub-pc-bin (2.02-2ubuntu8.23) over (2.02-2ubuntu8.2) ...
Preparing to unpack .../2-grub-common_2.02-2ubuntu8.23_amd64.deb ...
Unpacking grub-common (2.02-2ubuntu8.23) over (2.02-2ubuntu8.2) ...
Selecting previously unselected package grub-efi-amd64-bin.
Preparing to unpack .../3-grub-efi-amd64-bin_2.04-1ubuntu44.1.2_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.04-1ubuntu44.1.2) ...
Selecting previously unselected package grub-efi-amd64.
Preparing to unpack .../4-grub-efi-amd64_2.04-1ubuntu44.1.2_amd64.deb ...
Unpacking grub-efi-amd64 (2.04-1ubuntu44.1.2) ...
Selecting previously unselected package grub-efi-amd64-signed.
Preparing to unpack .../5-grub-efi-amd64-signed_1.167~18.04.5+2.04-1ubuntu44.1.2_amd64.deb ...
Unpacking grub-efi-amd64-signed (1.167~18.04.5+2.04-1ubuntu44.1.2) ...
Selecting previously unselected package grub-efi.
Preparing to unpack .../6-grub-efi_2.02-2ubuntu8.23_amd64.deb ...
Unpacking grub-efi (2.02-2ubuntu8.23) ...
Processing triggers for ureadahead (0.100.0-20) ...
Processing triggers for install-info (6.5.0.dfsg.1-2) ...
Setting up grub-common (2.02-2ubuntu8.23) ...
Installing new version of config file /etc/grub.d/00_header ...
Installing new version of config file /etc/grub.d/10_linux ...
[b]update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults[/b]
Processing triggers for systemd (237-3ubuntu10.3) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up grub-efi-amd64-bin (2.04-1ubuntu44.1.2) ...
Setting up grub-pc-bin (2.02-2ubuntu8.23) ...
Setting up grub2-common (2.02-2ubuntu8.23) ...
Setting up grub-efi-amd64 (2.04-1ubuntu44.1.2) ...
Replacing config file /etc/default/grub with new version
Setting up grub-efi-amd64-signed (1.167~18.04.5+2.04-1ubuntu44.1.2) ...
Setting up grub-efi (2.02-2ubuntu8.23) ...
lubuntu@lubuntu:~$ sudo grub-install
Installing for x86_64-efi platform.
[b]grub-install: error: cannot find EFI directory.[/b]
lubuntu@lubuntu:~$ sudo grub-update
sudo: grub-update: command not found
lubuntu@lubuntu:~$ sudo update-initramfs -d -k all
[b]update-initramfs is disabled since running on read-only media[/b]
lubuntu@lubuntu:~$

Hors ligne

#79 Le 16/03/2022, à 23:59

bouhq

Re : [ Résolu]Echec de prise en charge de langue

Ei si le boot repair, comme attendu, n'était pas possible, le boot- info, est en revanche, est là:

http://paste.ubuntu.com/p/TbZ2xQBRpM/

Hors ligne

#80 Le 17/03/2022, à 00:05

geole

Re : [ Résolu]Echec de prise en charge de langue

Tu as oublié de faire la commande la plus importante

sudo chroot /mnt

Tu n'as pas réalisé que le retour de cette commande.

lubuntu@lubuntu:~$ ls   -ls /home
total 0
0 drwxr-xr-x 16 lubuntu lubuntu 480 Mar 16 20:46 lubuntu

Donnait un nom qui n'était probablement pas le tien et ressemblait beaucoup à celui qu'il ne fallait pas voir.

Dernière modification par geole (Le 17/03/2022, à 00:07)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#81 Le 17/03/2022, à 00:09

bouhq

Re : [ Résolu]Echec de prise en charge de langue

Je vais refaire le chroot

Hors ligne

#82 Le 17/03/2022, à 00:41

bouhq

Re : [ Résolu]Echec de prise en charge de langue

J'ai refait le chroot mais ça s'est planté à ce niveau:

sudo grub- install
installing for x86_64-efi platform

Hors ligne

#83 Le 17/03/2022, à 01:20

bouhq

Re : [ Résolu]Echec de prise en charge de langue

Et voici le retour des commandes avant  le plantage :

lubuntu@lubuntu:~$ setxkbmap fr
lubuntu@lubuntu:~$ sudo mount /dev/sda4 /mnt
lubuntu@lubuntu:~$ sudo mount --bind /dev /mnt/dev
lubuntu@lubuntu:~$ sudo mount -t proc  /proc              /mnt/proc
lubuntu@lubuntu:~$ sudo mount -t sysfs /sys               /mnt/sys
lubuntu@lubuntu:~$ sudo mount --bind   /run               /mnt/run
lubuntu@lubuntu:~$ sudo mount --bind   /sys               /mnt/sys
lubuntu@lubuntu:~$ sudo modprobe efivars
lubuntu@lubuntu:~$ sudo chroot /mnt
root@lubuntu:/# mount -t devpts devpts /dev/pts
root@lubuntu:/# ping -c4 google.fr
PING google.fr (216.58.209.35) 56(84) bytes of data.
64 bytes from mil07s12-in-f3.1e100.net (216.58.209.35): icmp_seq=1 ttl=115 time=37.2 ms
64 bytes from mil07s12-in-f3.1e100.net (216.58.209.35): icmp_seq=2 ttl=115 time=37.3 ms
64 bytes from mil07s12-in-f3.1e100.net (216.58.209.35): icmp_seq=3 ttl=115 time=36.9 ms
64 bytes from mil07s12-in-f3.1e100.net (216.58.209.35): icmp_seq=4 ttl=115 time=36.9 ms

--- google.fr ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 36.878/37.062/37.314/0.186 ms
root@lubuntu:/# ls   -ls /home
total 12
12 drwxr-xr-x 48 pierre pierre 12288 Mar 10 22:21 pierre
root@lubuntu:/# sudo mount /dev/sda1  /boot/efi
root@lubuntu:/# sudo apt install grub-efi
قراءة قوائم الحزم... تمّ0%
Building dependency tree                  
Reading state information... تمّ
grub-efi is already the newest version (2.04-1ubuntu26.13).
0 سيتم ترقيتها، 0 مثبتة حديثاً،  0 لإزالتها و 8 لم يتم ترقيتها.
root@lubuntu:/#

Hors ligne

#84 Le 17/03/2022, à 11:04

geole

Re : [ Résolu]Echec de prise en charge de langue

Bonjour
Je ne sais pas trop de quel plantage tu parles
Il dit à l'exécution de cette commande
apt install grub-efi
que
grub-efi is already the newest version (2.04-1ubuntu26.13)
Donc c'est probablement sur la commande qui a suivi. C'est à dire celle-ci
sudo grub-install
Si  c'est bien le cas, je te propose un nouveau lot de commandes à refaire en chroot afin d'interdire  d'utiliser shim car je pense qu'il est dans le coup

Démarre sur la session live usb, ouvre un terminal, 

setxkbmap fr

Préparation

sudo mount /dev/sda4 /mnt
sudo mount --bind /dev /mnt/dev
sudo mount -t proc  /proc              /mnt/proc
sudo mount -t sysfs /sys               /mnt/sys
sudo mount --bind   /run               /mnt/run
sudo mount --bind   /sys               /mnt/sys
sudo modprobe efivars 

Le chroot

sudo chroot /mnt

Quelques contrôles seront à faire par exemple

mount -t devpts devpts /dev/pts 
ping -c4 google.fr
ls   -ls /home 

==> Cette réponse doit te donner ton nom d'utilisateur et pas lubuntu

Puis les réparations. Comme on va avoir  besoin de toucher à l'EFI

sudo mount /dev/sda1  /boot/efi

Comme réparation, je propose d'interdire d'utiliser shim.   j'espère que cela sera suffisant. car je ne connais pas très bien les bonnes commandes pour le désinstaller et remettre ce qu'il faut à la place.

sudo apt-mark  hold   secureboot-db   
sudo apt-mark  hold   fwupdate-signed
sudo apt-mark  hold   grub-efi-amd64-signed
sudo apt-mark  hold   shim-signed
sudo apt-get install --reinstall grub-efi
sudo grub-install
sudo update-grub
sudo update-initramfs -d -k all

Dernière modification par geole (Le 17/03/2022, à 12:38)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#85 Le 17/03/2022, à 11:22

bouhq

Re : [ Résolu]Echec de prise en charge de langue

Bonjour, le plantage a eu lieu effectivement au moment de " sudo grub- install "

bouhq a écrit :

sudo grub- install
installing for x86_64-efi platform

Je vais faire, comme demandé, les nouvelles commandes;)

Hors ligne

#86 Le 17/03/2022, à 12:01

bouhq

Re : [ Résolu]Echec de prise en charge de langue

Les commandes ont été exécutées sans erreurs, j'ai fait exit pour quitter le live usb et j'ai rebouté mais ça m'a conduit au GRUB. En voici le retour des commandes avant l'exit:

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

lubuntu@lubuntu:~$ setxkbmap fr
lubuntu@lubuntu:~$ sudo mount /dev/sda4 /mnt
lubuntu@lubuntu:~$ sudo mount --bind /dev /mnt/dev
lubuntu@lubuntu:~$ sudo mount -t proc  /proc              /mnt/proc
lubuntu@lubuntu:~$ sudo mount -t sysfs /sys               /mnt/sys
lubuntu@lubuntu:~$ sudo mount --bind   /run               /mnt/run
lubuntu@lubuntu:~$ sudo mount --bind   /sys               /mnt/sys
lubuntu@lubuntu:~$ sudo modprobe efivars
lubuntu@lubuntu:~$ sudo chroot /mnt
root@lubuntu:/# mount -t devpts devpts /dev/pts
root@lubuntu:/# ping -c4 google.fr
PING google.fr (172.217.171.195) 56(84) bytes of data.
64 bytes from mrs09s06-in-f3.1e100.net (172.217.171.195): icmp_seq=1 ttl=115 time=28.7 ms
64 bytes from mrs09s06-in-f3.1e100.net (172.217.171.195): icmp_seq=2 ttl=115 time=27.3 ms
64 bytes from mrs09s06-in-f3.1e100.net (172.217.171.195): icmp_seq=3 ttl=115 time=28.3 ms
64 bytes from mrs09s06-in-f3.1e100.net (172.217.171.195): icmp_seq=4 ttl=115 time=25.4 ms

--- google.fr ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3006ms
rtt min/avg/max/mdev = 25.414/27.418/28.676/1.256 ms
root@lubuntu:/# ls   -ls /home
total 12
12 drwxr-xr-x 48 pierre pierre 12288 Mar 10 22:21 pierre
root@lubuntu:/# sudo mount /dev/sda1  /boot/efi
root@lubuntu:/# sudo apt-mark  hold   secureboot-db  
secureboot-db set on hold.
root@lubuntu:/# sudo apt-mark  hold   fwupdate-signed
E: Can't select installed nor candidate version from package 'fwupdate-signed' as it has neither of them
E: لم يُعثر على أية حزم
root@lubuntu:/# sudo apt-mark  hold   grub-efi-amd64-signed
grub-efi-amd64-signed set on hold.
root@lubuntu:/# sudo apt-mark  hold   shim-signe
E: تعذر العثور على الحزمة shim-signe
E: لم يُعثر على أية حزم
root@lubuntu:/# sudo apt-get install --reinstall grub-efi
قراءة قوائم الحزم... تمّ0%
Building dependency tree                  
Reading state information... تمّ
0 سيتم ترقيتها، 0 مثبتة حديثاً،  1 أعيد تثبيتها، 0 لإزالتها و 8 لم يتم ترقيتها.
بحاجة إلى جلب 0 ب/2596 ب من الأرشيف.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 336520 files and directories currently installed.)
Preparing to unpack .../grub-efi_2.04-1ubuntu26.13_amd64.deb ...
Unpacking grub-efi (2.04-1ubuntu26.13) over (2.04-1ubuntu26.13) ...
Setting up grub-efi (2.04-1ubuntu26.13) ...
root@lubuntu:/# sudo update-initramfs -d -k all
update-initramfs: Deleting /boot/initrd.img-5.4.0-104-generic
update-initramfs: Deleting /boot/initrd.img-4.15.0-171-generic
root@lubuntu:/#

Hors ligne

#87 Le 17/03/2022, à 12:16

geole

Re : [ Résolu]Echec de prise en charge de langue

Si je comprend bien.
Tu n'as pas fait ces deux commandes

sudo grub-install
sudo update-grub

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#88 Le 17/03/2022, à 12:30

bouhq

Re : [ Résolu]Echec de prise en charge de langue

Si, j'ai fait les commandes de sette série en bok, y compris les deux mentionnées dans ton dernier post:

sudo apt-get install --reinstall grub-efi
sudo grub-install
sudo update-grub

je ne sais pas pourquoi elles n'ont pas donné de retour ce qui t'as fait dire que je ne les ai pas faites. Dois-je faire les commandes une à une?

Hors ligne

#89 Le 17/03/2022, à 12:37

geole

Re : [ Résolu]Echec de prise en charge de langue

Je suis quand quand même surpris de ne pas les voir

je modifie, pour les faire de façon séparée


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#90 Le 17/03/2022, à 15:35

bouhq

Re : [ Résolu]Echec de prise en charge de langue

J'ai refait, encore une fois, les commandes, ça se passait bien jusqu'à:

sudo grub-install

Le système s'est planté. J"en déduis que les trois commandes

sudo apt-get install --reinstall grub-efi
sudo grub-install
sudo update-grub

Exécutées en bloc  ne causaient pas de problème mais le " grub-install" et le "update-grub" n'apparaissent pas et ne donnent pas de rétour. Mais exécutées de manière séparée, ça se bloque au stade de " Grub-install".

Hors ligne

#91 Le 17/03/2022, à 15:41

geole

Re : [ Résolu]Echec de prise en charge de langue

OK.


Relance  mais remplace
grub-install par

sudo grub-install  --efi-directory=/boot/efi --no-uefi-secure-boot

Si cela plante encore pareil, cela sera avec cette commande

sudo grub-install --no-nvram --efi-directory=/boot/efi --no-uefi-secure-boot

Dernière modification par geole (Le 17/03/2022, à 15:43)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#92 Le 17/03/2022, à 15:50

bouhq

Re : [ Résolu]Echec de prise en charge de langue

Et sudo update-grub, reste sans modification?

Hors ligne

#93 Le 17/03/2022, à 16:13

geole

Re : [ Résolu]Echec de prise en charge de langue

oui.


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#94 Le 17/03/2022, à 18:01

bouhq

Re : [ Résolu]Echec de prise en charge de langue

Ca ne se plante pas mais ça ne boote pas non plus:
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

lubuntu@lubuntu:~$ setxkbmap fr
lubuntu@lubuntu:~$ sudo mount /dev/sda4 /mnt
lubuntu@lubuntu:~$ sudo mount --bind /dev /mnt/dev
lubuntu@lubuntu:~$ sudo mount -t proc  /proc              /mnt/proc
lubuntu@lubuntu:~$ sudo mount -t sysfs /sys               /mnt/sys
lubuntu@lubuntu:~$ sudo mount --bind   /run               /mnt/run
lubuntu@lubuntu:~$ sudo mount --bind   /sys               /mnt/sys
lubuntu@lubuntu:~$ sudo modprobe efivars
lubuntu@lubuntu:~$ sudo chroot /mnt
root@lubuntu:/# mount -t devpts devpts /dev/pts
root@lubuntu:/# ping -c4 google.fr
PING google.fr (172.217.171.195) 56(84) bytes of data.
64 bytes from mrs09s06-in-f3.1e100.net (172.217.171.195): icmp_seq=1 ttl=115 time=203 ms
64 bytes from mrs09s06-in-f3.1e100.net (172.217.171.195): icmp_seq=2 ttl=115 time=85.4 ms
64 bytes from mrs09s06-in-f3.1e100.net (172.217.171.195): icmp_seq=3 ttl=115 time=221 ms
64 bytes from mrs09s06-in-f3.1e100.net (172.217.171.195): icmp_seq=4 ttl=115 time=244 ms

--- google.fr ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 85.370/188.208/243.945/61.159 ms
root@lubuntu:/# ls   -ls /home
total 12
12 drwxr-xr-x 48 pierre pierre 12288 Mar 10 22:21 pierre
root@lubuntu:/# sudo apt-mark  hold   secureboot-db  
secureboot-db was already set on hold.
root@lubuntu:/# sudo apt-mark  hold   fwupdate-signed
E: Can't select installed nor candidate version from package 'fwupdate-signed' as it has neither of them
E: لم يُعثر على أية حزم
root@lubuntu:/# sudo apt-mark  hold   grub-efi-amd64-signed
grub-efi-amd64-signed was already set on hold.
root@lubuntu:/# sudo apt-mark  hold   shim-signed
shim-signed set on hold.
root@lubuntu:/# sudo apt-get install --reinstall grub-efi
قراءة قوائم الحزم... تمّ
Building dependency tree                  
Reading state information... تمّ
0 سيتم ترقيتها، 0 مثبتة حديثاً،  1 أعيد تثبيتها، 0 لإزالتها و 8 لم يتم ترقيتها.
بحاجة إلى جلب 0 ب/2596 ب من الأرشيف.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 336520 files and directories currently installed.)
Preparing to unpack .../grub-efi_2.04-1ubuntu26.13_amd64.deb ...
Unpacking grub-efi (2.04-1ubuntu26.13) over (2.04-1ubuntu26.13) ...
Setting up grub-efi (2.04-1ubuntu26.13) ...
root@lubuntu:/# sudo grub-install  --efi-directory=/boot/efi --no-uefi-secure-boot
Installing for x86_64-efi platform.
grub-install: error: /boot/efi doesn't look like an EFI partition.
root@lubuntu:/# sudo grub-install --no-nvram --efi-directory=/boot/efi --no-uefi-secure-boot
Installing for x86_64-efi platform.
grub-install: error: /boot/efi doesn't look like an EFI partition.
root@lubuntu:/# sudo 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-104-generic
Found linux image: /boot/vmlinuz-4.15.0-171-generic
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings
done
root@lubuntu:/# root@lubuntu:/# exit
exit
lubuntu@lubuntu:~$

ça affiche quelques erreurs:

E: Can't select installed nor candidate version from package 'fwupdate-signed' as it has neither of them
root@lubuntu:/# sudo grub-install  --efi-directory=/boot/efi --no-uefi-secure-boot
Installing for x86_64-efi platform.
grub-install: error: /boot/efi doesn't look like an EFI partition]
root@lubuntu:/# sudo grub-install --no-nvram --efi-directory=/boot/efi --no-uefi-secure-boot
Installing for x86_64-efi platform.
grub-install: error: /boot/efi doesn't look like an EFI partition

.
J'en déduis que le Grub qui fait problème.
Quelle analyse en fais-tu?

Hors ligne

#95 Le 17/03/2022, à 18:58

geole

Re : [ Résolu]Echec de prise en charge de langue

On a raté le montage de la partition EFI
grub-install: error: /boot/efi doesn't look like an EFI partition

et je ne vois pas sa commande  faite
Elle était prévue entre ces deux commandes
ls   -ls /home
           sudo mount /dev/sda1  /boot/efi
sudo apt-mark  hold   secureboot-db   

et  dans ta capture, elle n'y est pas

root@lubuntu:/# ls   -ls /home
total 12
12 drwxr-xr-x 48 pierre pierre 12288 Mar 10 22:21 pierre
root@lubuntu:/# sudo apt-mark  hold   secureboot-db  

Cette fois-ci tu peux éviter de  faire les 4 commandes de marquage
Je vais tout te re-préparer en enlevant le superflu.

Dernière modification par geole (Le 17/03/2022, à 19:03)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#96 Le 17/03/2022, à 19:15

geole

Re : [ Résolu]Echec de prise en charge de langue

Démarre sur la session live usb, ouvre un terminal, 

setxkbmap fr

Préparation

sudo mount /dev/sda4 /mnt
sudo mount --bind /dev /mnt/dev
sudo mount -t proc  /proc              /mnt/proc
sudo mount -t sysfs /sys               /mnt/sys
sudo mount --bind   /run               /mnt/run
sudo mount --bind   /sys               /mnt/sys
sudo modprobe efivars 

Le chroot

sudo chroot /mnt
mount -t devpts devpts /dev/pts 
ls   -ls /home 
sudo mount -v /dev/sda1  /boot/efi

Comme réparation, je propose  maintenant     d inverser les deux commandes   en mettant la moins risquée en premier .

sudo grub-install --no-nvram --efi-directory=/boot/efi --no-uefi-secure-boot
sudo update-grub
sudo update-initramfs -d -k all

puis tenter de voir si celle-ci plante.  Si elle plante, on aura fait la précédente.

sudo grub-install  --efi-directory=/boot/efi --no-uefi-secure-boot
sudo update-grub
sudo update-initramfs -d -k all

J ai remis   deux fois le paquet des trois commandes

Dernière modification par geole (Le 17/03/2022, à 19:16)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#97 Le 17/03/2022, à 19:27

bouhq

Re : [ Résolu]Echec de prise en charge de langue

Excuse-moi, mais ça veut dire quoi tu as remis deux fois le paquet des trois commandes?

Hors ligne

#98 Le 17/03/2022, à 20:10

bouhq

Re : [ Résolu]Echec de prise en charge de langue

Ca ne s'est pas planté et c'est sans erreurs mais toujours  le F12  ne boote pas sur linux

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

lubuntu@lubuntu:~$ setxkbmap fr
lubuntu@lubuntu:~$ sudo mount /dev/sda4 /mnt
lubuntu@lubuntu:~$ sudo mount --bind /dev /mnt/dev
lubuntu@lubuntu:~$ sudo mount -t proc  /proc              /mnt/proc
lubuntu@lubuntu:~$ sudo mount -t sysfs /sys               /mnt/sys
lubuntu@lubuntu:~$ sudo mount --bind   /run               /mnt/run
lubuntu@lubuntu:~$ sudo mount --bind   /sys               /mnt/sys
lubuntu@lubuntu:~$ sudo modprobe efivars
lubuntu@lubuntu:~$ sudo chroot /mnt
root@lubuntu:/# mount -t devpts devpts /dev/pts
root@lubuntu:/# ls   -ls /home
total 12
12 drwxr-xr-x 48 pierre pierre 12288 Mar 10 22:21 pierre
root@lubuntu:/# sudo mount -v /dev/sda1  /boot/efi
mount: /dev/sda1 mounted on /boot/efi.
root@lubuntu:/# sudo grub-install --no-nvram --efi-directory=/boot/efi --no-uefi-secure-boot
Installing for x86_64-efi platform.
Installation finished. No error reported.
root@lubuntu:/# sudo 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-104-generic
Found linux image: /boot/vmlinuz-4.15.0-171-generic
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings
done
root@lubuntu:/# sudo update-initramfs -d -k all
root@lubuntu:/# sudo update-initramfs -d -k all
root@lubuntu:/# exit
exit
lubuntu@lubuntu:~$

N.B: puisque ça ne s'et pas planté je n'ai pas fait la commande

sudo grub-install  --efi-directory=/boot/efi --no-uefi-secure-boot

Hors ligne

#99 Le 17/03/2022, à 20:29

geole

Re : [ Résolu]Echec de prise en charge de langue

Maintenant, il faudrait que tu fasses un boot-info afin de voir si le grub est arrivé au  bon endroit

Lorsque tu dis,  "F12  ne boote pas sur linux"
Est-ce toujours la fameuse ligne sans aucun message ni devant ni après

Minimal Bash-like line editing is supported. For the first word. TAB lists possible command completions.Anywhere else TAB lists possible device or file completions

Question,  Comme j'ai eu le temps de parcourir ta vieille discussion,   est-ce que avant cet incident, tu bootais avec le grub ou avec refind? car si ton bios te propose refind, cela pourrait s'essayer.

Dernière modification par geole (Le 17/03/2022, à 20:37)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#100 Le 17/03/2022, à 22:06

bouhq

Re : [ Résolu]Echec de prise en charge de langue

Oui, c'est bien cette fameuse ligne.
Non je boote avec le F12 qui me propose soit le windows, soit Linux, soit l'USB géneric. et en cliquant sur Linux j'ai mon  Lubuntu 18.04

Hors ligne