You are not logged in.
Hello
I had to reinstall my notebook.
Before, root and swap were LVMs on LUKS-encrypted partition.
I formatted this partition and set it to "Linux LVM" . Created a new VG on the partition and installed arch.
After installation all worked fine, but at boot I see
ERROR: Failed to open encryption mapping: The device /dev/mapper/arch_lvm-root is not a LUKS volume and te crypto= parameter was not specified.
/dev/mapper/arch_lvm-root: clean, 237467/27525120 files, 5755591/110099456 blocks
/etc/mkinitcpi.conf
...
MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)
BINARIES=()
FILES=()
HOOKS=(base udev autodetect microcode modconf kms keyboard keymap consolefont block encrypt lvm2 filesystems fsck)
...
/etc/default/grub
...
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet root=/dev/mapper/arch_lvm-root acpi_os=Linux resume=/dev/mapper/arch_lvm-swap"
GRUB_CMDLINE_LINUX="nvidia_drm.modeset=1 nvidia_drm.fbdev=1"
...
I tried
$ sudo cryptsetup erase /dev/mapper/arch_lvm-root
Gerät »/dev/mapper/arch_lvm-root« ist kein gültiges LUKS-Gerät.
$ sudo cryptsetup luksDump /dev/mapper/arch_lvm-root
Gerät »/dev/mapper/arch_lvm-root« ist kein gültiges LUKS-Gerät.
After wipefs -a /dev/mapper/arch_lvm-root the partition-superblock were damaged, I had to repair with e2chkfs, but error still persists.
How can I prevent system from trying to decrypt an unencrypted device??
Last edited by EnzephaloN (2024-10-11 10:35:54)
Offline
HOOKS=(base udev autodetect microcode modconf kms keyboard keymap consolefont block encrypt lvm2 filesystems fsck)
.
try removing the encrypt hook from mkinitcpio.conf and run mkinitcpio again.
Never argue with an idiot, they will drag you down to their level and then beat you with experience.
It is better to light a candle than curse the darkness.
A journey of a thousand miles begins with a single step.
Offline
According to their post in other languages, /home is still encrypted, hence the hook being present.
Offline
try removing the encrypt hook from mkinitcpio.conf and run mkinitcpio again.
I tink I need this, because my home-partition is still encrypted?
Offline
Hello.
Because I had to reinstall, I tried to remove "necrypt" from HOOKS. It works, because I only encrypted /home and did not encrypt root. And now there is no error-message shown anymore!
Thanx a lot.
EnzephaloN
Last edited by EnzephaloN (2024-10-11 10:35:39)
Offline