Answer the question
In order to leave comments, you need to log in
Demolished the partition, is it possible to recover the data?
Ubuntu OS, used ext4, ssd drive. Fdisk deleted the partition, selected g create a new empty GPT partition table
, before that the partition was marked as disklabel type: dos. What could be the algorithm of actions? or data "everything"?
Answer the question
In order to leave comments, you need to log in
0) make a sector-by-sector copy of the disk
1) try the trite TestDisk. If nothing else has been written to the disk, restoring the partition table is not as difficult as FS.
You can restore if you have not yet written anything to this partition and have not created a new file system. If possible, it's better to make a disk image via dd, booting from a LiveCD. KO hints that you need to write the disk image to another device, not to the SSD itself :).
Next, you will need to find the place where your old ext4 started from. If it is not overwritten, it can be mounted using the offset option.
Here is a case very similar to yours, roughly telling how to do what:
https://unix.stackexchange.com/questions/103919/ho...
Try gpart to look for old partitions - www.tldp.org/HOWTO/Partition/recovering.html
Well, this is provided that you did not create new ones.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question