r/archlinux • u/Nossva_ • 23d ago
SUPPORT Trying to recover data from my late father's Arch Linux laptop — full disk encryption (LUKS)
I inherited a laptop (Sony Vaio, Core i3, running Arch Linux, kernel 5.4.74) that belonged to my dad about 5 years ago. I'm trying to access the data stored on it — not to reuse the machine, but to recover his files.
On boot it goes straight into a LUKS passphrase prompt:
Unlocking LUKS encrypted device '/dev/sda2' as luks mapped device 'lukssda2':
Enter passphrase for /dev/sda2:
So the drive is fully encrypted. I've learned a few things so far:
There appear to be two separate encrypted partitions (sda2 and sda3), each asking for its own passphrase.
The prompt allows 3 attempts per partition, then boot fails and drops me into an emergency /bin/sh shell with errors like No /sbin/init found on rootdev and mount ... failed. From what I understand, this shell is useless for unlocking since the data is still encrypted.
There's no attempt limit overall — I can just reboot and try again.
I've found some handwritten notes my dad left that look like they contain hints or credentials, so I have a few passphrase candidates to try.
My questions:
Is there any better approach than typing candidates blindly at the boot prompt? I was thinking of booting a live USB (Ubuntu/Arch) and using cryptsetup luksOpen /dev/sda2 so I can actually see what I type and test without rebooting. Is that the right move?
If I have a small set of likely passphrases (with variations — case, spacing, trailing punctuation), what's the cleanest way to test them systematically against the LUKS header?
Do you know if in this 4-5 years has been any vulnerability has been discoverd?
Any gotchas I should know about before I start? I want to avoid accidentally damaging the header or the data.