i have the Following Problem:
i started Windoows (Yes a big Failure), to wipe an USB Stick.
I deleted a Partation, it was the EFI Partition from my Garuda.
I started from a USB Stick, to recover. Testdisk found it, but it only Wrote the EFI and deleted the 2 other Partions. My second Failure, i didn’t made a Backup before that Point.
I started TestDisk again, they found Partition, but its unallocated Space…
What can i do? I am at that Point to send it somewhere to recover my data… But maybe i have an option that i don’t see?
My System was/is LUKS encrypted.
Hope someone can help me.
Well this thing happened with me too…When u delete ur efi partion garuda boot repair too can’t do much. I think you should do a fresh installation of garuda.
i have no backup and i need the data… so the data isnt lost, only the info of partitions… i hope something can i do…
Edit: Just Saying: i have no Problems to make a fresh install of Garuda, i just want my Home directory back.
Try this TestDisk software, it seems to be designed for this kind of data recovery:
File recovery - ArchWiki
TestDisk and PhotoRec
TestDisk and Photorec are both open-source data recovery utilities licensed under the terms of the GNU Public License (GPL).
TestDisk is primarily designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software, certain types of viruses, or human error, such as the accidental deletion of partition tables. TestDisk detects numerous filesystem including NTFS, FAT12, FAT16, FAT32, exFAT, ext2, ext3, ext4, btrfs, BeFS, CramFS, HFS, JFS, Linux Raid, Linux Swap, LVM, LVM2, NSS, ReiserFS, UFS, XFS. It can also undelete files from FAT, NTFS, exFAT and ext2 filesystem.
TestDisk allows to fix partition tables, recover deleted partitions, recover FAT32 boot sector from its backup, rebuild FAT12/FAT16/FAT32 boot sectors, fix FAT tables, rebuild NTFS boot sector and more.
PhotoRec is file recovery software designed to recover lost files including photographs (Hint: PhotographRecovery), videos, documents, archives from hard disks and CD-ROMs. PhotoRec ignores the filesystem and goes after the underlying data, so it will still work even with a re-formatted or severely damaged filesystems and/or partition tables.
Install the testdisk package, which provides both TestDisk and PhotoRec.
After running e.g. ddrescue to create image.img,
photorec image.img will open a terminal UI where you can select what file types to search for and where to put the recovered files. There is very good documentation on their wiki.
Files recovered by photorec
The photorec utility stores recovered files with a random names(for most of the files) under a numbered directories, e.g.
I’ve done nearly the same. When you’re working with multiple partitions it’s not hard to get confused. I now mirror my data to another disk daily. PhotoRec & Testdisk worked OK.
Well… Thank you for tipps. I had hope for a short time. Testdisk found Partitions, but it seems testdisk set the headers wrong
I believe that the unallocated objects my lost Partitions, but how can i make it? Is there a way to make it Temporary? Really i does not have any Problems to make a fresh install, but i really need my home directory.
I know that i had 4 Blocks. 1 before EFI unallocated, then EFI then my main Partition and i does not know what is the last one, that makes Garuda.
EDIT: PhotoRec / Recover It found no LUKS Partitions, but it searched over the night, with no Results.
Save your data and format everything else. Then install everything again, noting what and where you put it all.
Trying to restore entire systems never works when you’re at the point you are and don’t know how. You’re topic header says it all. I’ve been where you’re at. It’s all a guessing-game presently and we won’t know what’s what. Anything else makes us responsible.
Next time you’ll do better.
Well, i cannot Save my Data if i have not any access to them.
Whatever. I make it.
Testdisk helpes me a lot and a few hours on YouTube.
First: Don’t Panic and do not Format your Disk.
If Testdisk found the LUKS Header is everything okay!
Clone directly forensic your Device, to make a Backup! (I used O&O DiskImage to clone the whole HDD).
If Testdisk found your Header (Do it from the Backed up Device!):
- EFI Partition must be Write (Green letters)
- All other Partition unwrite (press left arrow or D)
- Now add a Partition from the Following System:
- Check in Partition Manager for the Sectors.
- First Sector: The BEGIN Sector of Luks Header
- Last Sector: The LAST Sector of unallocated Space.
- Now Enter: Type Linux Data Filesystem and as second LUKS.
- Write the Table.
- If it works, do the same on your Main HDD/SSD, If not test a while with the Headers, check the Sectors!
- Restart and enjoy your rescued System!
Note: This will only Works with a damaged Partition Table NOT for a formatted Device!!!
Thank you all for Help and i will directly make a Backup!
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.