You are not logged in.
Hi,
I'm attempting to install Arch on my Desktop Computer, with fully encrypted disks.
I'm having issues writing out the proper Kernal Parameters, for GRUB_CMDLINE_LINUX_DEFAULT
Where I add the cryptdevice UUID and root path, as it shows in the LVM on LUKS guide: https://wiki.archlinux.org/title/Dm-cry … t_loader_2
When I attempt to configure the grub, I get the output:
"/etc/default/grub: line 6: loglevel=3 quiet splash cryptdevice=UUID=XXXX-XXXX-XXXX-XXXXX-XXXXXXX:cryptlvm root=/dev/mapper/MVolGroup/root: No such file or directory"
The UUID I am using is for the disk partition that contains root.
Am I using the wrong UUID, am I giving the incorrect pathway to root?
I also have a crypttab setup for separate disks that don't contain root.
Any help would be Appreciated! Let Me know if there is any other information I can provide that would help make the issue more clear.
//////EDIT///////
I was able to configure grub properly by moving my "quiet splash" parameters out of GRUB_CMDLINE_LINUX_DEFAULT and into GRUB_CMDLINE_LINUX instead.
Mainly it was the splash parameter causing the issue, moved quiet for preference.
Though if anyone knows why does this make a difference?
Last edited by minimal0 (2025-10-14 02:51:06)
Offline
Hello
Try to use "cryptdevice/dev/sda2(your now partition path)=:cryptlvm root=/dev/mapper/MVolGroup/root"
If it work, your previous settings is wrong.
Have you changed HOOK? You need add "encrypt lvm2" HOOK in "/etc/mkinitcpio.conf" before the HOOK "filesystem"
This is my encrypted partition informations
[root@XXX]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 20G 0 disk
├─sda1 8:1 0 500M 0 part /boot
└─sda2 8:2 0 19.5G 0 part
└─SYSTEM 254:0 0 19.5G 0 crypt
├─OS-SWAP 254:1 0 4G 0 lvm [SWAP]
└─OS-ROOT 254:2 0 15.5G 0 lvm /
sr0 11:0 1 1024M 0 rom
Offline