Thursday, May 2, 2024
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 7410  / 1 Year ago, sat, january 7, 2023, 12:48:17

As I was resizing my partitions using GParted, my laptop battery ran out, and the process was interrupted.



Now, I am unable to mount the partition which I was trying to resize. I get the following error when I click to mount the partition on nautilus:



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


How can I go about recovering my data? Is there a safe way to attempt to force-mount the partition in question? Any help towards recovering my data is sincerely appreciated.


More From » partitioning

 Answers
3

Some months ago, @psusi said:
"Your data is pretty much toast. At this point you need to restore from backup..."



I didn't believe it. My computer has only about 4GB of RAM, and the partition being moved was around 350GB. If we assume that the "move partition" operation of GParted is correct, 4GB should be a limit on the amount of data that could have been lost. (Otherwise, the "move partition" operation likely could not complete without loss of data).



Indeed, I was able to recover my directory tree, albeit a bit shuffled (since the move operation had been interrupted, a strange directory configuration resulted, where about half of my home directory was inside one folder).



The answer was testdisk, which was able to detect the filesystem in question. After this was detected, I copied the files onto an external HD. This learning experience has brought me closer to enlightenment via http://www.taobackup.com/.


[#34208] Saturday, January 7, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
oileweaty

Total Points: 337
Total Questions: 108
Total Answers: 105

Location: Western Sahara
Member since Mon, May 3, 2021
3 Years ago
oileweaty questions
Thu, Jul 1, 21, 01:57, 3 Years ago
Wed, Nov 24, 21, 11:48, 2 Years ago
Sat, May 14, 22, 00:50, 2 Years ago
;