Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 21/10/2019, à 13:28

DaliaLubuntu

Lubuntu: grub rescue ./ ../lost+found/ swapfile etc/

Bonjour à tous et toutes,

J'ai installé Lubuntu après avoir vu qu'Ubuntu était trop puissant pour mon portable (avant il était sous Windows7).

Ça a marché 2 jours et maintenant plus rien ne fonctionne:
ni reboot pour réinstallation ni grub rescue avec les tutos trouvés online...
'insmod normal' n'est pas trouvé nonplus.

Je sais vraiment plus quoi faire...

Merci d'avance pour vos réponses!!!

Modération: pas de doublons, merci

Dernière modification par Nuliel (Le 21/10/2019, à 13:36)

Hors ligne

#2 Le 21/10/2019, à 13:51

Nuliel

Re : Lubuntu: grub rescue ./ ../lost+found/ swapfile etc/

Bonjour,
Peux tu toujours démarrer sur la clé usb d'installation?

Hors ligne

#3 Le 21/10/2019, à 14:36

DaliaLubuntu

Re : Lubuntu: grub rescue ./ ../lost+found/ swapfile etc/

Bonjour,

Oui, j'ai pu et entre-temps réinstallé pour la 4ème fois Lubuntu.
(ça avait déjà buggé plusieurs fois avant...)

Ça a l'air de marcher mais ce n'est pas stable.
Par exemple, hier: j'avais beau écrire mon mot de passe ma session ne s'ouvrait pas et après le Grub a planté.
Les mises à jour plantent aussi.

Ca risque fortement de recommencer.

Hors ligne

#4 Le 21/10/2019, à 14:52

Nuliel

Re : Lubuntu: grub rescue ./ ../lost+found/ swapfile etc/

Je te conseille d'arrêter d'installer, une install qui foire c'est déjà trop.

Je te laisse lire le premier message de https://forum.ubuntu-fr.org/viewtopic.php?id=1614731 pour la mise en forme des retours et pour éviter de tout recopier.

Peux tu démarrer sur cette clé usb et au lieu de faire "installer", je te laisse faire "essayer", te connecter à internet, puis ouvrir un terminal et faire

setxkbmap fr

