You are not logged in.
I migrated to a new system and made backups on a SATA SSD that I moved to the new system.
However, after doing a fresh install on my designated System SSD I tried accessing said Backup drive, but its kind of gone. Seems "unformatted", in gnome-disk-utilities it is shown empty (GUID partition).
Did I accidentally erase the drive (dunno how), or would there be an issue with ownership or something else?
Thx
Last edited by Der Chefkoch (2023-01-22 10:44:23)
Offline
Offline
What's the output of...
lsblk -f
The output regarding this drive is:
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
sda
└─sda1
nothing there...
here is the output of "lsblk"
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 1,8T 0 disk
└─sda1 8:1 0 16M 0 part
Its a 2TB disk, has one small 16M partition now, which I do not recall. This was a drive for apps and data, no OS on this one.
Offline
fdisk -l /dev/sda
https://wiki.archlinux.org/title/File_r … d_PhotoRec
https://www.cgsecurity.org/wiki/TestDisk
See whether testdisk can find partitions/filesystems…
nb. that if you've multiple drives, blindly relying on /dev/sdX order is a recipe for disaster.
Offline
fdisk -l /dev/sda
https://wiki.archlinux.org/title/File_r … d_PhotoRec
https://www.cgsecurity.org/wiki/TestDisk
See whether testdisk can find partitions/filesystems…nb. that if you've multiple drives, blindly relying on /dev/sdX order is a recipe for disaster.
Gerät Anfang Ende Sektoren Größe Typ
/dev/sda1 34 32767 32734 16M Microsoft reserviert
sry is in German.
I am running testdisk now, it found the ext4 partition, says filesystem might be damaged. It did not show detailed files at this stage. I am now running cylinder analysis, not sure how to proceed
Offline
Why is there a windows specific partition on the drive?
Did you use it on some windows PC and allow that to do w/ it whatever it wants?
says filesystem might be damaged
If windows flattened the FS header… yeah?
The files might be (mostly…) recoverable - where does testdisk find the FS?
Starting before sector 32767?
not sure how to proceed
Ideally by cloning the device to prevent further damage through a bad recovery call.
Then restore the previous partition layout / let testdisk recover the FS and fsck that and hope for the best.
Knowing why there's a windows partition might help to inform the proceeding decisions.
Offline
So I did the fsck on the drive and I pretty much got all the data back (in the sense, I havent noticed any loss/corruption). TestDisk I did not really use, worked with fsck. Thx!
Offline