Bonjour,
Un proche m’a demandé de dépanner son pc qui a le problème suivant. Le démarrage après Grub, plante et Ubuntu ne démarre pas. Démarrer le kernel 5.4.0.42 précédent permet de démarrer Ubuntu.
Sachant dépanné, je n’ai diagnostiqué aucune erreur, ni système, ni disque dur, je n’ai plus d’idée. J’ai tout de même réparé les paquets, réparé et réinstallé grub, mais aucun changement. Les paquets n'étaient pas altérés.
Lors du problème, pas d’erreur, pas de message, juste le tiret en haut à gauche qui clignote.
Pourriez-vous m'aider svp à identifier la cause ?
Les specs du pc :
$ inxi -Fxz
System: Kernel: 5.4.0-53-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Console: tty 0
Distro: Ubuntu 20.04.1 LTS (Focal Fossa)
Machine: Type: Laptop System: ASUSTeK product: P553UA v: 1.0 serial: <filter>
Mobo: ASUSTeK model: P553UA v: 1.0 serial: <filter> UEFI [Legacy]: ASUSTeK v: P553UA.303 date: 01/25/2017
Battery: ID-1: BAT0 charge: 29.2 Wh condition: 40.1/48.2 Wh (83%) model: ASUSTeK ASUS Battery status: Discharging
CPU: Topology: Dual Core model: Intel Core i3-6006U bits: 64 type: MT MCP arch: Skylake rev: 3 L2 cache: 3072 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 15999
Speed: 500 MHz min/max: 400/2000 MHz Core speeds (MHz): 1: 500 2: 500 3: 500 4: 500
Graphics: Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: ASUSTeK driver: N/A bus ID: 00:02.0
Display: server: X.org 1.20.8 driver: intel,vesa unloaded: fbdev,modesetting tty: 155x23
Message: Advanced graphics data unavailable in console. Try -G --display
Audio: Device-1: Intel Sunrise Point-LP HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 00:1f.3
Sound Server: ALSA v: k5.4.0-53-generic
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8169 v: kernel port: d000
bus ID: 02:00.0
IF: enp2s0 state: down mac: <filter>
Device-2: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter vendor: AzureWave driver: ath10k_pci v: kernel
port: d000 bus ID: 03:00.0
IF: wlp3s0 state: up mac: <filter>
Drives: Local Storage: total: 119.24 GiB used: 44.91 GiB (37.7%)
ID-1: /dev/sda vendor: SanDisk model: SD8SBAT128G1002 size: 119.24 GiB temp: 17 C
Partition: ID-1: / size: 39.08 GiB used: 20.96 GiB (53.6%) fs: ext4 dev: /dev/sda1
ID-2: swap-1 size: 4.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2
Sensors: Missing: Required tool sensors not installed. Check --recommends
Info: Processes: 206 Uptime: 17m Memory: 3.74 GiB used: 850.5 MiB (22.2%) Init: systemd runlevel: 5 Compilers: gcc: N/A
Shell: bash v: 5.0.17 inxi: 3.0.38
Le rapport smart du disque ssd :
=== START OF INFORMATION SECTION ===
Device Model: SanDisk SD8SBAT128G1002
Serial Number: 171654403315
LU WWN Device Id: 5 001b44 4a6fceaa0
Firmware Version: Z2317002
User Capacity: 128035676160 bytes [128 GB]
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: Sun Nov 15 16:26:42 2020 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART 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: ( 0) 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
5 Reallocated_Sector_Ct 0x0032 100 100 000 Old_age Always - 0
9 Power_On_Hours 0x0032 241 100 000 Old_age Always - 241
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 4917
166 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 7
167 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0
168 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 59
169 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 93
170 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0
171 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0
172 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0
173 Unknown_Attribute 0x0032 100 100 --- Old_age Always - 43
174 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 58
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
194 Temperature_Celsius 0x0022 085 100 000 Old_age Always - 15 (Min/Max 0/47)
199 UDMA_CRC_Error_Count 0x0032 100 100 000 Old_age Always - 0
230 Unknown_SSD_Attribute 0x0032 100 100 000 Old_age Always - 324
232 Available_Reservd_Space 0x0033 100 100 004 Pre-fail Always - 100
233 Media_Wearout_Indicator 0x0032 100 100 000 Old_age Always - 1806
241 Total_LBAs_Written 0x0030 253 253 000 Old_age Offline - 1793
242 Total_LBAs_Read 0x0030 253 253 000 Old_age Offline - 5087
Warning! SMART ATA Error Log Structure error: invalid SMART checksum.
SMART Error Log Version: 1
Warning: ATA error count 65535 inconsistent with error log pointer 2
ATA Error Count: 65535 (device log contains only the most recent five errors)
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 65535 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 00
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
e5 00 00 00 00 00 00 08 00:00:00.000 CHECK POWER MODE
b0 da 00 00 4f c2 00 08 00:00:00.000 SMART RETURN STATUS
b0 d0 01 00 4f c2 00 08 00:00:00.000 SMART READ DATA
b0 d5 01 06 4f c2 00 08 00:00:00.000 SMART READ LOG
b0 d5 01 01 4f c2 00 08 00:00:00.000 SMART READ LOG
Error 65534 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 00
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
e5 00 00 00 00 00 00 08 00:00:00.000 CHECK POWER MODE
b0 da 00 00 4f c2 00 08 00:00:00.000 SMART RETURN STATUS
b0 d0 01 00 4f c2 00 08 00:00:00.000 SMART READ DATA
b0 d5 01 06 4f c2 00 08 00:00:00.000 SMART READ LOG
b0 d5 01 01 4f c2 00 08 00:00:00.000 SMART READ LOG
Error 65533 occurred at disk power-on lifetime: 65535 hours (2730 days + 15 hours)
When the command that caused the error occurred, the device was in a vendor specific state.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
ff ff ff ff ff ff ff
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
ff ff ff ff ff ff ff ff 49d+17:02:47.295 [VENDOR SPECIFIC]
ff ff ff ff ff ff ff ff 49d+17:02:47.295 [VENDOR SPECIFIC]
ff ff ff ff ff ff ff ff 49d+17:02:47.295 [VENDOR SPECIFIC]
ff ff ff ff ff ff ff ff 49d+17:02:47.295 [VENDOR SPECIFIC]
ff ff ff ff ff ff ff ff 49d+17:02:47.295 [VENDOR SPECIFIC]
Error 65532 occurred at disk power-on lifetime: 65535 hours (2730 days + 15 hours)
When the command that caused the error occurred, the device was in a vendor specific state.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
ff ff ff ff ff ff ff
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
ff ff ff ff ff ff ff ff 49d+17:02:47.295 [VENDOR SPECIFIC]
ff ff ff ff ff ff ff ff 49d+17:02:47.295 [VENDOR SPECIFIC]
ff ff ff ff ff ff ff ff 49d+17:02:47.295 [VENDOR SPECIFIC]
ff ff ff ff ff ff ff ff 49d+17:02:47.295 [VENDOR SPECIFIC]
ff ff ff ff ff ff ff ff 49d+17:02:47.295 [VENDOR SPECIFIC]
Error 65531 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
-- -- -- -- -- -- --
00 00 00 00 00 00 00
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 08 00:00:00.000 SMART READ DATA
b0 d1 01 01 4f c2 00 08 00:00:00.000 SMART READ ATTRIBUTE THRESHOLDS [OBS-4]
b0 da 00 00 4f c2 00 08 00:00:00.000 SMART RETURN STATUS
b0 d5 01 00 4f c2 00 08 00:00:00.000 SMART READ LOG
b0 d5 01 01 4f c2 00 08 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
Le rapport de boot info :
boot-info-4ppa125 [20201115_1619]
============================== Boot Info Summary ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos1)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 20.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
sda2: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda3: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda4: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
================================ 1 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 20.04.1 LTS CurrentSession on sda1
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-53-generic root=UUID=6b896181-6a16-48c8-b0be-7d123ca14dcf ro recovery nomodeset dis_ucode_ldr
===================================== UEFI =====================================
This installed-session is not in EFI-mode.
EFI in dmesg.
[ 0.014707] ACPI: UEFI 0x00000000863520B8 000042 (v01 00000000 00000000)
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda1 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, not-far
sda3 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda4 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
Partitions info (2/3): _________________________________________________________
sda1 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda3 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda4 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda1 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sda3 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda4 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 119.25 GiB, 128035676160 bytes, 250069680 sectors
Disk identifier: 0x4ced978a
Boot Start End Sectors Size Id Type
sda1 * 2048 83525485 83523438 39.8G 83 Linux
sda2 83525632 91922431 8396800 4G 82 Linux swap / Solaris
sda3 91922432 205787135 113864704 54.3G 83 Linux
sda4 205787136 250068991 44281856 21.1G 83 Linux
parted -lm (filtered): _________________________________________________________
sda:128GB:scsi:512:512:msdos:ATA SanDisk SD8SBAT1:;
1:1049kB:42.8GB:42.8GB:ext4::boot;
2:42.8GB:47.1GB:4299MB:linux-swap(v1)::;
3:47.1GB:105GB:58.3GB:ext4::;
4:105GB:128GB:22.7GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ext4 6b896181-6a16-48c8-b0be-7d123ca14dcf 4ced978a-01
├─sda2 swap 72f46cae-4e88-4100-a8d8-9cafebbdf1ac 4ced978a-02
├─sda3 ext4 613b4583-b7a0-443e-a3cd-58680413ebd1 4ced978a-03 DATASHARED
└─sda4 ext4 a5bc9b9a-b08d-4aef-ba6b-4d64557e540d 4ced978a-04 BACKUP
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 16.1G 54% /
sda3 26.7G 45% /mnt/DATASHARED
sda4 12.2G 36% /mnt/boot-sav/sda4
Mount options: __________________________________________________________________
sda1 rw,relatime,errors=remount-ro
sda3 rw,nosuid,nodev,relatime
sda4 rw,relatime
====================== sda1/boot/grub/grub.cfg (filtered) ======================
Ubuntu 6b896181-6a16-48c8-b0be-7d123ca14dcf
Ubuntu, avec Linux 5.4.0-53-generic 6b896181-6a16-48c8-b0be-7d123ca14dcf
Ubuntu, avec Linux 5.4.0-52-generic 6b896181-6a16-48c8-b0be-7d123ca14dcf
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda1/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=6b896181-6a16-48c8-b0be-7d123ca14dcf / ext4 errors=remount-ro 0 1
# swap was on /dev/sda2 during installation
UUID=72f46cae-4e88-4100-a8d8-9cafebbdf1ac none swap sw 0 0
LABEL=BACKUP /mnt/BACKUP auto nosuid,nodev,nofail,noauto 0 0
LABEL=DATASHARED /mnt/DATASHARED auto nosuid,nodev,nofail 0 0
======================= sda1/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
==================== sda1: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
38.340873718 = 41.168199680 boot/grub/grub.cfg 2
33.423286438 = 35.887980544 boot/grub/i386-pc/core.img 1
28.449352264 = 30.547259392 boot/vmlinuz 1
21.743160248 = 23.346540544 boot/vmlinuz-5.4.0-52-generic 2
28.449352264 = 30.547259392 boot/vmlinuz-5.4.0-53-generic 1
21.743160248 = 23.346540544 boot/vmlinuz.old 2
15.672142029 = 16.827834368 boot/initrd.img 7
29.813472748 = 32.011972608 boot/initrd.img-5.4.0-52-generic 7
15.672142029 = 16.827834368 boot/initrd.img-5.4.0-53-generic 7
29.813472748 = 32.011972608 boot/initrd.img.old 7
===================== sda1: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 17622 août 17 16:04 10_linux
-rwxr-xr-x 1 root root 42359 août 17 16:04 10_linux_zfs
-rwxr-xr-x 1 root root 12894 avril 15 2020 20_linux_xen
-rwxr-xr-x 1 root root 12059 févr. 8 2019 30_os-prober
-rwxr-xr-x 1 root root 1424 avril 15 2020 30_uefi-firmware
-rwxr-xr-x 1 root root 214 juin 21 2017 40_custom
-rwxr-xr-x 1 root root 216 juin 21 2017 41_custom
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub2 of
sda1 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s
J'ai réparé les paquets avec ça, mais aucun paquets n'était altéré et les mises à jour sont à jour.
sudo apt update && sudo dpkg --configure -a && sudo apt install -fy && sudo apt autoclean && sudo apt autoremove --purge -y && sudo apt full-upgrade -y
J'ai réinstallé grub avec ça, mais aucun changement. Le rédémarrage à chaud fonctionne bien mais le redémarrage à froid crash parfois.
sudo os-prober
sudo update-grub
sudo grub-install /dev/sda