You are not logged in.
My own stupid fault. I deleted a 50GB partition which I intended to use to try arch linux. I used the archinstall script. It seemed to want to wipe the whole 1GB drive. But anyway it failed. I am not sure if it wiped a partition table, all partition tables, or whatever.
On that particular drive I had other linux installs together with my Windows games (not very important since I can just download them from steam, gog, etc. again).
I am downloading a live distro of fedora to take a look at the disk as I type this.
Offline
It seemed to want to wipe the whole 1GB drive.
I think you meant the whole 1 TB drive. Not entirely clear on your post what you want to achieve. Do you just want to see your partition table? You can used the same fedora live to do that. I have a feeling the partitions are still intact. If you want to install Arch, then best is to do a manual and format just the partition you need for the install. Just make sure you take note of the different partitions so you don't overwrite the existent ones. You also must have already an EFI partition since you have other distros so make note of that as well to use and share with your Arch install.
Offline
It seemed to want to wipe the whole 1GB drive.
I think you meant the whole 1 TB drive. Not entirely clear on your post what you want to achieve. Do you just want to see your partition table? You can used the same fedora live to do that. I have a feeling the partitions are still intact. If you want to install Arch, then best is to do a manual and format just the partition you need for the install. Just make sure you take note of the different partitions so you don't overwrite the existent ones. You also must have already an EFI partition since you have other distros so make note of that as well to use and share with your Arch install.
I just want to get the partition table or find the individual LUKS partitions. Now I'm using
sudo hexdump -C /dev/nvme1n1 |grep LUKS
to try to find the LUKS partitions. If I can grab the data out of those I'm ready to wipe the drive and start again.
This is what fdisk sees for that drive
Device Start End Sectors Size Type
/dev/nvme1n1p1 2048 1050623 1048576 512M EFI System
/dev/nvme1n1p2 1050624 42993663 41943040 20G Linux filesystem
/dev/nvme1n1p3 42993664 1953523711 1910530048 911G Linux filesystem
Offline
Testdisk worked for me, to recover lost partitions.
Offline
I wrote a LUKS repair / recovery guide (includes how to find the partition offsets) over here, but it only works for LUKS 2: https://unix.stackexchange.com/a/741850/30851
If it was formatted at all... you might be out of luck, since mkfs does a full discard / trim and all data is gone.
----
You can roughly guess how much (encrypted or otherwise) data there might be left on the device by compressing it and counting the compressed size. If it's all discarded / zero, the output size will be very small and there is nothing to recover...
trimcheck.sh
#!/bin/bash
#
# check how much encrypted data vs. trimmed areas
#
target="$1"
if [ -b "$target" ]
then
size=$(blockdev --getsize64 "$target")
else
size=$(stat -c "%s" "$target")
fi
pv -cN input < "$target" | lzop --fast | pv -cN output --size="$size" > /dev/null
example for a trimmed device:
input: 62.0GiB 0:00:29 [2.17GiB/s] [======> ] 26% ETA 0:01:19
output: 291MiB 0:00:29 [10.1MiB/s] [> ] 0% ETA 6:37:49
example for a device with data:
output: 64.3GiB 0:00:42 [1.60GiB/s] [======> ] 27% ETA 0:01:49
input: 67.1GiB 0:00:42 [1.60GiB/s] [=======> ] 28% ETA 0:01:43
Last edited by frostschutz (2023-08-25 07:54:31)
Online
I think my data is still there. I searched for LUKS partitiions on the drive. Unfortunately I only came up with an earlier one which I had deleted. But in the process I saw that my drive is still full of data. I am trying testdisk without writing anything to see what it can come up with.
I decrypted the useless 50gb LUKS partition and found the single file inside which I placed there so I would know it from other partitions. I am just hoping my other linux data, which was part of a logical volume spread across this SSD and an intact one, is OK.
```
sudo hexdump -C /dev/nvme1n1 |grep LUKS
205029050 d6 9c 0f d2 02 27 3e 74 b9 e3 24 6d 4c 55 4b 53 |.....'>t..$mLUKS|
38cf4a9f0 a2 e5 f6 ff eb 2f fc 6f 2f e9 0b 4c 55 4b 53 0f |...../.o/..LUKS.|
48a84f1b0 45 4f 43 4c 55 4b 53 5b 38 58 57 28 5d 5d 48 5e |EOCLUKS[8XW(]]H^|
561b37820 dc 0d 4c 55 4b 53 d5 8d d9 89 89 ac ef 03 92 eb |..LUKS..........|
561b392d0 3f 18 77 2a 22 3f 99 ab c8 dc 0d 4c 55 4b 53 d5 |?.w*"?.....LUKS.|
6a52b3d30 b5 1c 7d a4 78 9f e6 73 65 4c 55 4b 53 7e 52 70 |..}.x..seLUKS~Rp|
8c90e7bf0 3d 07 a1 fa f4 60 e7 bd 96 61 4c 55 4b 53 b9 b9 |=....`...aLUKS..|
9e9cb3df0 32 9f 3d 07 a1 fa f4 60 e7 bd 96 61 4c 55 4b 53 |2.=....`...aLUKS|
a6fd603e0 96 61 4c 55 4b 53 b9 b9 e7 d0 1d e8 48 42 8a a0 |.aLUKS......HB..|
c76f84780 be c8 4c 55 4b 53 00 1c f6 31 45 cc f3 d3 27 33 |..LUKS...1E...'3|
da5b0e7d0 db a3 b9 9f a8 91 60 da 4c 55 4b 53 f4 ed 77 e7 |......`.LUKS..w.|
e80a2aa20 c2 80 a1 b8 20 16 ac 4c 55 4b 53 41 63 6a 6f 25 |.... ..LUKSAcjo%|
edb9e4e60 53 4f 56 45 4c 4c 55 4b 53 45 54 4e 69 6d 65 74 |SOVELLUKSETNimet|
f2c647000 b5 54 b5 4c 55 4b 53 b5 44 d5 ca 51 d5 54 37 aa |.T.LUKS.D..Q.T7.|
f8f079670 54 4c 55 4b 53 47 50 3d 4d f5 47 39 3e 46 2f 47 |TLUKSGP=M.G9>F/G|
fd06d4d80 50 54 4c 54 34 4d ba 45 ba 48 3b 51 4c 55 4b 53 |PTLT4M.E.H;QLUKS|
fd15ad9a0 c6 43 4a 49 52 4c 55 4b 53 48 4c 48 3b 47 bb 48 |.CJIRLUKSHLH;G.H|
10429fced0 1d cd 94 72 37 ed ed bb 4c 55 4b 53 93 a8 bb 42 |...r7...LUKS...B|
1043e8b9f0 bb 22 dd a2 00 32 53 0b 01 4c 55 4b 53 79 85 4f |."...2S..LUKSy.O|
11bebce780 d5 4c 55 4b 53 55 29 ab aa 54 ae 65 d5 af 77 a6 |.LUKSU)..T.e..w.|
1743fdc960 08 50 25 4f 3a 4e 49 4d 51 4c 55 4b 53 4a 4f 49 |.P%O:NIMQLUKSJOI|
176f888770 c8 4c 99 4c 65 4c 23 4c 1a 4c 55 4b 53 4b 90 4c |.L.LeL#L.LUKSK.L|
18d49791f0 7a 85 a6 03 4c 55 4b 53 ec ea d1 20 86 31 4b ba |z...LUKS... .1K.|
1a70852df0 4c 55 4b 53 ed ae 4a 7e 75 ac 6f 28 82 31 b6 cf |LUKS..J~u.o(.1..|
1d5ab77ee0 9c 07 76 60 78 4c 55 4b 53 df 87 81 46 d1 7e 5e |..v`xLUKS...F.~^|
1e3afb1df0 e4 4c 55 4b 53 cf 0d 87 ae bf 46 af 5a 15 54 41 |.LUKS.....F.Z.TA|
1eb41c8090 6d a4 0f 99 18 8a 4c 55 4b 53 ef 72 17 26 fd fe |m.....LUKS.r.&..|
1eecac9e60 53 4f 56 45 4c 4c 55 4b 53 45 54 4e 69 6d 65 74 |SOVELLUKSETNimet|
219facb230 8a 9e 6e 7b 8e 43 45 4b 42 44 4b 45 4c 55 4b 53 |..n{.CEKBDKELUKS|
223ed031f0 01 4c 0b b1 39 4d 75 f8 7e 8f cb 4c 55 4b 53 03 |.L..9Mu.~..LUKS.|
22f1954b10 8d 78 73 2d 04 38 a2 aa 23 4c 55 4b 53 39 bd 18 |.xs-.8..#LUKS9..|
231285cea0 99 28 7a 80 42 03 9f b4 8a 8a a3 4c 55 4b 53 ec |.(z.B......LUKS.|
249550a760 55 33 08 03 88 d8 8e 29 23 59 50 4c 55 4b 53 4d |U3.....)#YPLUKSM|
24e75d3a30 4e 4b 1b 48 4c 55 4b 53 80 3f 2a 0d 4c d6 1b 47 |NK.HLUKS.?*.L..G|
253ac673e0 71 3a 77 41 e1 46 93 4a 89 4c c3 4c 55 4b 53 48 |q:wA.F.J.L.LUKSH|
288348e4d0 53 4f 56 45 4c 4c 55 4b 53 45 54 24 31 20 70 79 |SOVELLUKSET$1 py|
28f9df5000 b5 54 b5 4c 55 4b 53 b5 44 d5 ca 51 d5 54 37 aa |.T.LUKS.D..Q.T7.|
29ab4afed0 7f 52 61 72 43 4c 55 4b 53 8f 3f 46 8a 3a 40 85 |.RarCLUKS.?F.:@.|
29ab848ed0 7d 52 61 72 44 4c 55 4b 53 8f 3e 45 89 39 3f 84 |}RarDLUKS.>E.9?.|
29afa24780 44 4c 55 4b 53 5c 42 49 51 36 3d 44 36 3d 44 30 |DLUKS\BIQ6=D6=D0|
29afa29710 5c 66 71 45 4d 56 45 4d 56 44 4c 55 4b 53 5c 58 |\fqEMVEMVDLUKS\X|
29afa2d470 4c 55 4b 53 5c 8c 9b ab c1 d4 e9 75 81 8f 4e 56 |LUKS\......u..NV|
29afa31130 61 52 5b 65 5f 69 74 44 4c 55 4b 53 5c 82 8f 9e |aR[e_itDLUKS\...|
29afa32530 6b b0 c1 d5 92 a1 b2 51 5a 64 44 4c 55 4b 53 5c |k......QZdDLUKS\|
29c4e6cda0 44 4d 52 5a 63 44 4c 55 4b 53 5b 52 5a 62 4d 55 |DMRZcDLUKS[RZbMU|
2c17877390 ed 0d 3a 3f 99 ab c8 dc 0d 4c 55 4b 53 d5 4d d9 |..:?.....LUKS.M.|
2c1b398960 9b 9f cc 55 64 ee 76 4c 55 4b 53 d5 4d d9 89 89 |...Ud.vLUKS.M...|
2c1b39cdd0 cc 55 64 ee 76 4c 55 4b 53 d5 4d d9 89 89 ac f1 |.Ud.vLUKS.M.....|
2da57cd4e0 b4 87 25 67 ca 38 7c c1 df 0b c5 85 4c 55 4b 53 |..%g.8|.....LUKS|
2e692bd3d0 4c 55 4b 53 32 33 2b f9 f9 fd 20 1e 43 44 40 31 |LUKS23+... .CD@1|
2f2d60eb20 aa 0d e1 44 d4 52 e7 d7 bf 4c 55 4b 53 6f 95 40 |...D.R...LUKSo.@|
326315cff0 f4 45 8e 49 d4 4b 7f 4c a5 4c 55 4b 53 4c c8 4b |.E.I.K.L.LUKSL.K|
3377f72fe0 2f 27 23 37 00 4c 55 4b 53 fc 80 4c 6d 12 d8 d8 |/'#7.LUKS..Lm...|
34552e0460 56 4b 55 4c 55 4b 53 5f 55 5e 53 5e 55 49 53 4b |VKULUKS_U^S^UISK|
349e461f50 40 40 a0 02 f1 93 41 41 3f 3f 50 61 4c 55 4b 53 |@@....AA??PaLUKS|
34c9f27860 0f 60 64 4c 55 4b 53 4d 4a 19 1d 21 2e 09 34 3b |.`dLUKSMJ..!..4;|
3577b34290 a3 61 5c b7 9b 63 68 7b 34 e9 9a 4c 55 4b 53 9a |.a\..ch{4..LUKS.|
397541dcc0 27 55 57 02 f0 ff b3 f5 ff 20 4c 55 4b 53 9d dd |'UW...... LUKS..|
3975449a40 50 f1 7d f5 f0 ff 37 f8 bf 30 4c 55 4b 53 27 eb |P.}...7..0LUKS'.|
3d655d53e0 b0 be 65 4c 55 4b 53 55 4b 53 55 4b 53 95 04 c7 |..eLUKSUKSUKS...|
3d753c5590 55 a5 be 6b 70 df af f4 7f 70 4c 55 4b 53 13 11 |U..kp....pLUKS..|
413dae3fd0 d8 b6 fd 5f b0 ff 6b 0e 40 00 4c 55 4b 53 33 51 |..._..k.@.LUKS3Q|
4158e8f2a0 b9 2a f4 c3 4c 55 4b 53 d5 12 5f e4 45 5b e3 b4 |.*..LUKS.._.E[..|
41ccaceac0 cd 3e 52 4c 55 4b 53 d2 51 b6 42 bd 3a bb 4f 4a |.>RLUKS.Q.B.:.OJ|
41ccfdd580 51 55 4c 55 4b 53 bc 4f b2 b4 ce d4 42 bb 2f a7 |QULUKS.O....B./.|
45bdb797d0 4c 55 4b 53 4c e6 1a e7 1a e9 1a e6 1a 9f 4d fe |LUKSL.........M.|
46bb4d5660 87 c3 e1 60 30 18 4c 55 4b 53 dd a0 9d cd ff 8f |...`0.LUKS......|
484c4cb970 3c 44 4c 46 4c 55 4b 53 5e 4a 54 60 41 4d 59 3b |<DLFLUKS^JT`AMY;|
4b0e6500b0 5d 59 96 65 89 ef 87 c5 4c 55 4b 53 55 49 be dd |]Y.e....LUKSUI..|
4c5d64a3d0 02 3e 50 41 c9 42 4c 55 4b 53 73 e6 25 0d 0d da |.>PA.BLUKSs.%...|
55d0129290 4c 55 4b 53 56 69 7f 85 81 76 60 60 55 49 3d 2c |LUKSVi...v``UI=,|
5645fff9b0 42 4a 3a 42 4a 3e 46 4f 44 4c 55 4b 53 5b 41 48 |BJ:BJ>FODLUKS[AH|
5780e97180 4c 55 4b 53 d5 8d d9 89 89 ac ef 03 92 eb 19 d8 |LUKS............|
57847dd570 97 08 ed 0d 3a 3f 99 ab c8 dc 0d 4c 55 4b 53 d5 |....:?.....LUKS.|
578a8cf4b0 34 9a 8c 4c 55 4b 53 e0 1c 0e a7 f3 ff cf d4 a8 |4..LUKS.........|
59d0a84d40 b2 d2 53 47 f7 5d 4c 55 4b 53 46 96 5b 0e cb b2 |..SG.]LUKSF.[...|
5c6aaa12e0 01 ec 65 15 13 9c 26 ec d4 ed bb 4c 55 4b 53 ce |..e...&....LUKS.|
5d28319610 af 43 3e 4c 55 4b 53 a0 58 3e ef 3e 84 ae d9 e6 |.C>LUKS.X>.>....|
5d64744f10 22 b0 d8 6a 98 9e a5 be 5a 4c 55 4b 53 2a b5 4e |"..j....ZLUKS*.N|
5e00d25fd0 c6 d3 60 c3 25 de 4c 55 4b 53 58 62 b4 c6 75 4d |..`.%.LUKSXb..uM|
5ea8259630 15 a2 b6 72 d3 91 0a b3 f9 4c 55 4b 53 24 32 67 |...r.....LUKS$2g|
60fe99ea70 35 f1 cd 4a 7d a9 f8 12 ec 35 b3 4c 55 4b 53 5b |5..J}....5.LUKS[|
61c22c4ff0 57 56 59 53 54 51 51 4e 50 51 4e 59 4c 55 4b 53 |WVYSTQQNPQNYLUKS|
61d6c79f00 57 52 52 4f 4f 4d 4c 55 4b 53 50 58 55 4e 54 50 |WRROOMLUKSPXUNTP|
63501478d0 66 0f 27 49 3e 45 70 78 ae d3 b7 3f 4c 55 4b 53 |f.'I>Epx...?LUKS|
635acdac70 03 ed 4c 55 4b 53 00 45 4b 8a 27 e6 bc 9b ee 77 |..LUKS.EK.'....w|
63a256f3a0 16 71 4c 55 4b 53 02 1e 16 6a 8e 41 55 09 0e 6f |.qLUKS...j.AU..o|
6586224170 93 9f 4c 55 4b 53 46 b4 23 2b b6 9e 92 91 90 3b |..LUKSF.#+.....;|
658a2361d0 4e 5a 4c 55 4b 53 44 50 bb 48 ad 40 a8 37 a7 2f |NZLUKSDP.H.@.7./|
658b7fc3b0 59 4e 59 52 5a 55 5a 54 58 4e 57 4c 55 4b 53 48 |YNYRZUZTXNWLUKSH|
658c01b1f0 aa b9 ae 48 c2 51 3f 46 3b ba 45 43 4c 55 4b 53 |...H.Q?F;.ECLUKS|
658c1effc0 4c 55 4b 53 47 45 4d ca 56 4c 58 4a 4c 4b 2f 48 |LUKSGEM.VLXJLK/H|
65c30de0d0 62 62 6c 65 68 65 61 64 4c 55 4b 53 63 72 69 70 |bbleheadLUKScrip|
6931e17130 50 4c 55 4b 53 3b ff 4c c7 28 bc b3 c4 b2 f4 ff |PLUKS;.L.(......|
693490feb0 fe 07 08 56 56 fb 4c 53 0c 71 4c 55 4b 53 4c be |...VV.LS.qLUKSL.|
696b3f2740 d5 a8 4c 55 4b 53 7e 29 a6 ed f6 a5 0c 61 6b 7b |..LUKS~).....ak{|
698b9330c0 66 4c 6a 4c 68 4c 55 4b 53 4b 67 4c 5b 4b 6b 4c |fLjLhLUKSKgL[KkL|
69e128e9a0 52 4b b9 4c bb 4c 53 4b 52 4b bb 4c 55 4b 53 4b |RK.L.LSKRK.LUKSK|
6c4e2ecf30 6f 62 62 6c 65 68 65 61 64 4c 55 4b 53 63 72 69 |obbleheadLUKScri|
6c4e2ed080 61 64 4c 55 4b 53 63 72 69 70 74 0d 0a 0d 0a 3b |adLUKScript....;|
70ca513a00 6c 21 a9 20 d1 3d 4c 55 4b 53 59 41 dd d0 dd d0 |l!. .=LUKSYA....|
7147d8c8c0 7e 5d 18 c9 b1 9e 5c df 36 92 f0 e2 4c 55 4b 53 |~]....\.6...LUKS|
714ba485f0 3f 91 8d e6 e8 fa 9c 57 05 d4 4c 55 4b 53 f4 4e |?......W..LUKS.N|
7351d474c0 b7 54 35 4c 55 4b 53 6b 57 d5 79 a9 40 55 33 f5 |.T5LUKSkW.y.@U3.|
738ce0dab0 22 2d 45 eb 24 4c 55 4b 53 e5 4f 6d b2 bb 4a 41 |"-E.$LUKS.Om..JA|
73efe3c9b0 b2 a2 12 ab b5 72 d0 4c 55 4b 53 d5 f5 a5 a9 ac |.....r.LUKS.....|
7702d13ce0 22 4f af 8c 1f ce 09 df 41 bd de 4c 55 4b 53 b2 |"O......A..LUKS.|
78b2fc2290 32 c3 df 88 b1 c7 c1 ab 7a 82 6b 4c 55 4b 53 2a |2.......z.kLUKS*|
78b2fc2290 32 c3 df 88 b1 c7 c1 ab 7a 82 6b 4c 55 4b 53 2a |2.......z.kLUKS*|
79a4de0c10 50 4c 55 4b 53 71 e2 e1 65 fe 85 c4 dc 1e df c5 |PLUKSq..e.......|
7a191d4720 f4 60 e7 bd 96 61 4c 55 4b 53 b9 b9 e7 d0 1d e8 |.`...aLUKS......|
7b2a6b1050 20 e8 06 01 20 ef 4c 55 4b 53 ac 58 8b 48 24 b0 | ... .LUKS.X.H$.|
7e5d313280 ac 18 6c 4c 55 4b 53 5f 08 f7 fc fb b3 fd 94 f7 |..lLUKS_........|
84422e9d70 4c 52 4c 52 4c 55 4b 53 4b cc 69 54 4c 56 4c 56 |LRLRLUKSK.iTLVLV|
8442378ae0 4c 55 4b 53 4b 53 4c 52 4c 52 4c 55 4b 53 4b 53 |LUKSKSLRLRLUKSKS|
85c6e35e00 73 4c 4d 4b 74 4c 75 4c 72 4c 55 4b 53 4b 3c 41 |sLMKtLuLrLUKSK<A|
85d1a75a90 e8 4c e7 4c 55 4b 53 4b 56 4b 56 4b 53 4b 57 4b |.L.LUKSKVKVKSKWK|
87fe3b2d20 60 30 17 4c 87 c3 e1 60 30 17 4c 55 4b 53 d5 a0 |`0.L...`0.LUKS..|
8a1fb92480 2d 6f 97 cc a0 3d 4c 55 4b 53 7b 57 86 c4 cb 2a |-o...=LUKS{W...*|
934af3df30 61 4e 5d 4d 5b 4c 59 4c 55 4b 53 49 4e 49 4c 4b |aN]M[LYLUKSINILK|
934c293d60 5c 4c 5d 4e 5c 4e 5a 4d 58 4c 55 4b 53 4b 54 4d |\L]N\NZMXLUKSKTM|
934c332790 56 58 54 57 4f 55 4d 54 4c 55 4b 53 4a 51 4a 50 |VXTWOUMTLUKSJQJP|
934c3825f0 57 4c 57 4c 55 4b 53 4b 53 4c 54 4d 55 4e 57 4f |WLWLUKSKSLTMUNWO|
93a135a450 32 3f 38 3d 4a 41 52 60 59 4c 55 4b 53 61 60 82 |2?8=JAR`YLUKSa`.|
93a6166200 3d 47 4d 3e 47 50 44 4c 55 4b 53 5c 54 59 62 5f |=GM>GPDLUKS\TYb_|
93aa07a940 50 59 4a 4b 4f 3c 47 4a 37 44 4a 3a 4c 55 4b 53 |PYJKO<GJ7DJ:LUKS|
93bb2b3740 4c 55 4b 53 4c 5b 48 5a 4a 5c 63 61 73 63 7c 65 |LUKSL[HZJ\casc|e|
93bca27680 4c 55 4b 53 46 53 41 53 3d 53 3b 53 44 56 4e 57 |LUKSFSAS=S;SDVNW|
93bd125500 4f 60 74 58 67 57 5d 4c 55 4b 53 4b 65 50 53 4e |O`tXgW]LUKSKePSN|
93bd28fc60 72 54 67 52 5e 50 58 4c 55 4b 53 4a 55 4c 56 4e |rTgR^PXLUKSJULVN|
93bd77f010 47 55 4a 55 4d 52 4d 4e 52 4c 55 4b 53 47 55 44 |GUJUMRMNRLUKSGUD|
93be0e61d0 71 6b 66 67 61 64 5b 5f 55 59 52 58 4c 55 4b 53 |qkfgad[_UYRXLUKS|
93c0299070 4d 58 4c 55 4b 53 4e 54 52 55 51 55 57 58 5e 59 |MXLUKSNTRUQUWX^Y|
93c03e8020 67 7b 7b 77 7b 65 70 4c 55 4b 53 65 3b 62 27 5b |g{{w{epLUKSe;b'[|
93c0578b90 55 4c 55 4b 53 4b 4e 4a 4d 4d 48 4d 47 4c 4a 50 |ULUKSKNJMMHMGLJP|
93c0a6a660 48 59 46 58 47 57 48 55 4c 55 4b 53 49 53 49 54 |HYFXGWHULUKSISIT|
93c0e53df0 62 4f 60 4e 60 43 5d 46 5d 4a 5b 4c 55 4b 53 4c |bO`N`C]F]J[LUKSL|
93c13a5500 5c 4c 55 4b 53 48 56 46 57 45 51 43 4b 44 4a 48 |\LUKSHVFWEQCKDJH|
93c22946b0 53 4c 53 4d 55 4e 58 4d 55 4c 55 4b 53 4b 4f 49 |SLSMUNXMULUKSKOI|
93c2a532d0 51 4d 55 4e 56 4d 56 4c 55 4b 53 4a 53 49 55 49 |QMUNVMVLUKSJSIUI|
93c2cb2690 4e 5f 4c 5c 4d 59 4d 57 4c 55 4b 53 4a 51 48 4f |N_L\MYMWLUKSJQHO|
93c2cb3880 57 4b 58 4c 55 4b 53 4b 51 4c 4c 4c 44 4b 3e 49 |WKXLUKSKQLLLDK>I|
93c2fd3b20 6d 3c 89 53 7f 4a 66 4c 55 4b 53 66 62 7b 59 79 |m<.S.JfLUKSfb{Yy|
93c36783d0 4f 5b 4b 5a 4b 58 4c 57 4c 55 4b 53 4a 52 4c 52 |O[KZKXLWLUKSJRLR|
93f1bf0140 2d 4d 4d b5 4c 55 4b 53 55 4d 35 55 cb 4a 55 4d |-MM.LUKSUM5U.JUM|
9402398380 4c 55 4b 53 53 ab ac b3 f3 ee b8 3a ed a7 fd 30 |LUKSS......:...0|
9422df1e40 4c 55 4b 53 e7 7b 5d c4 f4 2c 9e 1f e1 2f 76 ff |LUKS.{]..,.../v.|
94448902b0 06 5e 04 c7 4c 55 4b 53 4b 1b 8d 8e 0b 47 07 53 |.^..LUKSK....G.S|
9445c46580 06 5e 04 c7 4c 55 4b 53 4b 1b 8d 8e 0b 47 07 53 |.^..LUKSK....G.S|
9450b335d0 4e cd 4c 55 4b 53 55 b5 b4 ca 4c 33 27 c7 2c 2b |N.LUKSU...L3'.,+|
9450babb00 a9 a9 56 6a aa 9a a6 1b d5 1c 1b d5 4c 55 4b 53 |..Vj........LUKS|
9452e481a0 2c fd 97 8e 99 aa aa a9 1b 4c 55 4b 53 b5 4c 3b |,........LUKS.L;|
9452e56240 e3 fe f5 99 9d fd 4d ff f1 ff 1b 4c 55 4b 53 d5 |......M....LUKS.|
945393cbd0 ca 34 ad cc 54 55 d5 b2 4c 55 4b 53 d3 54 55 75 |.4..TU..LUKS.TUu|
94b3331ea0 9c 96 d4 10 ba b6 0e 99 4c 55 4b 53 1d 9b e0 69 |........LUKS...i|
94debbb2a0 e4 00 bb 4c 55 4b 53 0d 55 9d ea 00 68 d2 52 ec |...LUKS.U...h.R.|
9568512c70 56 52 4f 55 4d 4c 55 4b 53 56 58 53 52 54 58 4e |VROUMLUKSVXSRTXN|
956853b3e0 55 4f 50 57 50 56 52 4f 55 4d 4c 55 4b 53 56 58 |UOPWPVROUMLUKSVX|
956853b4a0 49 52 55 4f 50 57 50 56 52 4f 55 4d 4c 55 4b 53 |IRUOPWPVROUMLUKS|
956853b690 4f 50 57 50 56 52 4f 55 4d 4c 55 4b 53 56 58 53 |OPWPVROUMLUKSVXS|
956854e7e0 52 55 4f 50 57 50 56 52 4f 55 4d 4c 55 4b 53 56 |RUOPWPVROUMLUKSV|
9568576f60 4c 55 4b 53 56 58 53 52 54 58 4e 53 49 4e 59 55 |LUKSVXSRTXNSINYU|
9568577020 55 4d 4c 55 4b 53 56 58 53 52 54 58 4e 53 49 4e |UMLUKSVXSRTXNSIN|
956858a360 4d 4c 55 4b 53 56 58 53 52 54 58 4e 53 49 4e 59 |MLUKSVXSRTXNSINY|
95685b2ad0 50 56 52 4f 55 4d 4c 55 4b 53 56 58 53 52 54 58 |PVROUMLUKSVXSRTX|
95685b2b90 50 57 50 56 52 4f 55 4d 4c 55 4b 53 56 58 53 52 |PWPVROUMLUKSVXSR|
95685b2d80 56 52 4f 55 4d 4c 55 4b 53 56 58 53 52 54 58 4e |VROUMLUKSVXSRTXN|
9b76a00e90 e8 e7 91 4c 55 4b 53 a1 9d 65 95 9c 1c a2 c2 5f |...LUKS..e....._|
a27f1eea70 72 f4 80 52 60 4c 55 4b 53 57 d0 0a ee f2 6f 14 |r..R`LUKSW....o.|
a80ace86b0 34 18 ec 26 16 44 4c 55 4b 53 1c e1 67 f8 fa 1a |4..&.DLUKS..g...|
a8ca9e08a0 51 66 65 6e 5d 5d 49 6f 69 60 4c 55 4b 53 5c 5e |Qfen]]Ioi`LUKS\^|
aae7000000 4c 55 4b 53 ba be 00 01 61 65 73 00 00 00 00 00 |LUKS....aes.....|
ab5672d250 d7 4c 55 4b 53 0d 2a 2b 19 15 0f 82 9d 2b 27 20 |.LUKS.*+.....+' |
ab7fb8b930 4c 55 4b 53 30 ca 7d 39 6f a2 b0 2f 2b 8d 18 13 |LUKS0.}9o../+...|
aca4fbbd30 66 c0 28 81 f6 ed 61 ff 5c b3 4c 55 4b 53 3a 54 |f.(...a.\.LUKS:T|
ad09637c60 cc bb bc fd 44 51 d7 4c 55 4b 53 82 ed cf 12 62 |....DQ.LUKS....b|
adc9441870 c4 25 44 ae 4c 55 4b 53 42 1b da f8 99 0d 24 5e |.%D.LUKSB.....$^|
aeb4dd3d90 af ee c0 9f 19 1d ba 87 4c 55 4b 53 60 9a 3d 11 |........LUKS`.=.|
aedf639150 4c 55 4b 53 70 e6 46 b2 b2 42 10 fe c1 88 3e 88 |LUKSp.F..B....>.|
aee7c41f30 1a 30 65 9a 1e 19 70 be df 4c 55 4b 53 f5 a1 cd |.0e...p..LUKS...|
b093fca5a0 66 36 30 62 a2 c7 1e c6 4c 55 4b 53 1e f2 f9 70 |f60b....LUKS...p|
b22f54dbf0 55 66 4c 55 4b 53 11 c9 37 c3 ef 47 64 af ac ab |UfLUKS..7..Gd...|
b2ee14b7c0 99 fc a1 be c7 b9 08 11 70 4c 55 4b 53 1e d9 40 |........pLUKS..@|
b304b3e3b0 93 6f 4c 55 4b 53 0c a6 02 68 c5 c5 b9 a7 5b f5 |.oLUKS...h....[.|
b564479860 68 85 4c 55 4b 53 c9 0b df 57 bd 42 54 0f 3e de |h.LUKS...W.BT.>.|
b96e5aee20 ab 13 4c 55 4b 53 03 cf dc fd ec 2e 5e 7b 78 a0 |..LUKS......^{x.|
ba1f659620 4c 55 4b 53 12 64 71 b2 8a ed 7c 7c 4f 6c db 53 |LUKS.dq...||Ol.S|
bc1bb06e30 ee b0 0f 11 be f3 d6 a4 bd 4c 55 4b 53 c8 9a 62 |.........LUKS..b|
bd6db42740 2f 5f a9 e6 6b 7b 4c 55 4b 53 8b 4e 9b 34 a8 00 |/_..k{LUKS.N.4..|
be6fbf0470 b7 cd 83 38 2b a3 e6 c5 6e 84 64 f0 4c 55 4b 53 |...8+...n.d.LUKS|
bf8a96e600 c3 73 bf d1 86 4f 56 4c 55 4b 53 a9 1f 8f b5 fc |.s...OVLUKS.....|
bfa6593c20 0a 5e 0c fe b6 c8 0e 4d b4 73 55 73 4c 55 4b 53 |.^.....M.sUsLUKS|
c00ed7c7a0 c6 be cf 42 a1 4f 3d 4c 55 4b 53 14 db a7 f9 ea |...B.O=LUKS.....|
c0c7e5f820 35 68 fb fa 6a 73 4e 25 52 cd e7 ca 4c 55 4b 53 |5h..jsN%R...LUKS|
c1460236e0 cf 1e 08 4c 55 4b 53 a0 c7 b4 7b 1b cb a7 b7 4b |...LUKS...{....K|
c1ddbdf810 ca 7a 84 3b bf a3 00 f6 12 4c 55 4b 53 09 93 d0 |.z.;.....LUKS...|
c27fa903d0 15 8c 81 2f e8 bb 94 9e 6c 4c 4c 55 4b 53 9b 93 |.../....lLLUKS..|
c485e008a0 cb 4c 55 4b 53 80 d1 ab fc 09 6a b8 fc 6e b6 75 |.LUKS.....j..n.u|
c4feda8870 49 ee 6b b9 6b 74 05 1b 5d 4c 55 4b 53 66 5e cd |I.k.kt..]LUKSf^.|
c7c9e717d0 79 8f 6c 73 64 94 e4 56 99 5c 4c 55 4b 53 e9 7f |y.lsd..V.\LUKS..|
c834bcbe00 4a c3 53 c1 08 fa a2 5e 54 2f 5d 33 4c 55 4b 53 |J.S....^T/]3LUKS|
c8785bcbb0 ad 09 ef c5 95 5a 8a 4c 55 4b 53 ab 63 c6 12 94 |.....Z.LUKS.c...|
c8e7479520 5e 5d 43 d3 4c 55 4b 53 58 7d 1c 66 1f a7 cd a8 |^]C.LUKSX}.f....|
cc2940c680 18 a6 c0 14 4c 55 4b 53 b2 55 bf ce 78 ae 47 91 |....LUKS.U..x.G.|
cc2afc1e60 4c 55 4b 53 fb 16 2a 15 a2 ce 23 1c f1 91 9e 62 |LUKS..*...#....b|
cd1730e5f0 61 d4 5f 2c 88 91 eb 4c 55 4b 53 88 ff f0 f8 f3 |a._,...LUKS.....|
cd4724b140 41 c5 d1 b6 c3 26 3b 4c 55 4b 53 4b ed 09 fa 10 |A....&;LUKSK....|
cf3a035920 35 b8 e5 4c 55 4b 53 f3 9d 09 a9 98 1d 33 eb ef |5..LUKS......3..|
cf8734f240 76 7c 1b ea ea b0 13 4a 5d cf 4c 55 4b 53 ca e9 |v|.....J].LUKS..|
cfd214def0 e6 5c e2 de af 34 18 04 68 29 d7 4c 55 4b 53 ae |.\...4..h).LUKS.|
d194303080 4c 55 4b 53 df fd 61 08 ed 23 82 b1 0d b2 e7 d9 |LUKS..a..#......|
d327845f20 79 99 83 4c 55 4b 53 8c c5 d8 05 d3 2d c1 fa f5 |y..LUKS.....-...|
d435e6a720 91 20 dc f7 dd 4c 55 4b 53 f0 3a 05 8d b6 47 c6 |. ...LUKS.:...G.|
d4597eb920 2f 36 6c 8c 4c 55 4b 53 06 91 76 b4 b5 70 c6 80 |/6l.LUKS..v..p..|
d4f9bfcea0 6e c1 10 4c 55 4b 53 db de f5 d3 88 fe 65 e3 02 |n..LUKS......e..|
d76cf91ea0 0c c0 4f 85 19 1d b5 6e b4 76 db 2f 4c 55 4b 53 |..O....n.v./LUKS|
d96192fd40 54 3a 4c 55 4b 53 e8 03 5d 42 63 33 0f c8 9a 91 |T:LUKS..]Bc3....|
dbebf9ebb0 3f 4c 55 4b 53 c1 d9 52 4c 2e 9e 66 78 b1 71 d3 |?LUKS..RL..fx.q.|
dc356db100 35 3c 27 75 32 cd e7 b5 7e 9e 4c 55 4b 53 04 f1 |5<'u2...~.LUKS..|
dddbb738c0 b1 b4 3d d5 e5 dc b6 28 65 4c 55 4b 53 83 ff a2 |..=....(eLUKS...|
df8c24baf0 45 4c 55 4b 53 63 5b be e1 ea ab d8 b9 ec 3d 73 |ELUKSc[.......=s|
e075b2b6b0 63 35 4c 55 4b 53 9e 14 13 26 d6 63 73 17 63 ae |c5LUKS...&.cs.c.|
e27feb2780 05 91 4c 55 4b 53 54 12 0b 38 b6 72 01 57 2a ec |..LUKST..8.r.W*.|
e52b5e3330 0c 4c 55 4b 53 f7 69 83 2e b7 ae c2 d5 8e 9a af |.LUKS.i.........|
e693bdbce0 f1 e3 b7 4c 55 4b 53 e6 44 c6 66 c2 08 fc 72 66 |...LUKS.D.f...rf|
e736db8270 45 1d 4c 55 4b 53 51 6c 2d eb 15 71 72 63 27 b8 |E.LUKSQl-..qrc'.|
e89275da10 82 be ed 08 75 63 06 6f 1a e4 4c 55 4b 53 d0 a9 |....uc.o..LUKS..|
```
Last edited by TheArchieBunker (2023-08-26 15:51:44)
Offline
Out of these, only `aae7000000 4c 55 4b 53 ba be 00 01 61 65 73 00 00 00 00 00 |LUKS....aes.....|` looks like it could be a valid header.
(Adapt your grep to look for `4c 55 4b 53 ba be`, anything else will be garbage)
I am just hoping my other linux data, which was part of a logical volume spread across this SSD and an intact one, is OK.
LVM metadata of the other SSD might be interesting... was it LVM on LUKS... or LUKS on LVM? In the latter case you might have to look for LVM metadata instead...
It's complicated, and I can't help much, sorry
Last edited by frostschutz (2023-08-26 16:14:54)
Online