Pages : 1
#1 Le 16/12/2022, à 18:13
- rentabilicus
Démarrage en FAILED
Bonjour,
Lorsque je lance mon ubuintu 20.04 sur un disque dur en usb externe j'atterris en fin avec un message "end trace" et s'arrête.
Auparavent je reléve deux lignes en FAILED :
- systemd-udevd-control.socket
- systemd-udevd-kernel.socket
Je redémarre en mode rescue et il me demande de taper les commandes suivantes :
systemctl status systemd-udevd-control.socket
systemctl status systemd-udevd-kernel.socket[
Ce que j'exécute dans un terminal avec un live usb ubuntu :
$ systemctl status systemd-udevd-control.socket
● systemd-udevd-control.socket - udev Control Socket
Loaded: loaded (/lib/systemd/system/systemd-udevd-control.socket; static)
Active: active (running) since Fri 2022-12-16 16:40:12 UTC; 2min 44s ago
Triggers: ● systemd-udevd.service
Docs: man:systemd-udevd-control.socket(8)
man:udev(7)
Listen: /run/udev/control (SequentialPacket)
CGroup: /system.slice/systemd-udevd-control.socket
Notice: journal has been rotated since unit was started, output may be incomplete.
~
$ systemctl status systemd-udevd-kernel.socket
● systemd-udevd-kernel.socket - udev Kernel Socket
Loaded: loaded (/lib/systemd/system/systemd-udevd-kernel.socket; static)
Active: active (running) since Fri 2022-12-16 16:40:12 UTC; 6min ago
Triggers: ● systemd-udevd.service
Docs: man:systemd-udevd-kernel.socket(8)
man:udev(7)
Listen: kobject-uevent 1 (Netlink)
CGroup: /system.slice/systemd-udevd-kernel.socket
Notice: journal has been rotated since unit was started, output may be incomplete.
J'ai deux lignes identiques en "Notice" que j'ai du mal à comprendre.
Et là je ne sais plus quoi faire pour redémarer mon système ubuntu 20.04.
Merci pour votre aide.
Dernière modification par rentabilicus (Le 16/12/2022, à 18:14)
Hors ligne
#2 Le 16/12/2022, à 23:09
- geole
Re : Démarrage en FAILED
Bonsoir.
Je redémarre en mode rescue et il me demande de taper les commandes suivantes :
systemctl status systemd-udevd-control.socket
systemctl status systemd-udevd-kernel.socket[
Ce que j'exécute dans un terminal avec un live usb ubuntu :
Ou as-tu vu/lu qu'il fallait les faire en en live-usb?
Il faut faire ces commandes dans la session quî plante immédiatemet après le moment où cela est proposé.
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 23/12/2022, à 16:40
- rentabilicus
Re : Démarrage en FAILED
Dificile d'écrire quand le clavier est en qwerty...
Après avoir utilisé les outils boot-repair ou doctor grub - qui se sont bien déroulé - je démarre dèsormais en interface grub>.
Cela voudrait dire que le programme de démarrage GRUB n'existerait pas !!!
Comment faire ?
Hors ligne
#4 Le 23/12/2022, à 16:43
- iznobe
Re : Démarrage en FAILED
Dificile d'écrire quand le clavier est en qwerty...
Bonjour , les copier coller n ' ont que faire du parametrage du clavier .
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#5 Le 29/12/2022, à 15:37
- rentabilicus
Re : Démarrage en FAILED
J'ai plus d'informations sur mon souci :
Boot-repair m'indique que les paquets dosfstools et mtools sont absents :
Et pour cause Gparted notifie que la prise en charge des systèmes de fichiers EFI sont gérés par les deux derniers paquets ubuntu cités plus haut :
Impossible de lire le contenu du système de fichiers.
Pour cette raison, certaines opérations peuvent être indisponibles.
La raison peut être l’absence d’un paquet logiciel.
Voici la liste des paquets logiciels nécessaires pour la prise en charge du système de fichiers fat32 : dosfstools, mtools.
Ma question est comment installé les paquets dosfstools et mtools alors que mon système de fichiers est sur un disque amovible usb et que ce dernier ne redémarre pas faute de grub.
Dernière modification par rentabilicus (Le 29/12/2022, à 15:46)
Hors ligne
#6 Le 29/12/2022, à 16:18
- geole
Re : Démarrage en FAILED
Bonjour
Puisque tu as boot-repair, lance-boot-repair pour réparer le grub du disque externe. J'espère qu'il y pense pour les supports externes
Lorsque tu auras booté, tu pourras installer les logiciels manquants..
Note qu'un boot-info n'est pas superflu.
Je ne comprends pas cette phrase comme toi.
Boot-repair n'indique pas que les paquets dosfstools et mtools sont absents dans un O.S. installé.
Normalement il n'a pas besoin du logiciel installé pour réparer. Cela voudrait dire que c'est dans le LIVE-USB (Une première) que ces logiciels sont absents. Donc
sudo apt install dosfstools mtools
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
#7 Le 29/12/2022, à 19:44
- rentabilicus
Re : Démarrage en FAILED
J'ai pu installer le paquet mtools absent.
Boot-repair s'est bien passé sans erreur cette fois-ci
Mais au redémarrage de ma machine j'obtiens le même message :
Minimal BASH like line editing is supported
Je redémare une live usb ubuntu et je relance Boot-repair.
Et je demande un Boot Info :
============================== Boot Info Summary ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 34
of the same hard drive for core.img. core.img is at this location and
looks for (,2)/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
offsetio extcmd macho elf file setkey gettext boot bufio verifiers crypto
terminal normal datetime date mmap drivemap blocklist regexp archelp newc
vga_text relocator video chain ntldr search_label search_fs_file
search_fs_uuid search keylayouts at_keyboard pci usb usb_keyboard gcry_md5
hashsum gcry_crc gzio xzio lzopio lspci fshelp ext2 xfs acpi iso9660
gcry_sha1 div udf exfat font diskfilter raid6rec zstd btrfs ventoy read
halt video_fb vbe linux linux16 test true sleep reboot echo bitmap
bitmap_scale gfxterm trig video_colors gfxmenu videotest videoinfo
functional_test videotest_checksum video_cirrus video_bochs vga minicmd
help configfile tr biosdisk disk ls tar squash4 pbkdf2 gcry_sha512
password_pbkdf2 all_video png jpeg part_gpt part_msdos fat ntfs loopback
gfxterm_background procfs gfxterm_menu smbios
---------------------------------------------------------------------------
=> Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector
1133547520 of the same hard drive for core.img. core.img is at this
location and looks for /boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_gpt biosdisk search_fs_uuid
---------------------------------------------------------------------------
config script
---------------------------------------------------------------------------
search.fs_uuid 92fb0192-01b3-4bb8-a6a6-3879795a559d root hd0,gpt7
set prefix=($root)'/boot/grub'
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: exfat
Boot sector type: -
Boot sector info:
Mounting failed: mount: /mnt/BootInfo/sda1: /dev/sda1 déjà monté ou point de montage actif.
sda2: __________________________________________________________________________
File system: iso9660
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of
sda2 and looks at sector 0 of the same hard drive for
core.img, but core.img can not be found at this
location.
Operating System:
Boot files: /boot/grub/grub.cfg
sdb1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 20.04.2 LTS
Boot files: /etc/fstab /etc/default/grub
sdb2: __________________________________________________________________________
File system: ext4
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of
sdb2 and looks at sector 34986336 of the same hard
drive for core.img, but core.img can not be found at
this location.
Operating System:
Boot files:
sdb3: __________________________________________________________________________
File system: ext4
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of
sdb3 and looks at sector 34986336 of the same hard
drive for core.img, but core.img can not be found at
this location.
Operating System:
Boot files:
sdb4: __________________________________________________________________________
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
sdb5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb6: __________________________________________________________________________
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/grub.cfg
================================ 1 OS detected =================================
OS#1: Ubuntu 20.04.2 LTS on sdb1
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] from Advanced Micro Devices, Inc. [AMD/ATI]
Live-session OS is Ubuntu 64-bit (Ubuntu 22.04 LTS, jammy, x86_64)
===================================== UEFI =====================================
BIOS/UEFI firmware: 3.C0(5.13) from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0004
Timeout: 1 seconds
BootOrder: 0000,0004,0005,0002,0003
Boot0002 CD/DVD Drive BBS(CDROM,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0300)..GO..NO..........A.T.A.P.I. . . .i.H.A.S.1.2.4. . . .F...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L.5.3.4.2.2.7. .8.4.2.5.8.0.3.0.5.7.1.6.2........BO
Boot0003 USB HDD BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0900)..GO..NO.........A.S. .M.a.s.s. .S.t.o.r.a.g.e. .1...0.0...................\.,.@.r.d.=.X..........A.............................6..Gd-.;.A..MQ..L.5.B.4.A.E.1.1.2.9.6.0.2.B.1.F.7........BO..NO..........G.e.n.e.r.i.c. .E.x.t.e.r.n.a.l. .0.1.1.0...................\.,.@.r.d.=.X..........A.............................f..Gd-.;.A..MQ..L.3.2.3.0.3.1.3.9.3.0.3.9.3.1.3.7.3.0.3.1.3.7.3.1.2.0.2.0.2.0.2.0.2.0.2.0.2.0.2.0........BO
Boot0004* UEFI: AS Mass Storage 1.00, Partition 2 PciRoot(0x0)/Pci(0x1,0x2)/Pci(0x0,0x0)/USB(1,0)/HD(2,GPT,ba41cbcd-f254-e98b-f29f-a46c7fa11dce,0x3b95fd8,0x10000)..BO
Boot0005* UEFI OS HD(6,GPT,f73ce4f6-ba07-47df-9240-c1d431e770e1,0x6272b000,0xfa000)/File(\EFI\BOOT\BOOTX64.EFI)..BO
51cfb66bc06dfbc97be2a010ebef52f3 sdb6/BOOT/bkpbootx64.efi
51cfb66bc06dfbc97be2a010ebef52f3 sdb6/BOOT/bootx64.efi
2895d47544fd587b26c7e29be1295c27 sdb6/BOOT/fbx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84 sdb6/BOOT/mmx64.efi
51cfb66bc06dfbc97be2a010ebef52f3 sdb6/ubuntu/grubx64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sdb : is-GPT, hasBIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sdb1 : is-os, 64, apt-get, signed grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
sdb2 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb3 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb5 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb6 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
Partitions info (2/3): _________________________________________________________
sdb1 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb2 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb3 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb5 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb6 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sdb1 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sdb
sdb2 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdb3 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdb5 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdb6 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
fdisk -l (filtered): ___________________________________________________________
Disk sda: 29.82 GiB, 32023511040 bytes, 62545920 sectors
Disk identifier: F06CF278-8938-4A65-D487-4A683E83178A
Start End Sectors Size Type
sda1 2048 62480343 62478296 29.8G Microsoft basic data
sda2 62480344 62545879 65536 32M Microsoft basic data
Disk sdb: 931.51 GiB, 1000204885504 bytes, 1953525167 sectors
Disk identifier: E9AA5247-AE20-45A6-A889-7E32A414F21C
Start End Sectors Size Type
sdb1 2048 550895615 550893568 262.7G Linux filesystem
sdb2 550895616 845447167 294551552 140.5G Linux filesystem
sdb3 845447168 1133547519 288100352 137.4G Linux filesystem
sdb4 1133547520 1133549567 2048 1M BIOS boot
sdb5 1133549568 1645547519 511997952 244.1G Linux filesystem
sdb6 1651683328 1652707327 1024000 500M EFI System
Disk mapper/ventoy: 3.4 GiB, 3654957056 bytes, 7138588 sectors
Disk identifier: A09DB2B8-B5F6-43AE-AFB3-91E0A90189A1
Start End Sectors Size Type
mapper/ventoy-part1 64 7129427 7129364 3.4G Microsoft basic data
mapper/ventoy-part2 7129428 7137923 8496 4.1M EFI System
mapper/ventoy-part3 7137924 7138523 600 300K Microsoft basic data
parted -lm (filtered): _________________________________________________________
sda:32.0GB:scsi:512:512:gpt:AS Mass Storage:;
1:1049kB:32.0GB:32.0GB::Ventoy:msftdata;
2:32.0GB:32.0GB:33.6MB:fat16:VTOYEFI:hidden, msftdata;
sdb:1000GB:scsi:512:512:gpt:Generic External:;
1:1049kB:282GB:282GB:ext4:Linux filesystem:;
2:282GB:433GB:151GB:ext4:Linux filesystem:;
3:433GB:580GB:148GB:ext4:Linux filesystem:;
4:580GB:580GB:1049kB::Bios-Boot:bios_grub;
5:580GB:843GB:262GB:ext4:Linux filesystem:;
6:846GB:846GB:524MB:fat32:EFI System Partition:boot, esp;
mapper/ventoy:3655MB:dm:512:512:gpt:Linux device-mapper (linear):;
1:32.8kB:3650MB:3650MB::ISO9660:hidden, msftdata;
2:3650MB:3655MB:4350kB::Appended2:boot, esp;
3:3655MB:3655MB:307kB::Gap1:hidden, msftdata;
Free space >10MiB: ______________________________________________________________
sdb: 803490MiB:806486MiB:2996MiB
sdb: 806986MiB:953870MiB:146884MiB
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 exfat 43C9-C0DC 1da9bd7d-746e-2779-275a-bd7f355cdaa8 Ventoy Ventoy
│ └─ventoy
└─sda2 iso9660 2022-04-19-10-23-19-00 Ubuntu 22.04 LTS amd64
sdb
├─sdb1 ext4 f70f0a44-80a3-4430-a2c4-cfa4b6353771 ce058204-3c8e-4169-b4ae-d1023638498d / Linux filesystem
├─sdb2 ext4 0fcb997d-d8d8-4ba2-b1ae-356f52816281 5a28ec3d-1c7b-4c4b-899c-7ded2512ff62 Linux filesystem
├─sdb3 ext4 0fcb997d-d8d8-4ba2-b1ae-356f52816281 c40eba06-a83e-41a3-bcbe-c4530a91562b Linux filesystem
├─sdb4 a4cfd1d3-2710-4ae2-9c52-11a49eef1f76 Bios-Boot
├─sdb5 ext4 0f4a8983-f576-460f-b908-002ce3d66fe3 28688e73-2f77-40f3-8afa-9978573201ac Linux filesystem
└─sdb6 vfat A4B2-3BF5 f73ce4f6-ba07-47df-9240-c1d431e770e1 BOOTEFI EFI System Partition
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/mapper/ventoy 0 100% /cdrom
/dev/sdb1 48.3G 76% /mnt/boot-sav/sdb1
/dev/sdb2 17.2G 82% /mnt/boot-sav/sdb2
/dev/sdb3 14.3G 84% /mnt/boot-sav/sdb3
/dev/sdb5 227G 0% /mnt/boot-sav/sdb5
/dev/sdb6 491.6M 1% /mnt/boot-sav/sdb6
Mount options (filtered): ______________________________________________________
============================== ls -R /dev/mapper/ ==============================
/dev/mapper:
control
ventoy
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Try or Install Ubuntu
Ubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings
Test memory
==================== sda2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
========================== sdb1/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda4 during installation
UUID=f70f0a44-80a3-4430-a2c4-cfa4b6353771 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda3 during installation
/swapfile none swap sw 0 0
UUID=A4B2-3BF5 /boot/efi vfat defaults 0 1
======================= sdb1/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="acpi=off"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false
==================== sdb1: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
62,868160248 = 67,504173056 boot/vmlinuz-5.4.0-135-generic 2
62,868160248 = 67,504173056 vmlinuz 2
62,868160248 = 67,504173056 vmlinuz.old 2
232,791786194 = 249,958277120 boot/initrd.img-5.4.0-135-generic 1
232,791786194 = 249,958277120 initrd.img 1
232,791786194 = 249,958277120 initrd.img.old 1
===================== sdb1: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18224 Jan 11 2022 10_linux.dpkg-dist
===================== sdb6/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid f70f0a44-80a3-4430-a2c4-cfa4b6353771 root hd1,gpt1
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
================================= User choice ==================================
Is there RAID on this computer? no
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi of
sdb1,
using the following options: sdb6/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 Ubuntu 20.04.2 LTS entry (sdb6/efi/****/grub****.efi (**** will be updated in the final message) file) !
Dont je ne comprends pas le début et la fin concernant les erreurs à corriger.
Hors ligne
#8 Le 29/12/2022, à 20:12
- geole
Re : Démarrage en FAILED
Bonjour
Je pense qu'a priori tu bootais en mode legacy... On voit du grub partout. Aucun n'est à jour.
En légacy, le grub doit s'installer dans
sdb4: __________________________________________________________________________
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
Cela serait peut-être plus simple de migrer en EFI après avoir fait la réparation que je te propose
Reinstaller la structure du grub chapitre 3.3 options du grub https://doc.ubuntu-fr.org/boot-repair
tu seras amené à ouvrir un terminal et à faire des copier-coller de commandes. Tu devras accepter de ne plus avoir de grub pendant l'opération.
Dernière modification par geole (Le 11/01/2023, à 17:54)
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
#9 Le 06/01/2023, à 14:58
- rentabilicus
Re : Démarrage en FAILED
Une chose est claire:
Boot-repair ne peut rien faire pour m'aider à résoudre mon problème de boot car après avoir relancé un boot info :
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would not act on the boot.
D'où mon message de Boot-repair plus haut.
Des idées ?
Hors ligne
#10 Le 11/01/2023, à 17:33
- rentabilicus
Re : Démarrage en FAILED
Aucune idèe !!!
Hors ligne
#11 Le 11/01/2023, à 18:00
- geole
Re : Démarrage en FAILED
Bonjour
Je t'avaisi proposé d'utiliser boot-repair pour réinstaller le grub legacy....
Cela ne se fait pas avec la réparation recommandée, mais en utilisant le mode avancé. Je t'avais fourni le lien
Le mieux serait que tu donnes la totalité du boot-info ou simplement son URL plutôt que sa conclusion.
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
#12 Le 11/01/2023, à 18:08
- rentabilicus
Re : Démarrage en FAILED
J'ai opéré un nouveau Boot-repair en cliquant sur l'option réparation recommandée :
boot-repair-4ppa203 [20230111_1648]
============================= Boot Repair Summary ==============================
User choice:
Is there RAID on this computer? no
grub-probe : erreur : impossible de trouver un périphérique GRUB pour /dev/sda2. Vérifiez device.map..
grub-probe : erreur : impossible de trouver un périphérique GRUB pour /dev/sda2. Vérifiez device.map..
Recommended repair: ____________________________________________________________
The default repair of the Boot-Repair utility will reinstall the grub-efi of
sdb1,
using the following options: sdb6/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups
rm /mnt/boot-sav/sdb6/efi/Boot/bootx64.efi
mv /mnt/boot-sav/sdb6/efi/Boot/bkpbootx64.efi /mnt/boot-sav/sdb6/efi/Boot/bootx64.efi
Mount sdb6 on /media/ubuntu/_/boot/efi
======================== Reinstall the grub-efi of sdb1 ========================
chroot /media/ubuntu/_ grub-install --version
grub-install (GRUB) 2.04-1ubuntu26.15
modprobe: FATAL: Module efivars not found in directory /lib/modules/5.15.0-25-generic
chroot /media/ubuntu/_ modprobe efivars
chroot /media/ubuntu/_ efibootmgr -v before grub install
BootCurrent: 0008
Timeout: 1 seconds
BootOrder: 0008,0002,0007
Boot0002 CD/DVD Drive BBS(CDROM,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0300)..GO..NO..........A.T.A.P.I. . . .i.H.A.S.1.2.4. . . .F....................,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L.5.3.4.2.2.7. .8.4.2.5.8.0.3.0.5.7.1.6.2........BO
Boot0007 USB HDD BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0900)..GO..NO.........A.S. .M.a.s.s. .S.t.o.r.a.g.e. .1...0.0....................,.@.r.d.=.X..........A.............................6..Gd-.;.A..MQ..L.5.B.4.A.E.1.1.2.9.6.0.2.B.1.F.7........BO
Boot0008* UEFI: AS Mass Storage 1.00, Partition 2 PciRoot(0x0)/Pci(0x1,0x2)/Pci(0x0,0x0)/USB(1,0)/HD(2,GPT,ba41cbcd-f254-e98b-f29f-a46c7fa11dce,0x3b95fd8,0x10000)..BO
chroot /media/ubuntu/_ uname -r
5.15.0-25-generic
chroot /media/ubuntu/_ grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
Installation finished. No error reported.
df /dev/sdb6
mv /media/ubuntu/_/boot/efi/EFI/Boot/bootx64.efi /media/ubuntu/_/boot/efi/EFI/Boot/bkpbootx64.efi
cp /media/ubuntu/_/boot/efi/efi/ubuntu/grubx64.efi /media/ubuntu/_/boot/efi/EFI/Boot/bootx64.efi
chroot /media/ubuntu/_ grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
Installation finished. No error reported.
chroot /media/ubuntu/_ efibootmgr -v after grub install
BootCurrent: 0008
Timeout: 1 seconds
BootOrder: 0000,0008,0002,0007
Boot0000* ubuntu HD(6,GPT,f73ce4f6-ba07-47df-9240-c1d431e770e1,0x6272b000,0xfa000)/File(EFIubuntugrubx64.efi)
Boot0002 CD/DVD Drive BBS(CDROM,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0300)..GO..NO..........A.T.A.P.I. . . .i.H.A.S.1.2.4. . . .F....................,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L.5.3.4.2.2.7. .8.4.2.5.8.0.3.0.5.7.1.6.2........BO
Boot0007 USB HDD BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0900)..GO..NO.........A.S. .M.a.s.s. .S.t.o.r.a.g.e. .1...0.0....................,.@.r.d.=.X..........A.............................6..Gd-.;.A..MQ..L.5.B.4.A.E.1.1.2.9.6.0.2.B.1.F.7........BO
Boot0008* UEFI: AS Mass Storage 1.00, Partition 2 PciRoot(0x0)/Pci(0x1,0x2)/Pci(0x0,0x0)/USB(1,0)/HD(2,GPT,ba41cbcd-f254-e98b-f29f-a46c7fa11dce,0x3b95fd8,0x10000)..BO
chroot /media/ubuntu/_ update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Script `/boot/grub/grub.cfg.new' contains no commands and will do nothing
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.
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 Ubuntu 20.04.2 LTS (fichier sdb6/efi/ubuntu/grubx64.efi) !
============================ Boot Info After Repair ============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 34
of the same hard drive for core.img. core.img is at this location and
looks for (,2)/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
offsetio extcmd macho elf file setkey gettext boot bufio verifiers crypto
terminal normal datetime date mmap drivemap blocklist regexp archelp newc
vga_text relocator video chain ntldr search_label search_fs_file
search_fs_uuid search keylayouts at_keyboard pci usb usb_keyboard gcry_md5
hashsum gcry_crc gzio xzio lzopio lspci fshelp ext2 xfs acpi iso9660
gcry_sha1 div udf exfat font diskfilter raid6rec zstd btrfs ventoy read
halt video_fb vbe linux linux16 test true sleep reboot echo bitmap
bitmap_scale gfxterm trig video_colors gfxmenu videotest videoinfo
functional_test videotest_checksum video_cirrus video_bochs vga minicmd
help configfile tr biosdisk disk ls tar squash4 pbkdf2 gcry_sha512
password_pbkdf2 all_video png jpeg part_gpt part_msdos fat ntfs loopback
gfxterm_background procfs gfxterm_menu smbios
---------------------------------------------------------------------------
=> Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector
1133547520 of the same hard drive for core.img. core.img is at this
location and looks for /boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_gpt biosdisk search_fs_uuid
---------------------------------------------------------------------------
config script
---------------------------------------------------------------------------
search.fs_uuid 92fb0192-01b3-4bb8-a6a6-3879795a559d root hd0,gpt7
set prefix=($root)'/boot/grub'
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: exfat
Boot sector type: -
Boot sector info:
Mounting failed: mount: /mnt/BootInfo/sda1: /dev/sda1 déjà monté ou point de montage actif.
sda2: __________________________________________________________________________
File system: iso9660
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of
sda2 and looks at sector 0 of the same hard drive for
core.img, but core.img can not be found at this
location.
Operating System:
Boot files: /boot/grub/grub.cfg
sdb1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 20.04.2 LTS
Boot files: /etc/fstab /etc/default/grub
sdb2: __________________________________________________________________________
File system: ext4
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of
sdb2 and looks at sector 34986336 of the same hard
drive for core.img, but core.img can not be found at
this location.
Operating System:
Boot files:
sdb3: __________________________________________________________________________
File system: ext4
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of
sdb3 and looks at sector 34986336 of the same hard
drive for core.img, but core.img can not be found at
this location.
Operating System:
Boot files:
sdb4: __________________________________________________________________________
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
sdb5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb6: __________________________________________________________________________
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/grub.cfg
================================ 1 OS detected =================================
OS#1: Ubuntu 20.04.2 LTS on sdb1
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] from Advanced Micro Devices, Inc. [AMD/ATI]
Live-session OS is Ubuntu 64-bit (Ubuntu 22.04 LTS, jammy, x86_64)
===================================== UEFI =====================================
BIOS/UEFI firmware: 3.C0(5.13) from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0008
Timeout: 1 seconds
BootOrder: 0000,0008,0002,0007
Boot0002 CD/DVD Drive BBS(CDROM,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0300)..GO..NO..........A.T.A.P.I. . . .i.H.A.S.1.2.4. . . .F...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L.5.3.4.2.2.7. .8.4.2.5.8.0.3.0.5.7.1.6.2........BO
Boot0007 USB HDD BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0900)..GO..NO.........A.S. .M.a.s.s. .S.t.o.r.a.g.e. .1...0.0...................\.,.@.r.d.=.X..........A.............................6..Gd-.;.A..MQ..L.5.B.4.A.E.1.1.2.9.6.0.2.B.1.F.7........BO
Boot0008* UEFI: AS Mass Storage 1.00, Partition 2 PciRoot(0x0)/Pci(0x1,0x2)/Pci(0x0,0x0)/USB(1,0)/HD(2,GPT,ba41cbcd-f254-e98b-f29f-a46c7fa11dce,0x3b95fd8,0x10000)..BO
51cfb66bc06dfbc97be2a010ebef52f3 sdb6/BOOT/bkpbootx64.efi
51cfb66bc06dfbc97be2a010ebef52f3 sdb6/BOOT/bootx64.efi
2895d47544fd587b26c7e29be1295c27 sdb6/BOOT/fbx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84 sdb6/BOOT/mmx64.efi
51cfb66bc06dfbc97be2a010ebef52f3 sdb6/ubuntu/grubx64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sdb : is-GPT, hasBIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sdb2 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb5 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb3 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb1 : is-os, 64, apt-get, signed grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
sdb6 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
Partitions info (2/3): _________________________________________________________
sdb2 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb5 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb3 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb1 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb6 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sdb2 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdb5 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdb3 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdb1 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sdb
sdb6 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
fdisk -l (filtered): ___________________________________________________________
Disk sda: 29.82 GiB, 32023511040 bytes, 62545920 sectors
Disk identifier: F06CF278-8938-4A65-D487-4A683E83178A
Start End Sectors Size Type
sda1 2048 62480343 62478296 29.8G Microsoft basic data
sda2 62480344 62545879 65536 32M Microsoft basic data
Disk mapper/ventoy: 3.4 GiB, 3654957056 bytes, 7138588 sectors
Disk identifier: A09DB2B8-B5F6-43AE-AFB3-91E0A90189A1
Start End Sectors Size Type
mapper/ventoy-part1 64 7129427 7129364 3.4G Microsoft basic data
mapper/ventoy-part2 7129428 7137923 8496 4.1M EFI System
mapper/ventoy-part3 7137924 7138523 600 300K Microsoft basic data
Disk sdb: 931.51 GiB, 1000204885504 bytes, 1953525167 sectors
Disk identifier: E9AA5247-AE20-45A6-A889-7E32A414F21C
Start End Sectors Size Type
sdb1 2048 550895615 550893568 262.7G Linux filesystem
sdb2 550895616 845447167 294551552 140.5G Linux filesystem
sdb3 845447168 1133547519 288100352 137.4G Linux filesystem
sdb4 1133547520 1133549567 2048 1M BIOS boot
sdb5 1133549568 1645547519 511997952 244.1G Linux filesystem
sdb6 1651683328 1652707327 1024000 500M EFI System
parted -lm (filtered): _________________________________________________________
sda:32.0GB:scsi:512:512:gpt:AS Mass Storage:;
1:1049kB:32.0GB:32.0GB::Ventoy:msftdata;
2:32.0GB:32.0GB:33.6MB:fat16:VTOYEFI:hidden, msftdata;
sdb:1000GB:scsi:512:512:gpt:Generic External:;
1:1049kB:282GB:282GB:ext4:Linux filesystem:;
2:282GB:433GB:151GB:ext4:Linux filesystem:;
3:433GB:580GB:148GB:ext4:Linux filesystem:;
4:580GB:580GB:1049kB::Bios-Boot:bios_grub;
5:580GB:843GB:262GB:ext4:Linux filesystem:;
6:846GB:846GB:524MB:fat32:EFI System Partition:boot, esp;
mapper/ventoy:3655MB:dm:512:512:gpt:Linux device-mapper (linear):;
1:32.8kB:3650MB:3650MB::ISO9660:hidden, msftdata;
2:3650MB:3655MB:4350kB::Appended2:boot, esp;
3:3655MB:3655MB:307kB::Gap1:hidden, msftdata;
Free space >10MiB: ______________________________________________________________
sdb: 803490MiB:806486MiB:2996MiB
sdb: 806986MiB:953870MiB:146884MiB
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 exfat 43C9-C0DC 1da9bd7d-746e-2779-275a-bd7f355cdaa8 Ventoy Ventoy
│ └─ventoy
└─sda2 iso9660 2022-04-19-10-23-19-00 Ubuntu 22.04 LTS amd64
sdb
├─sdb1 ext4 f70f0a44-80a3-4430-a2c4-cfa4b6353771 ce058204-3c8e-4169-b4ae-d1023638498d / Linux filesystem
├─sdb2 ext4 0fcb997d-d8d8-4ba2-b1ae-356f52816281 5a28ec3d-1c7b-4c4b-899c-7ded2512ff62 Linux filesystem
├─sdb3 ext4 0fcb997d-d8d8-4ba2-b1ae-356f52816281 c40eba06-a83e-41a3-bcbe-c4530a91562b Linux filesystem
├─sdb4 a4cfd1d3-2710-4ae2-9c52-11a49eef1f76 Bios-Boot
├─sdb5 ext4 0f4a8983-f576-460f-b908-002ce3d66fe3 28688e73-2f77-40f3-8afa-9978573201ac Linux filesystem
└─sdb6 vfat A4B2-3BF5 f73ce4f6-ba07-47df-9240-c1d431e770e1 BOOTEFI EFI System Partition
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/mapper/ventoy 0 100% /cdrom
/dev/sdb1 48.9G 76% /media/ubuntu/_
/dev/sdb2 17.2G 82% /media/ubuntu/0fcb997d-d8d8-4ba2-b1ae-356f52816281
/dev/sdb3 14.3G 84% /media/ubuntu/0fcb997d-d8d8-4ba2-b1ae-356f528162811
/dev/sdb5 227G 0% /media/ubuntu/0f4a8983-f576-460f-b908-002ce3d66fe3
/dev/sdb6 491.7M 1% /mnt/boot-sav/sdb6
Mount options (filtered): ______________________________________________________
============================== ls -R /dev/mapper/ ==============================
/dev/mapper:
control
ventoy
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Try or Install Ubuntu
Ubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings
Test memory
==================== sda2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
========================== sdb1/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda4 during installation
UUID=f70f0a44-80a3-4430-a2c4-cfa4b6353771 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda3 during installation
/swapfile none swap sw 0 0
UUID=A4B2-3BF5 /boot/efi vfat defaults 0 1
======================= sdb1/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="acpi=off"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false
==================== sdb1: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
62,868160248 = 67,504173056 boot/vmlinuz-5.4.0-135-generic 2
62,868160248 = 67,504173056 vmlinuz 2
62,868160248 = 67,504173056 vmlinuz.old 2
232,791786194 = 249,958277120 boot/initrd.img-5.4.0-135-generic 1
232,791786194 = 249,958277120 initrd.img 1
232,791786194 = 249,958277120 initrd.img.old 1
===================== sdb1: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18224 Jan 11 2022 10_linux.dpkg-dist
===================== sdb6/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid f70f0a44-80a3-4430-a2c4-cfa4b6353771 root hd1,gpt1
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
En revanche quand je relance ma machine sur ce disque dur usb l'installation Grub n'est pas fixé et je suis obligé de refaire à nouveau un Boot-repair...
Grose galère.
Hors ligne
#13 Le 11/01/2023, à 18:23
- geole
Re : Démarrage en FAILED
J'avais l'idée de faire une structure de boot légacy, Je t'avais demandé un boot-info., Tu as fait une boot-repair EFI qui se plante.
======================== Reinstall the grub-efi of sdb1 ========================
chroot /media/ubuntu/_ grub-install --version
grub-install (GRUB) 2.04-1ubuntu26.15
modprobe: FATAL: Module efivars not found in directory /lib/modules/5.15.0-25-generic
en plus , il y a cette grosse erreur
Generating grub configuration file ...
Script `/boot/grub/grub.cfg.new' contains no commands and will do nothing
Syntax errors are detected in generated GRUB config file
Pas étonnant qu'il n'y ait plus de structure de boot.
Dans un premier temps, boote en legacy, vérifie que tu as bien booté en legacy.
[ -d /sys/firmware/efi ] && echo "Installé en mode EFI" || echo "Installé en mode LEGACY classique"
et fais un boot-info.
Mais ne serait-il pas plus simple de refaire une installation ?
Dernière modification par geole (Le 11/01/2023, à 18:28)
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
#14 Le 11/01/2023, à 18:57
- rentabilicus
Re : Démarrage en FAILED
J'ai essayé de réinstaller ubuntu mais à partir de live usb ubuntu me propose que d'installer a coté de mon ancienne partition système et je n'ai pas cette option de le réinstaller.
Hors ligne
#15 Le 11/01/2023, à 19:03
- geole
Re : Démarrage en FAILED
Il n'y a pas de raison de ne pas y arriver.
Il faut choisir "installer sur tout le disque" et ne pas se tromper de disque.
ou
il faut prendre le choix "autre chose". il n'y a pas de raison que le disque externe ne soit pas dans la liste.
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
#16 Le 12/01/2023, à 16:25
- rentabilicus
Re : Démarrage en FAILED
J'ai essayé à plusieurs reprises mais j'ai un échec de réinstallation de Ubuntu car j'ai des secteurs défectueux sur cette même partition après vérification.
Resultat d'un smartctl :
sudo smartctl --all /dev/sdb
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-135-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Device Model: SSD 1TB
Serial Number: 201909170171
Firmware Version: R1017A0
User Capacity: 1000204886016 bytes [1,00 TB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ACS-2 T13/2015-D revision 3
SATA Version is: SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Thu Jan 12 15:10:30 2023 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 120) seconds.
Offline data collection
capabilities: (0x11) SMART execute Offline immediate.
No Auto Offline data collection support.
Suspend Offline collection upon new
command.
No Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
No Selective Self-test supported.
SMART capabilities: (0x0002) Does not save SMART data before
entering power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 10) minutes.
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x0032 100 100 050 Old_age Always - 0
5 Reallocated_Sector_Ct 0x0032 100 100 050 Old_age Always - 5
9 Power_On_Hours 0x0032 100 100 050 Old_age Always - 65
12 Power_Cycle_Count 0x0032 100 100 050 Old_age Always - 242
160 Unknown_Attribute 0x0032 100 100 050 Old_age Always - 0
161 Unknown_Attribute 0x0033 100 100 050 Pre-fail Always - 95
163 Unknown_Attribute 0x0032 100 100 050 Old_age Always - 75
164 Unknown_Attribute 0x0032 100 100 050 Old_age Always - 15798
165 Unknown_Attribute 0x0032 100 100 050 Old_age Always - 33
166 Unknown_Attribute 0x0032 100 100 050 Old_age Always - 3
167 Unknown_Attribute 0x0032 100 100 050 Old_age Always - 11
168 Unknown_Attribute 0x0032 100 100 050 Old_age Always - 5050
169 Unknown_Attribute 0x0032 100 100 050 Old_age Always - 100
175 Program_Fail_Count_Chip 0x0032 100 100 050 Old_age Always - 0
176 Erase_Fail_Count_Chip 0x0032 100 100 050 Old_age Always - 0
177 Wear_Leveling_Count 0x0032 100 100 050 Old_age Always - 0
178 Used_Rsvd_Blk_Cnt_Chip 0x0032 100 100 050 Old_age Always - 5
181 Program_Fail_Cnt_Total 0x0032 100 100 050 Old_age Always - 0
182 Erase_Fail_Count_Total 0x0032 100 100 050 Old_age Always - 0
192 Power-Off_Retract_Count 0x0032 100 100 050 Old_age Always - 242
194 Temperature_Celsius 0x0022 100 100 050 Old_age Always - 40
195 Hardware_ECC_Recovered 0x0032 100 100 050 Old_age Always - 0
196 Reallocated_Event_Count 0x0032 100 100 050 Old_age Always - 0
197 Current_Pending_Sector 0x0032 100 100 050 Old_age Always - 5
198 Offline_Uncorrectable 0x0032 100 100 050 Old_age Always - 0
199 UDMA_CRC_Error_Count 0x0032 100 100 050 Old_age Always - 18
232 Available_Reservd_Space 0x0032 100 100 050 Old_age Always - 95
241 Total_LBAs_Written 0x0030 100 100 050 Old_age Offline - 50944
242 Total_LBAs_Read 0x0030 100 100 050 Old_age Offline - 71998
245 Unknown_Attribute 0x0032 100 100 050 Old_age Always - 209644
SMART Error Log Version: 1
Warning: ATA error count 0 inconsistent with error log pointer 1
ATA Error Count: 0
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.
Error -2 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
04 51 00 00 00 00 a0 Error: ABRT
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
b0 d5 01 01 4f c2 00 00 00:00:00.000 SMART READ LOG
b0 da 00 00 4f c2 00 00 00:00:00.000 SMART RETURN STATUS
b0 d0 01 00 4f c2 00 00 00:00:00.000 SMART READ DATA
b0 d5 01 06 4f c2 00 00 00:00:00.000 SMART READ LOG
b0 d5 01 01 4f c2 00 00 00:00:00.000 SMART READ LOG
Error -3 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
04 51 00 00 00 00 a0 Error: ABRT
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
b0 d0 01 00 4f c2 00 00 00:00:00.000 SMART READ DATA
b0 d1 01 01 4f c2 00 00 00:00:00.000 SMART READ ATTRIBUTE THRESHOLDS [OBS-4]
b0 da 00 00 4f c2 00 00 00:00:00.000 SMART RETURN STATUS
b0 d5 01 00 4f c2 00 00 00:00:00.000 SMART READ LOG
b0 d5 01 01 4f c2 00 00 00:00:00.000 SMART READ LOG
Error -4 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
04 51 00 00 00 00 a0 Error: ABRT
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
b0 d0 01 00 4f c2 00 00 00:00:00.000 SMART READ DATA
b0 d1 01 01 4f c2 00 00 00:00:00.000 SMART READ ATTRIBUTE THRESHOLDS [OBS-4]
b0 da 00 00 4f c2 00 00 00:00:00.000 SMART RETURN STATUS
b0 d5 01 00 4f c2 00 00 00:00:00.000 SMART READ LOG
b0 d5 01 01 4f c2 00 00 00:00:00.000 SMART READ LOG
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
Selective Self-tests/Logging not supported
sudo smartctl -l selftest /dev/sdb
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-135-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
Read Device Identity failed: empty IDENTIFY data
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
Dernière modification par rentabilicus (Le 12/01/2023, à 16:40)
Hors ligne
#17 Le 12/01/2023, à 17:09
- geole
Re : Démarrage en FAILED
J'ai essayé à plusieurs reprises mais j'ai un échec de réinstallation de Ubuntu car j'ai des secteurs défectueux sur cette même partition après vérification.
sudo smartctl --all /dev/sdb === START OF INFORMATION SECTION === Device Model: SSD 1TB Serial Number: 201909170171 Firmware Version: R1017A0 User Capacity: 1000204886016 bytes [1,00 TB] Sector Size: 512 bytes logical/physical Rotation Rate: Solid State Device ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 5 Reallocated_Sector_Ct 0x0032 100 100 050 Old_age Always - 5 9 Power_On_Hours 0x0032 100 100 050 Old_age Always - 65 196 Reallocated_Event_Count 0x0032 100 100 050 Old_age Always - 0 197 Current_Pending_Sector 0x0032 100 100 050 Old_age Always - 5 241 Total_LBAs_Written 0x0030 100 100 050 Old_age Offline - 5094 sudo smartctl -l selftest /dev/sdb Read Device Identity failed: empty IDENTIFY data
Bonjour
Quelques remarques
D'abord ton disque est un SSD.
On ne devrait pas tester un SSD car on l'use inutilement.
Si j'en crois l'erreur "Read Device Identity failed: empty IDENTIFY data", c'est très grave pour un disque dur. Mais je ne sais pas si c'est au point pour un SSD. Redonne le retour de cette commande.
sudo smartctl -a /dev/sdb
Cinq secteurs en attente de réallocation pour un SSD ayant 65 heures. => Son firmware est à mettre au point.
Il doit être sous garantie. Fais-la jouer.
A moins que ce soit une contrefaçon car le nom du modèle n'est pas habituel.
Dernière modification par geole (Le 12/01/2023, à 17:12)
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
#18 Le 12/01/2023, à 17:17
- rentabilicus
Re : Démarrage en FAILED
La réponse :
sudo smartctl -a /dev/sdb
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-135-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
Read Device Identity failed: empty IDENTIFY data
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
En plus :
sudo smartctl --health /dev/sdb
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-135-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
Read Device Identity failed: empty IDENTIFY data
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
Dernière modification par rentabilicus (Le 12/01/2023, à 17:33)
Hors ligne
#19 Le 12/01/2023, à 17:56
- geole
Re : Démarrage en FAILED
Mort en direct
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
#20 Le 12/01/2023, à 18:13
- iznobe
Re : Démarrage en FAILED
Bonjour , il sort d' ou ce SSD ? ou l' as tu acheté ?
on ne voit jamais de :
Device Model: SSD 1TB
sauf comme l' a dit @geole precedemment , dans le cas d' une contrefaçon .
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
Pages : 1