#1 Le 27/09/2022, à 21:38
- Xaxou
[Résolu] Problème de mise à jour plutôt que d'installation
Bonsoir !
J'espère être au bon endroit pour cette demande d'aide. Depuis hier, je ne réussis plus à lancer "normalement" Ubuntu 22.04. Il y a eu une mise à jour alors que ça fonctionnait encore, sans que je ne sache si c'est lié. Ma version actuelle est la 5-15-0-48-generic.
Je m'explique : si je laisse l'ordinateur démarrer normalement, je vois défiler un certain nombre de lignes pendant le chargement, puis un écran "Lenovo" avec Ubuntu. Jusque là, tout est classique. Puis j'obtiens un écran noir au lieu d'avoir l'écran de connexion (celui où j'indique l'utilisateur et où j'entre le mot de passe).
La seule solution que j'ai trouvée est d'ouvrir tty5 (Ctrl+Alt+F5) pour m'authentifier, procéder à un reboot, et passer par le grub. En lançant la version "recovery", puis en choisissant "resume", le démarrage se fait comme d'habitude : j'ai accès à l'écran de connexion, et je peux me servir normalement d'Ubuntu.
N'ayant pas vu de bouton "Rapport en ligne", voici ci-après les résultats de boot-info.
Je suis preneur de toute idée !
Merci par avance,
Xavier
boot-info-4ppa200 [20220927_2234]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> No boot loader is installed in the MBR of /dev/sdb.
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: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 22.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sdb1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
================================ 1 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 22.04.1 LTS CurrentSession on sda2
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: UHD Graphics 620 Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile] EFI VGA from Intel Corporation Advanced Micro Devices, Inc. [AMD/ATI]
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.15.0-48-generic root=UUID=4186052e-29b8-4018-906b-b82a1481ecf5 ro recovery nomodeset dis_ucode_ldr
df -Th / : /dev/sda2 ext4 117G 41G 70G 37% /
===================================== UEFI =====================================
BIOS/UEFI firmware: 8TCN43WW(1.43) from LENOVO
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled - SecureBoot disabled - Veuillez indiquer ce message à boot.repair@gmail.com.
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,2003,2001,2002
Boot0000* ubuntu HD(1,GPT,c600f925-d1a0-4f75-9042-fcd85a0b4c3a,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0005* EFI Network 0 for IPv4 (8C-16-45-B7-E5-A3) PciRoot(0x0)/Pci(0x1c,0x4)/Pci(0x0,0x0)/MAC(8c1645b7e5a3,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot0006* EFI Network 0 for IPv6 (8C-16-45-B7-E5-A3) PciRoot(0x0)/Pci(0x1c,0x4)/Pci(0x0,0x0)/MAC(8c1645b7e5a3,0)/IPv6([::]:<->[::]:,0,0)RC
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
sdb : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda2 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sda2 : 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
sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda2 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sdb1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sda1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 119.24 GiB, 128035676160 bytes, 250069680 sectors
Disk identifier: C607E561-3765-46B8-9A9C-3720435B6F56
Start End Sectors Size Type
sda1 2048 1050623 1048576 512M EFI System
sda2 1050624 250068991 249018368 118.7G Linux filesystem
Disk sdb: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 481700A2-38B3-47CF-9BA4-763D0005EED3
Start End Sectors Size Type
sdb1 2048 1953523711 1953521664 931.5G Linux filesystem
parted -lm (filtered): _________________________________________________________
sda:128GB:scsi:512:512:gpt:ATA HFS128G3BTND-N21:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:128GB:127GB:ext4::;
sdb:1000GB:scsi:512:4096:gpt:ATA ST1000LM035-1RK1:;
1:1049kB:1000GB:1000GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat 985E-EC2A c600f925-d1a0-4f75-9042-fcd85a0b4c3a EFI System Partition
└─sda2 ext4 4186052e-29b8-4018-906b-b82a1481ecf5 55fe6625-f27b-45dc-9c4c-5831cad6edf9
sdb
└─sdb1 ext4 9a5971f6-3fd7-4009-8258-271ed6677f48 8399b39e-223c-45c6-8860-5ae9fcb114bb DATA
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda2 69.8G 35% /
/dev/sda2[/usr/share/hunspell] 69.8G 35% /var/snap/firefox/common/host-hunspell
/dev/sdb1 868.6G 0% /mnt/boot-sav/sdb1
Mount options (filtered): ______________________________________________________
/dev/sda2 ext4 rw,relatime,errors=remount-ro
/dev/sda2[/usr/share/hunspell] ext4 ro,noexec,noatime,errors=remount-ro
/dev/sdb1 ext4 rw,relatime
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid 4186052e-29b8-4018-906b-b82a1481ecf5 root hd0,gpt2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu 4186052e-29b8-4018-906b-b82a1481ecf5
Ubuntu, with Linux 5.15.0-48-generic 4186052e-29b8-4018-906b-b82a1481ecf5
Ubuntu, with Linux 5.15.0-47-generic 4186052e-29b8-4018-906b-b82a1481ecf5
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sda2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=4186052e-29b8-4018-906b-b82a1481ecf5 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=985E-EC2A /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
======================= sda2/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
==================== sda2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
14.083667755 = 15.122223104 boot/grub/grub.cfg 1
27.035148621 = 29.028769792 boot/vmlinuz 1
25.097652435 = 26.948399104 boot/vmlinuz-5.15.0-47-generic 2
27.035148621 = 29.028769792 boot/vmlinuz-5.15.0-48-generic 1
25.097652435 = 26.948399104 boot/vmlinuz.old 2
37.391597748 = 40.148922368 boot/initrd.img 2
46.341224670 = 49.758511104 boot/initrd.img-5.15.0-47-generic 1
37.391597748 = 40.148922368 boot/initrd.img-5.15.0-48-generic 2
46.341224670 = 49.758511104 boot/initrd.img.old 1
===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18683 Apr 15 23:50 10_linux
-rwxr-xr-x 1 root root 43031 Apr 15 23:50 10_linux_zfs
-rwxr-xr-x 1 root root 14180 Apr 15 23:50 20_linux_xen
-rwxr-xr-x 1 root root 13369 Apr 15 23:50 30_os-prober
-rwxr-xr-x 1 root root 1372 Apr 15 23:50 30_uefi-firmware
-rwxr-xr-x 1 root root 700 Feb 21 2022 35_fwupd
-rwxr-xr-x 1 root root 214 Apr 15 2020 40_custom
-rwxr-xr-x 1 root root 215 Apr 15 23:50 41_custom
=========================== sda2/etc/grub.d/35_fwupd ===========================
#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
. /var/lib/fwupd/uefi_capsule.conf
if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
${grub_probe:?}
prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
chainloader ${EFI_PATH}
}
EOF
fi
fi
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would not act on the boot.
Dernière modification par Xaxou (Le 28/09/2022, à 21:32)
Hors ligne
#2 Le 27/09/2022, à 22:17
- geole
Re : [Résolu] Problème de mise à jour plutôt que d'installation
Bonsoir.
Si cela fonctionne en mode recovery, c'est un problème de pilote graphique.
Regarde cette documentation.
Dernière modification par geole (Le 27/09/2022, à 22:19)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#3 Le 28/09/2022, à 05:42
- xubu1957
Re : [Résolu] Problème de mise à jour plutôt que d'installation
Bonjour,
As-tu moyen de changer de session avec la roue crantée, pour tester x11 ?
Trahison : avant la mise à niveau, la session était X11 (j'avais passé la commande pour m'en assurer) et après mise à niveau, la session démarre par défaut sur Wayland. Il ne faut pas s'étonner que ceux qui tentent la mise à niveau avec un vieil ordi puissent avoir des soucis avec ça (du genre barre d'applications invisible et autres soucis d'affichage du bureau)
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] 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
#4 Le 28/09/2022, à 21:31
- Xaxou
Re : [Résolu] Problème de mise à jour plutôt que d'installation
Bonjour à vous deux,
xubu, je n'ai pas trouvé la roue crantée dans Ubuntu 22.04 : mon écran de connexion diffère de celui présenté dans le lien que tu donnes.
geole, merci pour ton éclairage : j'avais en effet le pilote amdgpu installé, et ai utilisé la méthode donné dans ce lien pour le désinstaller. J'en suis au point 2/, le reboot a fonctionné comme souhaité. Le temps de procéder au point 3, et je me servirai de la section un peu avant pour voir si je peux réinstaller de façon compatible.
Je passe le sujet en résolu, merci à tous les deux !
Xavier
Hors ligne