1

I have tried Ubuntu 17.04 and 17.10 (2nd Sep 2017) multiple times
Dual booting with Windows 7, but i switch manually using the bios
After a couple of reboots the had drive ext4 partitions get corrupted and i have to fsck to get it to atleast boot from the intramfs screen (fsck of my 250GB /home/ partition is still running since 3+ hrs)

I have nvdia gtx 960 and was still in the open-source nouveau driver

This was the message i got from intramfs log when going to intramfs

Any idea whats wrong, or how i can get my Ubuntu stable

EDIT:

S.M.A.R.T attributes from GSmartControl

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     0x002f   100   100   ---    Pre-fail  Always       -       1087
  2 Throughput_Performance  0x0026   252   252   ---    Old_age   Always       -       0
  3 Spin_Up_Time            0x0023   086   082   ---    Pre-fail  Always       -       4464
  4 Start_Stop_Count        0x0032   099   099   ---    Old_age   Always       -       2016
  5 Reallocated_Sector_Ct   0x0033   252   252   ---    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   252   252   ---    Old_age   Always       -       0
  8 Seek_Time_Performance   0x0024   252   252   ---    Old_age   Offline      -       0
  9 Power_On_Hours          0x0032   100   100   ---    Old_age   Always       -       10463
 10 Spin_Retry_Count        0x0032   252   252   ---    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   ---    Old_age   Always       -       68
 12 Power_Cycle_Count       0x0032   099   099   ---    Old_age   Always       -       1755
183 Runtime_Bad_Block       0x0032   252   252   ---    Old_age   Always       -       0
184 End-to-End_Error        0x0033   252   252   ---    Pre-fail  Always       -       0
191 G-Sense_Error_Rate      0x0022   100   100   ---    Old_age   Always       -       50
192 Power-Off_Retract_Count 0x0022   252   252   ---    Old_age   Always       -       0
193 Load_Cycle_Count        0x0032   088   088   ---    Old_age   Always       -       124385
194 Temperature_Celsius     0x0002   061   051   ---    Old_age   Always       -       39 (Min/Max 21/51)
195 Hardware_ECC_Recovered  0x003a   100   100   ---    Old_age   Always       -       0
196 Reallocated_Event_Count 0x0032   252   252   ---    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   ---    Old_age   Always       -       3
198 Offline_Uncorrectable   0x0030   252   252   ---    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0036   200   200   ---    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x002a   100   100   ---    Old_age   Always       -       57
223 Load_Retry_Count        0x0032   100   100   ---    Old_age   Always       -       68
225 Load_Cycle_Count        0x0032   088   088   ---    Old_age   Always       -       124385
241 Total_LBAs_Written      0x0032   097   097   ---    Old_age   Always       -       4628271
242 Total_LBAs_Read         0x0032   100   094   ---    Old_age   Always       -       521227
254 Free_Fall_Sensor        0x0032   252   252   ---    Old_age   Always       -       0

The fsck i had run from busybox succeed an i am able to login now

EDIT 2: I had Ext2Fsd version 0.69.1035-09.14 installed on my windows 7

16
  • 1
    MOre likely than not your hard drive is about to fail completely. There is no way to fix hard drive errors, fsck simply reallocates bad blocks. BACKUP YOUR DATA IMMEDIATELY. THEN RUN Smartmon - help.ubuntu.com/community/Smartmontools
    – Panther
    Sep 10, 2017 at 14:57
  • If you mean the S.M.A.R.T attributes I have checked using Sea tools for windows (seagate.com/in/en/support/downloads/seatools) and the test passed
    – tejas
    Sep 10, 2017 at 15:22
  • I am not familiar with that tool. I am very concerned that either your hard drive is failing or you are doing something bad like powering off your computer by pulling the power plug. Run the fsck command from a live image and post the results. It would also help if you ran the smartmontools and posted those results.
    – Panther
    Sep 10, 2017 at 15:24
  • @bodhi.zazen updated with SMART attributes
    – tejas
    Sep 10, 2017 at 16:51
  • Does "i switch manually using the bios" mean you don't do controlled shutdowns on either system? That will lead to eventual disk corruption. Shutdown Ubuntu via the shutdown command.
    – waltinator
    Sep 10, 2017 at 16:56

1 Answer 1

4

From the comments...

Windows third-party drivers that allow the user to read/write to Ubuntu Ext2/3/4 partitions seem to corrupt the Ubuntu file system.

You have ext2fsd (Ext2Fsd-0.69.1035-09.14 ) installed. You should uninstall it, and your file system corruption problem should be solved.

Then check the file system on your Ubuntu partition...

  • boot to the GRUB menu
  • choose Advanced Options
  • choose Recovery mode
  • choose Root access
  • at the # prompt, type sudo fsck -f /
  • repeat the fsck command if there were errors
  • type reboot

If for some reason you can't do the above...

  • boot to a Ubuntu Live DVD/USB
  • start gparted and determine which /dev/sdaX is your Ubuntu EXT4 partition
  • quit gparted
  • open a terminal window
  • type sudo fsck -f /dev/sdaX # replacing X with the number you found earlier
  • repeat the fsck command if there were errors
  • type reboot
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.