Pages : 1
#1 Le 25/02/2024, à 18:02
- gatzy
Problèmes au démarrage - Ubuntu 22.04 LTS
Bonjour
Depuis hier le démarrage de l'ordi n'est plus automatique...
- la 1ère fois, je suis restée bloquée sur l'écran :
J'ai éteint et rallumé et en tapant sur (Tab - F8) j'ai eu accès à cet écran :
- si je laisse l'option proposée par défaut (= Ubuntu), au bout de quelques secondes, j'obtiens un écran noir
- si je choisis la 2ème = "Advanced options for Ubuntu", j'ai les propositions suivantes :
et il faut que je choisisse la 4ème ligne pour qu'Ubuntu démarre correctement...
J'ai lancé Boot-Repair, le rapport est ici : https://paste.ubuntu.com/p/zHTbsmWDNS/
Est-ce que vous voyez ce qu'il faudrait corriger pour que le lancement redevienne "automatique" ?
Hors ligne
#2 Le 25/02/2024, à 18:18
- xubu1957
Re : Problèmes au démarrage - Ubuntu 22.04 LTS
Bonjour,
Collage du Boot-repair, pour les spécialistes :
boot-repair-4ppa2075 [20240225_1657]
============================= Boot Repair Summary ==============================
Default settings: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda3,
using the following options: sda2/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 22.04.4 LTS entry (sda2/efi/****/grub****.efi (**** will be updated in the final message) file) !
User settings: _________________________________________________________________
modprobe: FATAL: Module efivars not found in directory /lib/modules/6.5.0-18-generic
The settings chosen by the user will reinstall the grub-efi of
sda3,
using the following options: sda2/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups
rm /boot/efi/efi/Boot/bootx64.efi
mv /boot/efi/efi/Boot/bkpbootx64.efi /boot/efi/efi/Boot/bootx64.efi
/dev/sda3/boot/efi not empty
===================== Reinstall the grub-efi of /dev/sda3 ======================
grub-install --version
grub-install (GRUB) 2.06-2ubuntu7.2
modprobe: FATAL: Module efivars not found in directory /lib/modules/6.5.0-18-generic
modprobe efivars
efibootmgr -v before grub install
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0001,0002,0003,000C,0004,0005,0006,0008
Boot0000* ubuntu HD(2,GPT,21eed2f8-b489-46a2-a62f-e5cf7caba2bd,0x1000,0x100800)/File(EFIubuntushimx64.efi)
Boot0001* DTO UEFI USB Floppy/CD VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0500000001)..BO
Boot0002* DTO UEFI USB Hard Drive VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0200000001)..BO
Boot0003* DTO UEFI ATAPI CD-ROM Drive VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0300000001)..BO
Boot0004* CD/DVD Drive BBS(CDROM,,0x0)..GO..NO{.......+.S.A.T.A. . .P.M.:. .h.p. . . . . . .D.V.D. .A. . .D.S.8.A.C.........................rN.D+..,............BO
Boot0005* DTO Legacy USB Floppy/CD VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0500000000)..BO
Boot0006* Hard Drive BBS(HD,,0x0)..GO..NO?.........F.a.k.e. .U.s.b. .O.p.t.i.o.n.................BO..NO{.......+.S.A.T.A. . .P.M.:. .K.I.N.G.S.T.O.N. .S.A.4.0.0.S.3.7.2.4.0.........................rN.D+..,............BO..NOw.......+.S.A.T.A. . .P.M.:. .T.O.S.H.I.B.A. .D.T.0.1.A.C.A.0.5.0.........................rN.D+..,............BO
Boot0008* Realtek PXE B02 D00 BBS(Network,,0x0)..BO
Boot000C* KINGSTON SA400S37240G PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,65535,0)/HD(2,GPT,21eed2f8-b489-46a2-a62f-e5cf7caba2bd,0x1000,0x100800)..BO
uname -r
6.5.0-18-generic
grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
Installation finished. No error reported.
df /dev/sda2
mv /boot/efi/EFI/Boot/bootx64.efi /boot/efi/EFI/Boot/bkpbootx64.efi
cp /boot/efi/efi/ubuntu/grubx64.efi /boot/efi/EFI/Boot/bootx64.efi
grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
Installation finished. No error reported.
efibootmgr -v after grub install
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0001,0002,0003,000C,0004,0005,0006,0008
Boot0000* ubuntu HD(2,GPT,21eed2f8-b489-46a2-a62f-e5cf7caba2bd,0x1000,0x100800)/File(EFIubuntushimx64.efi)
Boot0001* DTO UEFI USB Floppy/CD VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0500000001)..BO
Boot0002* DTO UEFI USB Hard Drive VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0200000001)..BO
Boot0003* DTO UEFI ATAPI CD-ROM Drive VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0300000001)..BO
Boot0004* CD/DVD Drive BBS(CDROM,,0x0)..GO..NO{.......+.S.A.T.A. . .P.M.:. .h.p. . . . . . .D.V.D. .A. . .D.S.8.A.C.........................rN.D+..,............BO
Boot0005* DTO Legacy USB Floppy/CD VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0500000000)..BO
Boot0006* Hard Drive BBS(HD,,0x0)..GO..NO?.........F.a.k.e. .U.s.b. .O.p.t.i.o.n.................BO..NO{.......+.S.A.T.A. . .P.M.:. .K.I.N.G.S.T.O.N. .S.A.4.0.0.S.3.7.2.4.0.........................rN.D+..,............BO..NOw.......+.S.A.T.A. . .P.M.:. .T.O.S.H.I.B.A. .D.T.0.1.A.C.A.0.5.0.........................rN.D+..,............BO
Boot0008* Realtek PXE B02 D00 BBS(Network,,0x0)..BO
Boot000C* KINGSTON SA400S37240G PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,65535,0)/HD(2,GPT,21eed2f8-b489-46a2-a62f-e5cf7caba2bd,0x1000,0x100800)..BO
Warning: NVram was not modified.
update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Found linux image: /boot/vmlinuz-6.5.0-21-generic
Found initrd image: /boot/initrd.img-6.5.0-21-generic
Found linux image: /boot/vmlinuz-6.5.0-18-generic
Found initrd image: /boot/initrd.img-6.5.0-18-generic
Adding boot menu entry for UEFI Firmware Settings ...
Unhide GRUB boot menu in sda3/boot/grub/grub.cfg
Le démarrage de l'ordinateur a été correctement réparé.
Vous pouvez maintenant redémarrer votre ordinateur.
N'oubliez pas de faire démarrer votre firmware UEFI sur l'entrée L'OS actuellement utilisé - Ubuntu 22.04.4 LTS (fichier sda2/efi/ubuntu/grubx64.efi) !
============================ Boot Info After Repair ============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 2048
of the same hard drive for core.img. core.img is at this location and
looks for (,gpt3)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_gpt biosdisk
---------------------------------------------------------------------------
=> Windows is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
sda2: __________________________________________________________________________
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/BOOT/mmx64.efi
/efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
/efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg
sda3: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 22.04.4 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
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.4 LTS on sda3
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller from Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.5.0-18-generic root=UUID=a1404e13-57de-4172-947b-03c1b990418a ro quiet splash vt.handoff=7
df -Th / : /dev/sda3 ext4 219G 39G 170G 19% /
===================================== UEFI =====================================
BIOS/UEFI firmware: L02 v02.39(2.39) from Hewlett-Packard
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0001,0002,0003,000C,0004,0005,0006,0008
Boot0000* ubuntu HD(2,GPT,21eed2f8-b489-46a2-a62f-e5cf7caba2bd,0x1000,0x100800)/File(\EFI\ubuntu\shimx64.efi)
Boot0001* DTO UEFI USB Floppy/CD VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0500000001)..BO
Boot0002* DTO UEFI USB Hard Drive VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0200000001)..BO
Boot0003* DTO UEFI ATAPI CD-ROM Drive VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0300000001)..BO
Boot0004* CD/DVD Drive BBS(CDROM,,0x0)..GO..NO{.......+.S.A.T.A. . .P.M.:. .h.p. . . . . . .D.V.D. .A. . .D.S.8.A.C.........................rN.D+..,.\...........BO
Boot0005* DTO Legacy USB Floppy/CD VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0500000000)..BO
Boot0006* Hard Drive BBS(HD,,0x0)..GO..NO?.........F.a.k.e. .U.s.b. .O.p.t.i.o.n.................BO..NO{.......+.S.A.T.A. . .P.M.:. .K.I.N.G.S.T.O.N. .S.A.4.0.0.S.3.7.2.4.0.........................rN.D+..,.\...........BO..NOw.......+.S.A.T.A. . .P.M.:. .T.O.S.H.I.B.A. .D.T.0.1.A.C.A.0.5.0.........................rN.D+..,.\...........BO
Boot0008* Realtek PXE B02 D00 BBS(Network,,0x0)..BO
Boot000C* KINGSTON SA400S37240G PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,65535,0)/HD(2,GPT,21eed2f8-b489-46a2-a62f-e5cf7caba2bd,0x1000,0x100800)..BO
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, hasBIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
sdb : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda3 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
sdb1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda2 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sda3 : isnotESP, fstab-has-goodEFI, 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
sda2 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda3 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sdb1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sda2 : 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: 223.57 GiB, 240057409536 bytes, 468862128 sectors
Disk identifier: 5F544457-2AD5-4CAB-BF36-20800C4DB3AA
Start End Sectors Size Type
sda1 2048 4095 2048 1M BIOS boot
sda2 4096 1054719 1050624 513M EFI System
sda3 1054720 468860927 467806208 223.1G Linux filesystem
Disk sdb: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0xdc870d1e
Boot Start End Sectors Size Id Type
sdb1 2048 781252607 781250560 372.5G 83 Linux
parted -lm (filtered): _________________________________________________________
sda:240GB:scsi:512:512:gpt:ATA KINGSTON SA400S3:;
1:1049kB:2097kB:1049kB:::bios_grub;
2:2097kB:540MB:538MB:fat32:EFI System Partition:boot, esp;
3:540MB:240GB:240GB:ext4::;
sdb:500GB:scsi:512:4096:msdos:ATA TOSHIBA DT01ACA0:;
1:1049kB:400GB:400GB:ext4::;
Free space >10MiB: ______________________________________________________________
sdb: 381471MiB:476940MiB:95469MiB
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 d5cec78f-b907-4caf-bf21-f944b9511172
├─sda2 vfat 5C59-0994 21eed2f8-b489-46a2-a62f-e5cf7caba2bd EFI System Partition
└─sda3 ext4 a1404e13-57de-4172-947b-03c1b990418a 9930ab94-9a44-47e1-934a-259827333fb4
sdb
└─sdb1 ext4 206c45b2-8617-4841-a0ef-f71d9737f191 dc870d1e-01 DATA
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda3 169.2G 17% /
/dev/sdb1 195.6G 41% /mnt/boot-sav/sdb1
efivarfs 279.7K 11% /sys/firmware/efi/efivars
Mount options (filtered): ______________________________________________________
/dev/sda3 ext4 rw,relatime,errors=remount-ro
/dev/sdb1 ext4 rw,relatime
===================== sda2/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid a1404e13-57de-4172-947b-03c1b990418a root hd0,gpt3
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda3/boot/grub/grub.cfg (filtered) ======================
Ubuntu a1404e13-57de-4172-947b-03c1b990418a
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sda3/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda3 during installation
UUID=a1404e13-57de-4172-947b-03c1b990418a / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda2 during installation
UUID=5C59-0994 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
======================= sda3/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=""
GRUB_DISABLE_OS_PROBER=false
==================== sda3: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
22,188140869 = 23,824334848 boot/grub/grub.cfg 1
127,079059601 = 136,450101248 boot/grub/i386-pc/core.img 1
14,078678131 = 15,116865536 boot/vmlinuz 1
19,406803131 = 20,837896192 boot/vmlinuz-6.5.0-18-generic 1
14,078678131 = 15,116865536 boot/vmlinuz-6.5.0-21-generic 1
19,406803131 = 20,837896192 boot/vmlinuz.old 1
191,127925873 = 205,222047744 boot/initrd.img 2
18,998035431 = 20,398985216 boot/initrd.img-6.5.0-18-generic 1
191,127925873 = 205,222047744 boot/initrd.img-6.5.0-21-generic 2
18,998035431 = 20,398985216 boot/initrd.img.old 1
===================== sda3: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18683 Apr 15 2022 10_linux
-rwxr-xr-x 1 root root 43031 Apr 15 2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 Dec 18 2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 Apr 15 2022 30_os-prober
-rwxr-xr-x 1 root root 1372 Apr 15 2022 30_uefi-firmware
-rwxr-xr-x 1 root root 700 Feb 19 2022 35_fwupd
-rwxr-xr-x 1 root root 214 Apr 15 2022 40_custom
-rwxr-xr-x 1 root root 215 Apr 15 2022 41_custom
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
#3 Le 25/02/2024, à 18:20
- geole
Re : Problèmes au démarrage - Ubuntu 22.04 LTS
Bonjour.
Il faut continuer à faire les mises à jour régulièrement. Cela finira bien par se réparer lors de l'arrivée d'un nouveau noyau.
Dernière modification par geole (Le 25/02/2024, à 18:22)
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
#4 Le 26/02/2024, à 18:10
- gatzy
Re : Problèmes au démarrage - Ubuntu 22.04 LTS
Bonsoir
Merci pour vos réponses : si je comprends bien, il faut que je sois patiente pas très satisfaisant mais je vais faire avec en attendant la nouvelle livraison LTS...
Je laisse la discussion ouverte pour l'instant, des fois que quelqu'un aurait une idée...
Hors ligne