Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I rebooted my computer and then was unable to get it to start back up. It now drops to busybox after an hour of waiting on the boot process. I booted into a ubuntu12.04.3 liveCD and tried to mount the partition, but no luck - except it said:

Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sda6,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

so I tried that in terminal and got:

ubuntu@ubuntu:~$    dmesg | tail
[  861.434200]         72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00 
[  861.434226]         0c 7d 48 a0 
[  861.434238] sd 0:0:0:0: [sda]  
[  861.434247] Add. Sense: Unrecovered read error - auto reallocate failed
[  861.434255] sd 0:0:0:0: [sda] CDB: 
[  861.434260] Read(10): 28 00 0c 7d 48 a0 00 00 38 00
[  861.434285] end_request: I/O error, dev sda, sector 209537184
[  861.434328] ata1: EH complete
[  861.434460] JBD: recovery failed
[  861.434477] EXT3-fs (sda6): error loading journal
ubuntu@ubuntu:~$ 

I am writing this from the same computer and hard-drive, but a different partition which has windows on it and can boot. I'd just use the liveCD (on USB) Ubuntu, but it takes 10mins to boot up, and doesn't have wifi drivers for my machine.

What should I do?

EDIT: I ran sudo smartctl -a

    smartctl 5.43 2012-06-05 r3561 [i686-linux-3.2.0-4-486] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Device Model:     TOSHIBA MK1637GSX
