You are not logged in.

#1 2022-11-18 11:02:50

VoDo
Member
From: Europe
Registered: 2020-06-04
Posts: 122

[SOLVED]systemd-boot and LUKS

Hello I successfully switched form grub to systemd-boot on NON encrypted machine now I would like to do the same on system with LUKS I have no idea what exactly to put to .../entries/arch.conf. Can anybody help? p6 is LUKS but what format etc should be in option section with the entry cryptroot?

~ >>> sudo blkid                                                                                               
[sudo] password for arch: 
/dev/nvme0n1p5: BLOCK_SIZE="512" UUID="8A823C54823C474B" TYPE="ntfs" PARTUUID="e9bac6a8-ab70-47da-ae74-992758023c76"
/dev/nvme0n1p3: TYPE="BitLocker" PARTLABEL="Basic data partition" PARTUUID="86f2a039-7abe-4da9-ab71-fdc2fbbad774"
/dev/nvme0n1p1: UUID="AA20-00E4" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="eb33558d-ed76-48de-8310-ed9560a99cbe"
/dev/nvme0n1p6: UUID="a40a34e0-7aa8-45a5-88f0-6b5814bd3efb" TYPE="crypto_LUKS" PARTUUID="a1c03bf7-6bd1-f140-adc2-cf1e53c03177"
/dev/nvme0n1p4: UUID="DA08-48B7" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="ed21618c-190e-2b4e-8980-50efa7395d48"
/dev/nvme0n1p2: PARTLABEL="Microsoft reserved partition" PARTUUID="57c0c221-8a2a-4d25-a9b9-b7f110832bfa"
/dev/sdb: LABEL_FATBOOT="64GB" LABEL="64GB" UUID="64C2-31E6" BLOCK_SIZE="512" TYPE="vfat"
/dev/mapper/cryptroot: UUID="1e770310-4ba2-4ee0-97c7-3bb24be948af" BLOCK_SIZE="4096" TYPE="ext4"
/dev/sda1: LABEL="256GB" UUID="E6B1-35EF" BLOCK_SIZE="512" TYPE="exfat" PARTUUID="35e086e8-01"
title Arch linux
linux /vmlinuz-linux
initrd /intel-ucode.img
initrd /initramfs-linux.img
options

Last edited by VoDo (2022-11-18 11:23:45)


Archi3

Offline

#2 2022-11-18 11:05:16

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED]systemd-boot and LUKS

When the system is booted with grub the output of...

cat /proc/cmdline

will show you which options your system is currently using.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2022-11-18 11:17:29

VoDo
Member
From: Europe
Registered: 2020-06-04
Posts: 122

Re: [SOLVED]systemd-boot and LUKS

cat /proc/cmdline                                                                                        
BOOT_IMAGE=/vmlinuz-linux root=UUID=1e770310-4ba2-4ee0-97c7-3bb24be948af rw cryptdevice=UUID=a40a34e0-7aa8-45a5-88f0-6b5814bd3efb:cryptroot root=/dev/mapper/cryptroot loglevel=3 quiet

Archi3

Offline

#4 2022-11-18 11:23:09

VoDo
Member
From: Europe
Registered: 2020-06-04
Posts: 122

Re: [SOLVED]systemd-boot and LUKS

Thank you for kick, just restarted using systemd-boot!

options cryptdevice=UUID=a40a34e0-7aa8-45a5-88f0-6b5814bd3efb:cryptroot root=/dev/mapper/cryptroot rw

Archi3

Offline

Board footer

Powered by FluxBB