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.

#1 Le 11/06/2020, à 18:23

benjemaa

GRUB: Problème démarrage suite installation backports-4.19.112-1.tar.g

Bonjour

Je ne suis pas expert en Linux, je sollicite donc votre compétence et votre générosité.

J'ai un Asus qui montre des lacunes au niveau de la connexion Wifi (signal trop faible). J'ai cherché sur le net et je suis tombé sur cette article dont j'ai suivi les conseils.
https://askubuntu.com/questions/1033679 … untu-18-04
Après l'installation du fichier backports-4.19.112-1.tar.gz, ubuntu s'est bloqué à la fenêtre du login (ni clavier ni souris ne fonctionnent).

J'ai changé, au niveau du démarrage, la version du noyau en choisissant la version directement en dessous de l'actuelle et ça a fonctionné (4.15.0-101-generic), mais fallait supprimer le boot sur la dernière version (4.15.0-106-generic).

J'ai refait une recherche pour pouvoir m'en sortir et c'est alors que je suis tombé sur cet article

https://www.skyminds.net/ubuntu-supprim … tion-boot/

Sauf que d'après ce que j'ai compris de la manipulation (après l'avoir faite), que la version fonctionnelle a elle aussi été supprimée car elle était ancienne.

Je vous joins les résultats de certaines commandes.

$ uname -r
4.15.0-101-generic

$ sudo dpkg --list 'linux-image*'|awk '{ if ($1=="ii") print $2}'|grep -v `uname -r`
linux-image-unsigned-4.15.0-106-generic

D'après cette commande, il ne reste plus que la version corrompue .

J'ai exécuté la commande suivante:
sudo add-apt-repository -y ppa:yannubuntu/boot-repair && sudo apt update && sudo apt install -y boot-info && boot-in

et voilà le résultat du bot-info

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

Merci beaucoup pour votre aide

La question est: Si je redémarre mon PC, quelle version va être prise en compte? Comment faire pour restaurer la version stable 4.15.0-101-generic

Dernière modification par benjemaa (Le 11/06/2020, à 18:23)

Hors ligne

#2 Le 11/06/2020, à 18:26

xubu1957

Re : GRUB: Problème démarrage suite installation backports-4.19.112-1.tar.g

Bonjour,

Collage du boot-info :

boot-info-4ppa125                                              [20200611_0954]

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

 => Grub2 (v1.99-2.00) is installed in the MBR of /dev/sdb and looks at sector 
    129024 of the same hard drive for core.img, but core.img can not be found 
    at this location.

sdb1: __________________________________________________________________________

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

sdb2: __________________________________________________________________________

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

sdb3: __________________________________________________________________________

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

sda: ___________________________________________________________________________

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


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

OS#1:   L'OS actuellement utilisé - Ubuntu 18.04.4 LTS CurrentSession on sdb2

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

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-4.15.0-101-generic root=UUID=1cf13cea-f61e-4302-9841-01e5dba72eb3 ro quiet splash vt.handoff=1


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

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

efibootmgr -v
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0002
Boot0000* ubuntu	HD(1,GPT,7738f03e-6d8e-47d2-bd52-a312de6715de,0x800,0x100000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0002* TOSHIBA MQ04ABF100	BBS(HD,,0x0)..GO..NO........o.H.F.S.1.2.8.G.3.9.T.N.D.-.N.2.1.0.A....................A...........................>..Gd-.;.A..MQ..L.J.E.B.7.5.N.3.1.1.5.8.0.B.0.2.C. .V. . ........BO..NO........o.T.O.S.H.I.B.A. .M.Q.0.4.A.B.F.1.0.0....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . . . .Y. .F.7.P.8.1.B.T.Q........BO

f7a57b08bc7c1c85417ae4cea582d1d4   sdb1/BOOT/bkpbootx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4   sdb1/BOOT/bootx64.efi
bed45d1c9554cea09924d3814cb7c446   sdb1/BOOT/fbx64.efi
64a633007e3d5a9a5943e417442548d6   sdb1/ubuntu/grubx64.efi
4487628005555bfd4a4c0a47211e0700   sdb1/ubuntu/mmx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4   sdb1/ubuntu/shimx64.efi


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

sdb2	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sdb2	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdb
sdb1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb

fdisk -l (filtered): ___________________________________________________________

Disk sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk sdb: 119.2 GiB, 128035676160 bytes, 250069680 sectors
Disk identifier: E6C8EA1E-CD66-4DA6-B7DF-BC6A3D02491E
          Start       End   Sectors   Size Type
sdb1       2048   1050623   1048576   512M EFI System
sdb2    1050624 234066248 233015625 111.1G Linux filesystem
sdb3  234067968 250068991  16001024   7.6G Linux swap

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:4096:loop:ATA TOSHIBA MQ04ABF1:;
1:0.00B:1000GB:1000GB:ext4::;
sdb:128GB:scsi:512:4096:gpt:ATA HFS128G39TND-N21:;
1:1049kB:538MB:537MB:fat32::boot, esp;
2:538MB:120GB:119GB:ext4::;
3:120GB:128GB:8193MB:linux-swap(v1)::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL PARTLABEL
sda    ext4     0580540e-cbe2-4b51-953b-70d769e2c87d                                            
sdb                                                                                             
├─sdb1 vfat     3B7E-6DC8                            7738f03e-6d8e-47d2-bd52-a312de6715de       
├─sdb2 ext4     1cf13cea-f61e-4302-9841-01e5dba72eb3 74f1b693-dc1f-46e7-893a-4c4f943dd05a       
└─sdb3 swap     1545d7c6-4e42-47a0-b2ef-bc09d793007d c0806a98-6742-4533-9516-b83cb496cb6f       

df (filtered): _________________________________________________________________

                   Avail Use% Mounted on
sda               305.9G  62% /home
sdb2               84.7G  17% /

Mount options: __________________________________________________________________

sda               rw,relatime,data=ordered
sdb2              rw,relatime,errors=remount-ro,data=ordered

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

search.fs_uuid 1cf13cea-f61e-4302-9841-01e5dba72eb3 root hd1,gpt2 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   1cf13cea-f61e-4302-9841-01e5dba72eb3
Ubuntu, avec Linux 4.15.0-106-generic   1cf13cea-f61e-4302-9841-01e5dba72eb3
Ubuntu, avec Linux 4.15.0-101-generic   1cf13cea-f61e-4302-9841-01e5dba72eb3
### END /etc/grub.d/30_os-prober ###
System setup   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb2/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb2 during installation
UUID=1cf13cea-f61e-4302-9841-01e5dba72eb3 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sdb1 during installation
UUID=3B7E-6DC8  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sda during installation
UUID=0580540e-cbe2-4b51-953b-70d769e2c87d /home           ext4    defaults        0       2
# swap was on /dev/sdb3 during installation
UUID=1545d7c6-4e42-47a0-b2ef-bc09d793007d none            swap    sw              0       0

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

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

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

           GiB - GB             File                                 Fragment(s)
  92.815708160 = 99.660107776   boot/grub/grub.cfg                             3
   4.454090118 = 4.782542848    boot/vmlinuz-4.15.0-101-generic                1
  21.676746368 = 23.275229184   boot/vmlinuz-4.15.0-106-generic                1
   4.454090118 = 4.782542848    vmlinuz                                        1
  21.676746368 = 23.275229184   vmlinuz.old                                    1
  21.901477814 = 23.516532736   boot/initrd.img-4.15.0-101-generic             4
  21.901477814 = 23.516532736   initrd.img                                     4

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

-rwxr-xr-x 1 root root 12693 juil. 17  2018 10_linux
-rwxr-xr-x 1 root root 11298 juil. 17  2018 20_linux_xen
-rwxr-xr-x 1 root root 12059 juil. 17  2018 30_os-prober
-rwxr-xr-x 1 root root  1418 juil. 17  2018 30_uefi-firmware
-rwxr-xr-x 1 root root   214 juil. 17  2018 40_custom
-rwxr-xr-x 1 root root   216 juil. 17  2018 41_custom


Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
sdb2,
using the following options:        sdb1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s  use-standard-efi-file  restore-efi-backups  

Final advice in case of suggested repair: ______________________________________


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

_ _ _

Montre, en te servant du Retour utilisable de commande :

lspci -nnk | grep 0280 -A3
lsmod | grep cfg80211
rfkill list all
iwconfig
nmcli dev wifi

Dernière modification par xubu1957 (Le 11/06/2020, à 18:36)


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

En ligne

#3 Le 11/06/2020, à 18:35

geole

Re : GRUB: Problème démarrage suite installation backports-4.19.112-1.tar.g

Bonjour
Dans le retour du boot-info, on voit

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

           GiB - GB             File                                 Fragment(s)
 301.362293243 = 323.585298432  boot/vmlinuz-4.15.0-101-generic                2
 344.741199493 = 370.163044352  boot/vmlinuz-4.15.0-99-generic                 1
 443.986743927 = 476.727136256  boot/initrd.img-4.15.0-101-generic             7
 351.199775696 = 377.097887744  boot/initrd.img-4.15.0-99-generic              1

Donc si tu lances le boot-repair-standard tu vas retrouver le choix entre ces deux noyaux.

Dernière modification par geole (Le 11/06/2020, à 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

#4 Le 11/06/2020, à 18:39

benjemaa

Re : GRUB: Problème démarrage suite installation backports-4.19.112-1.tar.g

Merci pour votre retour
Je vous joins le résultat des commandes.
Toutefois, je pense qu'il m'est plus urgent de trouver une solution concernant la version du noyau à démarrer

$ lspci -nnk | grep 0280 -A3
02:00.0 Network controller [0280]: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter [168c:0042] (rev 31)
	Subsystem: AzureWave QCA9377 802.11ac Wireless Network Adapter [1a3b:2231]
	Kernel driver in use: ath10k_pci
	Kernel modules: ath10k_pci
$ lsmod | grep cfg80211
cfg80211              634880  3 ath,mac80211,ath10k_core
$ rfkill list all
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
2: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
$ iwconfig
lo        no wireless extensions.

vmnet1    no wireless extensions.

vmnet8    no wireless extensions.

wlp2s0    IEEE 802.11  ESSID:"wifi"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: BC:30:7D:
          Bit Rate=1 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=54/70  Signal level=-56 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:1  Invalid misc:215   Missed beacon:0
$ nmcli dev wifi
IN-USE  SSID  MODE   CHAN  RATE       SIGNAL  BARS  SECURITY 
*       wifi  Infra  11    54 Mbit/s  68      ▂▄▆_  WPA2  

Hors ligne

#5 Le 11/06/2020, à 19:16

benjemaa

Re : GRUB: Problème démarrage suite installation backports-4.19.112-1.tar.g

C'est bon, j'ai résolu le problème de démarrage. Reste à trouver une solution pour le wifi.

@xubu1957, @geole: Merci pour votre aide

Hors ligne

#6 Le 11/06/2020, à 19:25

xubu1957

Re : GRUB: Problème démarrage suite installation backports-4.19.112-1.tar.g

Vu :

wlp2s0    IEEE 802.11  ESSID:"wifi"  
          Mode:Managed  Frequency:2.462 GHz  
          Bit Rate=1 Mb/s  

Les dernières tentatives > Wifi lent - Qualcomm Atheros QCA9377 (Ubuntu 18.04.1)

_ _ _

(edit=messages regroupés)
_ _ _


Je vois cette réponse récente > reddit.com/r/linuxmint/comments/fjkg4x/qualcomm_atheros_qca9377

Dernière modification par xubu1957 (Le 11/06/2020, à 19:49)


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

En ligne