#1 Le 02/12/2018, à 18:50
- Ker0zene
Welcome to Emergency Mode !
Bonjour,
Depuis hier, la partition Ubuntu de mon conjoint ne démarre plus (aucun soucis - apparent - avec la partition Windows en dual boot en revanche).
Après plusieurs lignes que je n'ai pas le temps de copier, il apparaît :
Welcome to emergency mode ! After logging in, type « journalctl -xb » to view system logs, « systemctl reboot » to reboot, « systemctl default » ou ^D to try again to boot into default mode.
Appuyez sur Entrée pour la maintenant
(ou appuyez sur Ctrl et D pour continuer) :
Voici les résultats des commandes journalctl -xb et journalctl default (le journalctl reboot ne nous permet qu'un reboot nous ramenant au même endroit)
root@PC-Paulo: ~# journalctl -xb
No journal files were found.
• No entries –
root@PC-Paulo: ~# journalctl default
[ 210.765974] systemd[1] : Timed out waiting for device dev-sda5.device.
[ 210.766864] systemd[1] : Timed out waiting for device dev-disk-by\x2duuid-a48c5820\x2b68b5\x2d487b\x2db65c\x2d53aa4e9c6ed6.device.
[ 210.767761] systemd[1] : Timed out waiting for device dev-disk-by\x2duuid-5EA1\x2d3C47.device.
En fouinant un peu sur divers sujets du forum, j'ai créé une clé USB live pour lancer gparted et faire des analyses du disque.
Voici les résultats de gparted :
Et celle d'un smartctl sur le disque dur :
ubuntu@ubuntu:~$ sudo smartctl -s on -a /dev/sda
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-29-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Toshiba 2.5" HDD MQ01ABD...
Device Model: TOSHIBA MQ01ABD100
Serial Number: 35P1PRGIT
LU WWN Device Id: 5 000039 622189e2c
Firmware Version: AX0R2J
User Capacity: 1,000,204,886,016 bytes [1.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 5400 rpm
Form Factor: 2.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Sun Dec 2 14:28:36 2018 UTC
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: (0x80) Offline data collection activity
was never started.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 25) The self-test routine was aborted by
the host.
Total time to complete Offline
data collection: ( 120) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves 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: ( 254) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
2 Throughput_Performance 0x0005 100 100 050 Pre-fail Offline - 0
3 Spin_Up_Time 0x0027 100 100 001 Pre-fail Always - 1691
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 5689
5 Reallocated_Sector_Ct 0x0033 100 100 050 Pre-fail Always - 0
7 Seek_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
8 Seek_Time_Performance 0x0005 100 100 050 Pre-fail Offline - 0
9 Power_On_Hours 0x0032 075 075 000 Old_age Always - 10381
10 Spin_Retry_Count 0x0033 213 100 030 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 5374
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 14033
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 92
193 Load_Cycle_Count 0x0032 097 097 000 Old_age Always - 39240
194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 23 (Min/Max 13/46)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 368
198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 253 000 Old_age Always - 0
220 Disk_Shift 0x0002 100 100 000 Old_age Always - 0
222 Loaded_Hours 0x0032 076 076 000 Old_age Always - 9765
223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 0
224 Load_Friction 0x0022 100 100 000 Old_age Always - 0
226 Load-in_Time 0x0026 100 100 000 Old_age Always - 261
240 Head_Flying_Hours 0x0001 100 100 001 Pre-fail Offline - 0
SMART Error Log Version: 1
ATA Error Count: 26 (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 26 occurred at disk power-on lifetime: 10379 hours (432 days + 11 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
-- -- -- -- -- -- --
40 41 08 70 81 b9 40 Error: UNC at LBA = 0x00b98170 = 12157296
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 08 08 70 81 b9 40 00 00:05:51.883 READ FPDMA QUEUED
ef 10 02 00 00 00 a0 00 00:05:51.881 SET FEATURES [Enable SATA feature]
27 00 00 00 00 00 e0 00 00:05:51.881 READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
ec 00 00 00 00 00 a0 00 00:05:51.880 IDENTIFY DEVICE
ef 03 45 00 00 00 a0 00 00:05:51.880 SET FEATURES [Set transfer mode]
Error 25 occurred at disk power-on lifetime: 10379 hours (432 days + 11 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
-- -- -- -- -- -- --
40 41 b0 70 81 b9 40 Error: UNC at LBA = 0x00b98170 = 12157296
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 08 b0 70 81 b9 40 00 00:05:48.102 READ FPDMA QUEUED
ef 10 02 00 00 00 a0 00 00:05:48.100 SET FEATURES [Enable SATA feature]
27 00 00 00 00 00 e0 00 00:05:48.100 READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
ec 00 00 00 00 00 a0 00 00:05:48.099 IDENTIFY DEVICE
ef 03 45 00 00 00 a0 00 00:05:48.098 SET FEATURES [Set transfer mode]
Error 24 occurred at disk power-on lifetime: 10379 hours (432 days + 11 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
-- -- -- -- -- -- --
40 41 50 70 81 b9 40 Error: UNC at LBA = 0x00b98170 = 12157296
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 08 50 70 81 b9 40 00 00:05:44.324 READ FPDMA QUEUED
ef 10 02 00 00 00 a0 00 00:05:44.323 SET FEATURES [Enable SATA feature]
27 00 00 00 00 00 e0 00 00:05:44.322 READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
ec 00 00 00 00 00 a0 00 00:05:44.322 IDENTIFY DEVICE
ef 03 45 00 00 00 a0 00 00:05:44.321 SET FEATURES [Set transfer mode]
Error 23 occurred at disk power-on lifetime: 10379 hours (432 days + 11 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
-- -- -- -- -- -- --
40 41 18 70 81 b9 40 Error: UNC at LBA = 0x00b98170 = 12157296
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 08 18 70 81 b9 40 00 00:05:40.549 READ FPDMA QUEUED
60 08 10 68 81 b9 40 00 00:05:40.549 READ FPDMA QUEUED
60 08 08 60 81 b9 40 00 00:05:40.549 READ FPDMA QUEUED
60 08 00 58 81 b9 40 00 00:05:40.549 READ FPDMA QUEUED
60 08 f0 50 81 b9 40 00 00:05:40.549 READ FPDMA QUEUED
Error 22 occurred at disk power-on lifetime: 10379 hours (432 days + 11 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
-- -- -- -- -- -- --
40 41 80 70 81 b9 40 Error: UNC at LBA = 0x00b98170 = 12157296
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 40 80 40 81 b9 40 00 00:05:36.760 READ FPDMA QUEUED
60 40 78 00 81 b9 40 00 00:05:36.751 READ FPDMA QUEUED
60 00 70 c0 8b 79 40 00 00:05:36.750 READ FPDMA QUEUED
60 00 68 c0 8a 79 40 00 00:05:36.749 READ FPDMA QUEUED
60 00 60 c0 89 79 40 00 00:05:36.748 READ FPDMA QUEUED
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Aborted by host 90% 10381 -
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
Je ne trouve rien n'allant pas avec la partition (celle qui bloque semblant être sda7, où est installé Ubuntu). Je vois que le disque dur n'est pas en super état (en même temps en voyant le temps où il est resté en fonctionnement + le fait que mon conjoint n'est pas très soigneux car il n'éteint pas systématiquement son PC lorsqu'il le transporte...) mais je ne sais pas si le problème vient de là.
Bref, je ne sais pas d'où vient le problème ni comment le régler, et je viens humblement demander votre aide !
Hors ligne
#2 Le 02/12/2018, à 18:56
- Ker0zene
Re : Welcome to Emergency Mode !
J'ai oublié de préciser ;
Depuis quelques temps, au démarrage (ou au redémarrage après des mises à jour) il a été nécessaire de lancer des fsck manuellement.
Hors ligne
#3 Le 02/12/2018, à 19:03
- malbo
Re : Welcome to Emergency Mode !
Je vois que le disque dur n'est pas en super état
Oui, il est défectueux comme on peut voir sur cette ligne extraite du smartctl sur le disque dur :
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 368
De plus, la dernière erreur enregistrée est récente :
Error 26 occurred at disk power-on lifetime: 10379 hours (432 days + 11 hours)
Elle est apparue après 10379 heures de mise sous tension alors que ton disque totalise 10381 heures comme on peut voir sur cette ligne :
9 Power_On_Hours 0x0032 075 075 000 Old_age Always - 10381
Hors ligne
#4 Le 02/12/2018, à 23:01
- Ker0zene
Re : Welcome to Emergency Mode !
Merci de ta réponse,
Est-ce cela qui cause l'impossibilité de booter sur Ubuntu ? Les secteurs abîmés correspondraient à la partition Ubuntu ?
Hors ligne
#5 Le 03/12/2018, à 08:52
- malbo
Re : Welcome to Emergency Mode !
Bonjour,
Je ne sais pas répondre à tes questions. Ce que je peux te dire, c'est que la priorité pour toi c'est de sauvegarder sur disque dur externe les données précieuses que tu peux avoir dans ton Ubuntu malade. C'est à faire depuis une session live suivant la doc "Récupérer ses données depuis un live-CD ou live-USB". Quand ces données seront sauvegardées, tu feras la sauvegarde sur disque dur externe des données précieuses qui sont dans Windows (c'est à faire depuis ta session Windows puisque tu as indiqué que Windows fonctionnait). Ensuite, je te recommande de remplacer le disque dur par un neuf.
Dernière modification par malbo (Le 03/12/2018, à 08:52)
Hors ligne