(tu peux taper setx puis Tab qui devrait compléter en setxkbmap, plus qu'à rajouter fr après)
Puis tu donnes le retour de

sudo apt-get install --no-install-recommends smartmontools
sudo smartctl --smart=on --offlineauto=on --saveauto=on /dev/sda 

Raison: j'aimerais connaître l'état du disque dur

Hors ligne

#5 Le 21/10/2019, à 15:39

DaliaLubuntu

Re : Lubuntu: grub rescue ./ ../lost+found/ swapfile etc/

C'est fait.

Quelles sont les indications que tu cherches?

Hors ligne

#6 Le 21/10/2019, à 15:42

Nuliel

Re : Lubuntu: grub rescue ./ ../lost+found/ swapfile etc/

J'aimerais le retour de

sudo smartctl --smart=on --offlineauto=on --saveauto=on /dev/sda 

en fait.
Pour donner un exemple, le retour à poster sur le forum devrait ressembler à ça

naziel@naziel-desktop:~$ sudo smartctl -a /dev/sda
[sudo] Mot de passe de naziel : 
Désolé, essayez de nouveau.
[sudo] Mot de passe de naziel : 
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-4.15.0-65-generic] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.14 (AF)
Device Model:     ST500DM002-1BD142
Serial Number:    S2AG0KD4
LU WWN Device Id: 5 000c50 06197b2aa
Firmware Version: KC65
User Capacity:    500107862016 bytes [500 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Oct 21 15:41:17 2019 CEST
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:  (0x82)	Offline data collection activity
					was completed without error.
					Auto Offline Data Collection: Enabled.
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: 		(  600) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					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: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 (  79) minutes.
Conveyance self-test routine
recommended polling time: 	 (   2) minutes.
SCT capabilities: 	       (0x303f)	SCT Status supported.
					SCT Error Recovery Control supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   113   099   006    Pre-fail  Always       -       53654328
  3 Spin_Up_Time            0x0003   100   100   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   099   099   020    Old_age   Always       -       1124
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   084   060   030    Pre-fail  Always       -       308400549
  9 Power_On_Hours          0x0032   086   086   000    Old_age   Always       -       12939
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   099   099   020    Old_age   Always       -       1124
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   001   001   000    Old_age   Always       -       200
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       0 0 0
189 High_Fly_Writes         0x003a   076   076   000    Old_age   Always       -       24
190 Airflow_Temperature_Cel 0x0022   072   062   045    Old_age   Always       -       28 (Min/Max 21/28)
194 Temperature_Celsius     0x0022   028   040   000    Old_age   Always       -       28 (0 10 0 0 0)
195 Hardware_ECC_Recovered  0x001a   036   027   000    Old_age   Always       -       53654328
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       12928h+23m+24.687s
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       3660608821
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       918878550

SMART Error Log Version: 1
ATA Error Count: 198 (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 198 occurred at disk power-on lifetime: 11786 hours (491 days + 2 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 51 00 40 8a 78 0b  Error: WP at LBA = 0x0b788a40 = 192449088

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  61 00 08 ff ff ff 4f 00      18:18:32.898  WRITE FPDMA QUEUED
  61 00 08 88 93 5b 40 00      18:18:32.897  WRITE FPDMA QUEUED
  61 00 08 ff ff ff 4f 00      18:18:32.897  WRITE FPDMA QUEUED
  61 00 08 48 db 5b 40 00      18:18:32.896  WRITE FPDMA QUEUED
  61 00 08 ff ff ff 4f 00      18:18:32.895  WRITE FPDMA QUEUED

Error 197 occurred at disk power-on lifetime: 11786 hours (491 days + 2 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 51 00 40 8a 78 0b  Error: WP at LBA = 0x0b788a40 = 192449088

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  61 00 08 f8 9a 00 40 00      18:18:28.994  WRITE FPDMA QUEUED
  61 00 08 90 93 5b 40 00      18:18:28.993  WRITE FPDMA QUEUED
  61 00 08 ff ff ff 4f 00      18:18:28.993  WRITE FPDMA QUEUED
  61 00 08 98 9b 61 40 00      18:18:28.992  WRITE FPDMA QUEUED
  61 00 18 ff ff ff 4f 00      18:18:28.991  WRITE FPDMA QUEUED

Error 196 occurred at disk power-on lifetime: 11786 hours (491 days + 2 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 51 00 40 8a 78 0b  Error: WP at LBA = 0x0b788a40 = 192449088

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  61 00 08 88 93 5b 40 00      18:18:25.098  WRITE FPDMA QUEUED
  61 00 08 f8 9a 00 40 00      18:18:25.098  WRITE FPDMA QUEUED
  61 00 08 58 77 77 40 00      18:18:25.097  WRITE FPDMA QUEUED
  61 00 08 98 9b 61 40 00      18:18:25.097  WRITE FPDMA QUEUED
  61 00 08 90 93 5b 40 00      18:18:25.097  WRITE FPDMA QUEUED

Error 195 occurred at disk power-on lifetime: 11786 hours (491 days + 2 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 51 00 40 8a 78 0b  Error: WP at LBA = 0x0b788a40 = 192449088

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  61 00 08 ff ff ff 4f 00      18:18:21.155  WRITE FPDMA QUEUED
  61 00 08 90 93 5b 40 00      18:18:21.155  WRITE FPDMA QUEUED
  61 00 08 ff ff ff 4f 00      18:18:21.154  WRITE FPDMA QUEUED
  61 00 08 f8 9a 00 40 00      18:18:21.153  WRITE FPDMA QUEUED
  61 00 30 a0 da 5b 40 00      18:18:21.153  WRITE FPDMA QUEUED

Error 194 occurred at disk power-on lifetime: 11786 hours (491 days + 2 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 51 00 40 8a 78 0b  Error: WP at LBA = 0x0b788a40 = 192449088

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  61 00 08 ff ff ff 4f 00      18:18:17.359  WRITE FPDMA QUEUED
  61 00 01 58 c2 49 40 00      18:18:17.359  WRITE FPDMA QUEUED
  60 00 20 40 8a 78 4b 00      18:18:17.359  READ FPDMA QUEUED
  61 00 10 50 77 77 40 00      18:18:17.358  WRITE FPDMA QUEUED
  61 00 08 20 2a 9d 4a 00      18:18:17.358  WRITE FPDMA QUEUED

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

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.

naziel@naziel-desktop:~$ 

(c'est un pavé de ce type que je vais ensuite interpréter)

Dernière modification par Nuliel (Le 21/10/2019, à 15:42)

Hors ligne

#7 Le 21/10/2019, à 16:11

DaliaLubuntu

Re : Lubuntu: grub rescue ./ ../lost+found/ swapfile etc/

=== START OF INFORMATION SECTION ===
Model Family:     Hitachi Travelstar 5K500.B
Firmware Version: PB2OC60F
User Capacity:    250059350016 bytes [250 GB]
Sector Size:      512 bytes logical/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 T13/1699-D revision 6
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Mon Oct 21 16:03:08 2019 CEST
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:  (0x85)  Offline data collection activity
          was aborted by an interrupting command from host.
          Auto Offline Data Collection: Enabled.
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:     (  645) 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:    (  83) 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   062    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   100   100   040    Pre-fail  Offline      -       4044
  3 Spin_Up_Time            0x0007   229   229   033    Pre-fail  Always       -       1
  4 Start_Stop_Count        0x0012   100   100   000    Old_age   Always       -       1421
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   100   100   067    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   100   100   040    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0012   100   100   000    Old_age   Always       -       416
 10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       768
191 G-Sense_Error_Rate      0x000a   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       41
193 Load_Cycle_Count        0x0012   100   100   000    Old_age   Always       -       4522
194 Temperature_Celsius     0x0002   157   157   000    Old_age   Always       -       35 (Min/Max 14/47)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0008   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       0
223 Load_Retry_Count        0x000a   100   100   000    Old_age   Always       -       0
SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

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.

Hors ligne

#8 Le 21/10/2019, à 16:22

Nuliel

Re : Lubuntu: grub rescue ./ ../lost+found/ swapfile etc/

Bonne nouvelle: le disque est en bon état.
Qu'est ce que le pc t'affiche comme erreur au démarrage?

Hors ligne

#9 Le 21/10/2019, à 16:57

DaliaLubuntu

Re : Lubuntu: grub rescue ./ ../lost+found/ swapfile etc/

Il n'y a plus de message d'erreur.

Ce qui reste comme problème:
-quand l'ordi sort de veille il faut écrire 2 fois le mot de passe avant de pouvoir se reconnecter à la session.
Comment faire pour l'éviter sans enlever le mot de passe?
(la fonction 'ouvrir la session au démarrage' étant déjà activée)

Le problème que j'ai eu hier  soir était que la session ne s'ouvrait pas, malgré le bon mot de passe et, en rallumant le pc ce matin 'grub rescue' s'est affiché.

Pardon si je ne suis pas très claire ni rapide.

Merci beaucoup en tout cas pour l'aide.

Hors ligne

#10 Le 21/10/2019, à 17:32

moko138

Re : Lubuntu: grub rescue ./ ../lost+found/ swapfile etc/

La prochaine fois que ton système démarre, montre :

df -Thx tmpfs -x devtmpfs -x squashfs

merci !


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#11 Le 22/10/2019, à 12:26

DaliaLubuntu

Re : Lubuntu: grub rescue ./ ../lost+found/ swapfile etc/

Bonjour,

Voici ce que tu m'as demandé Moko138:

Sys. de fichiers Type Taille Utilisé Dispo Uti% Monté sur
/dev/sda1        ext4   229G    6,7G  210G   4% /

Hors ligne

#12 Le 22/10/2019, à 13:57

Nuliel

Re : Lubuntu: grub rescue ./ ../lost+found/ swapfile etc/

Pourrais tu démarrer sur la clé usb d'installation et choisir "check disk for defects" parce que j'ai un doute sur l'intégrité de ta clé usb

Hors ligne