You are not logged in.

#1 2023-01-14 02:31:18

Der Chefkoch
Member
Registered: 2020-12-05
Posts: 100

[SOLVED] Arch Data SSD in new system - "empty"

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

#2 2023-01-14 02:39:28

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Arch Data SSD in new system - "empty"

What's the output of...

lsblk -f

No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2023-01-14 11:07:24

Der Chefkoch
Member
Registered: 2020-12-05
Posts: 100

Re: [SOLVED] Arch Data SSD in new system - "empty"

Slithery wrote:

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

#4 2023-01-14 12:12:00

seth
Member
Registered: 2012-09-03
Posts: 51,233

Re: [SOLVED] Arch Data SSD in new system - "empty"

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

#5 2023-01-14 13:06:15

Der Chefkoch
Member
Registered: 2020-12-05
Posts: 100

Re: [SOLVED] Arch Data SSD in new system - "empty"

seth wrote:
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

#6 2023-01-14 13:13:45

seth
Member
Registered: 2012-09-03
Posts: 51,233

Re: [SOLVED] Arch Data SSD in new system - "empty"

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

#7 2023-01-22 10:44:08

Der Chefkoch
Member
Registered: 2020-12-05
Posts: 100

Re: [SOLVED] Arch Data SSD in new system - "empty"

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

Board footer

Powered by FluxBB