Timeshift: Restore encrypted to not encrypted drive

Hi,
I backed up my LUKS encrypted device via timeshift and want to restore it on a not encrypted drive. Timeshift lets me do it, but when i start my pc, I get an error and it won’t boot. Probably because its excpecting the old encrypted drive now, my guess.

Pls help :), I don’t know what to do in this case.

Attached screenshot are the settings I use for the restore:
/ is the drive the snapshot should be written on
rest is not changed

“when i start my pc, I get an error and it won’t boot”

Will you please state what the error is?

ERROR: device ‘dev/mapper/luks-someletternumberstring’ not found
Skipping fsck.
mount: /new_root: no filesystem type specified.
You are now being dropped into an emergency shell.
sh: can’t access tty; job control off
[rootfs ]#

You’d need to adapt your /etc/fstab to reflect your now unencrypted partition layout.
Instead of the /dev/mapper UUID you now need the UUID of the new, unencrypted partition.

lsblk -f
should help -
probably from within a live session (USB boot)

Don’t know whether you’d need to update grub after fixing that - it seems likely
since
GRUB_CMDLINE_LINUX contains references to the encrypted device - these need to go
(in /etc/default/grub)

This is probably easiest done from within a chroot - using a live USB iso

Later you can also remove the “encrypt” HOOK from /etc/mkinitcpio.conf

Thanks for the suggestion.

I decided to just create a whole new system from the start.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.