Skip to content

Linux recovery

Prayag edited this page Apr 10, 2023 · 1 revision

Highly useful videos

1- Test Disk - How to Recover Files from a Faulty Hard-Drive

2 - How to recover deleted files in Ubuntu #12

Using testdisk

STEP 1 (using live ubuntu, never in a installed OS)

$ wget http://www.cgsecurity.org/testdisk-6.14.linux26-x86_64.tar.bz2
$ tar -jxvf testdisk-6.14.linux26-x86_64.tar.bz2

STEP 2

$ sudo testdisk-6.14/testdisk_static

STEP 3 : choose logging method [No Log]

STEP 4 : select a media to recover

>Disk /dev/sda - 500GB/ 465GiB - ST500DM002-1BD142

eg. Intel

STEP 6 : Current partition table status

"Analyse" to check your current partition structure and search for lost partitions

Advanced

STEP 7

References

How can I recover my data after replacing Windows with Ubuntu? [duplicate]

[Installing software in the Ubuntu system that has overwritten will destroy even more data and make it almost impossible to recover anything]. (https://help.ubuntu.com/community/DataRecovery#CAUTION)

How do I recover my accidentally lost Windows partitions after installing Ubuntu?

Clone this wiki locally