0

I've got Ubuntu 16.04 running on a Sony VAIO laptop that has been a workhorse for massive computations for mathematical research for years. I think it's dying, and I need to save all my data.

After many iterations of manually running fsck and tediously confirming YES to all errors (literally thousands), as in this question and others, I finally managed to get it to boot properly and it even loaded up the GUI. Only problem: in a shell I am treated to the reminder that the filesystem is mounted read-only.

I have a functioning external USB drive (confirmed on another computer), but the dying laptop doesn't mount it automatically nor can I find it using fdisk -l. And even if I could, I can't create a mount point because that requires writing to the drive.

I would like to just rsync my entire home folder (I'd lose some other things like fonts and LaTeX packages installed elsewhere but whatevs.) What to do?

1 Answers1

1

My answer is similar to others.
Clonezilla, Lsoft Active,

as well as other software out there.
Boot from USB or Optical Media, Active has disk checker and other utilities, back up data to external hard drive while in the utility software.
Replace HDD, reinstall OS.
As mentioned, you can clone the drive, but in this case where the drive might be failing, and if it has bad sectors, if you clone it, you will clone the bad sectors.
I'd just back the data up, replace hard drive, reinstall OS / Software / Drivers / Etc... then restore data. In the long run, safest bet.

smjadtnf707
  • 1,064