Serial Number:    875DT0O4T
Firmware Version: DL040D
User Capacity:    160,041,885,696 bytes [160 GB]
Sector Size:      512 bytes logical/physical
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   7
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Tue Sep 17 09:46:56 2013 UTC
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:            (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:    (  92) minutes.
SCT capabilities:          (0x0001) SCT Status 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  0x0004   100   100   000    Old_age   Offline      -       0
  3 Spin_Up_Time            0x0027   100   100   001    Pre-fail  Always       -       1673
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       2351
  5 Reallocated_Sector_Ct   0x0033   100   100   050    Pre-fail  Always       -       3
  7 Seek_Error_Rate         0x000a   100   100   000    Old_age   Always       -       0
  8 Seek_Time_Performance   0x0004   100   100   000    Old_age   Offline      -       0
  9 Power_On_Hours          0x0032   042   042   000    Old_age   Always       -       23519
 10 Spin_Retry_Count        0x0032   146   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       2080
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       238
193 Load_Cycle_Count        0x0032   073   073   000    Old_age   Always       -       277107
194 Temperature_Celsius     0x0022   100   100   000    Old_age   Always       -       46 (Min/Max 10/73)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       3
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       67
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
220 Disk_Shift              0x0002   100   100   000    Old_age   Always       -       87
222 Loaded_Hours            0x0032   048   048   000    Old_age   Always       -       20891
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       -       329
240 Head_Flying_Hours       0x0000   100   100   000    Old_age   Offline      -       0

SMART Error Log Version: 1
ATA Error Count: 1725 (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 1725 occurred at disk power-on lifetime: 23519 hours (979 days + 23 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 02 e4 3f 7d 4c  Error: UNC at LBA = 0x0c7d3fe4 = 209534948

  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 f8 00 40 3f 7d 40 00      00:03:54.685  READ FPDMA QUEUED
  ef 10 02 00 00 00 a0 00      00:03:54.684  SET FEATURES [Reserved for Serial ATA]
  27 00 00 00 00 00 e0 00      00:03:54.684  READ NATIVE MAX ADDRESS EXT
  ec 00 00 00 00 00 a0 00      00:03:54.684  IDENTIFY DEVICE
  ef 03 45 00 00 00 a0 00      00:03:54.684  SET FEATURES [Set transfer mode]

Error 1724 occurred at disk power-on lifetime: 23519 hours (979 days + 23 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 02 e4 3f 7d 4c  Error: UNC at LBA = 0x0c7d3fe4 = 209534948

  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 f8 00 40 3f 7d 40 00      00:03:35.362  READ FPDMA QUEUED
  ef 10 02 00 00 00 a0 00      00:03:35.362  SET FEATURES [Reserved for Serial ATA]
  27 00 00 00 00 00 e0 00      00:03:35.362  READ NATIVE MAX ADDRESS EXT
  ec 00 00 00 00 00 a0 00      00:03:35.361  IDENTIFY DEVICE
  ef 03 45 00 00 00 a0 00      00:03:35.361  SET FEATURES [Set transfer mode]

Error 1723 occurred at disk power-on lifetime: 23519 hours (979 days + 23 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 02 e4 3f 7d 4c  Error: UNC at LBA = 0x0c7d3fe4 = 209534948

  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 f8 00 40 3f 7d 40 00      00:03:13.625  READ FPDMA QUEUED
  ef 10 02 00 00 00 a0 00      00:03:13.625  SET FEATURES [Reserved for Serial ATA]
  27 00 00 00 00 00 e0 00      00:03:13.625  READ NATIVE MAX ADDRESS EXT
  ec 00 00 00 00 00 a0 00      00:03:13.624  IDENTIFY DEVICE
  ef 03 45 00 00 00 a0 00      00:03:13.624  SET FEATURES [Set transfer mode]

Error 1722 occurred at disk power-on lifetime: 23519 hours (979 days + 23 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 02 c0 3f 7d 4c  Error: UNC at LBA = 0x0c7d3fc0 = 209534912

  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 f8 00 40 3f 7d 40 00      00:03:00.058  READ FPDMA QUEUED
  ef 10 02 00 00 00 a0 00      00:03:00.058  SET FEATURES [Reserved for Serial ATA]
  27 00 00 00 00 00 e0 00      00:03:00.058  READ NATIVE MAX ADDRESS EXT
  ec 00 00 00 00 00 a0 00      00:03:00.057  IDENTIFY DEVICE
  ef 03 45 00 00 00 a0 00      00:03:00.057  SET FEATURES [Set transfer mode]

Error 1721 occurred at disk power-on lifetime: 23519 hours (979 days + 23 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 02 e4 3f 7d 4c  Error: UNC at LBA = 0x0c7d3fe4 = 209534948

  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 38 40 7d 40 00      00:02:02.748  READ FPDMA QUEUED
  60 f8 00 40 3f 7d 40 00      00:02:02.748  READ FPDMA QUEUED
  60 08 00 98 38 7d 40 00      00:01:59.313  READ FPDMA QUEUED
  60 08 00 78 d8 7c 40 00      00:01:55.923  READ FPDMA QUEUED
  60 08 00 10 b8 7c 40 00      00:01:55.901  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    Completed without error       00%     23441         -
# 2  Short offline       Completed without error       00%         4         -
# 3  Short offline       Completed without error       00%         3         -
# 4  Short offline       Completed without error       00%         3         -
# 5  Short offline       Completed without error       00%         3         -
# 6  Short offline       Completed without error       00%         3         -
# 7  Short offline       Completed without error       00%         2         -
# 8  Short offline       Completed without error       00%         2         -
# 9  Short offline       Completed without error       00%         2         -
#10  Short offline       Completed without error       00%         1         -
#11  Short offline       Completed without error       00%         1         -
#12  Short offline       Completed without error       00%         1         -
#13  Short offline       Completed without error       00%         1         -
#14  Short offline       Completed without error       00%         0         -
#15  Short offline       Completed without error       00%         0         -
#16  Short offline       Completed without error       00%         0         -

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.

And:

user@debian:~$ sudo e2fsck -fy /dev/sdb6
e2fsck 1.42.5 (29-Jul-2012)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sdb6: 234336/5537792 files (1.5% non-contiguous), 14142287/22146972 blocks
share|improve this question
    
Can you read the drives SMART values? What is the reallocation pending count? Is it increasing? –  Hennes Sep 13 '13 at 18:22
    
Run sudo smartctl -a /dev/sda to check the drive's health and edit the results into your question. You can try sudo e2fsck -fy /dev/sda6 to try and repair the filesystem and if you are lucky, it can recover most of what is there. Depending on how extensive the damage is to the drive, you may need to turn to a recent backup, and probably need to replace the drive. –  psusi Sep 13 '13 at 19:15
    
Ok, I will do what psusi said about "sudo smartctl -a /dev/sda" and "sudo e2fsck -fy /dev/sda6". What is the "reallocation pending count" and how do I get that information, Hennes? Thanks for helping! –  SadUser Sep 14 '13 at 2:36
    
Ok, I've tried running them, but the system still wont boot and reports IO_Errors (I can't post here because the system wasn't up yet.) –  SadUser Sep 17 '13 at 14:46
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.