Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Tried To Resize LVM on LUKS (Read 238 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Tried To Resize LVM on LUKS

I setup my Artix-runit lvm-on-luks system a few months ago by mainly following this guide:

https://web.archive.org/web/20210515073858/https://www.rohlix.eu/post/artix-linux-full-disk-encryption-with-uefi/

I got some help from this video too: https://www.youtube.com/watch?v=dI3bGeT31Bo&t=2412s

I was trying to resize logical volumes on my LVM on LUKS setup and I believe I was successful using these sources:

https://wiki.archlinux.org/title/Resizing_LVM-on-LUKS
https://wiki.archlinux.org/title/LVM

I used to be able to login to my desktop environment by entering the passphrase. However, I could no longer login after my modifications and I am getting this grub rescue message instead:

Code: [Select]
Attempting to decrypt master key...
Slot 0 opened
error: attempt to read or write outside of disk 'lvmid/(some gibberish...)'
Entering rescue mode...
grub rescue>

Sorry for my unprofessionalism and any help will be truly appreciated.

Re: Tried To Resize LVM on LUKS

Reply #1
Forgot to mention, I used a USB flash install media for the resizing steps.

A solution that I thought of was decrypting the LVM on LUKS partition permanently using the USB flash install media. Not sure if that would work...

https://wiki.archlinux.org/title/Removing_system_encryption#Removing_LUKS_via_Backup-Format-Restore

This is a similar to my LVM on LUKS layout: https://wiki.archlinux.org/title/dm-crypt/Encrypting_an_entire_system#LVM_on_LUKS


Re: Tried To Resize LVM on LUKS

Reply #2
So I reverted all changes and I finally was able to log back into my disk THANK GOD! I will mark this post as solved and I'll do the resizing stuff later on in my spare time :P