You are not logged in.

#1 2024-01-07 07:56:06

RounakDutta
Member
From: West Bengal, India
Registered: 2022-02-11
Posts: 192
Website

I cannot mount my secondary drive encrypted with LUKS

I am using busybox based initramfs.

This is my "lsblk -f" output - http://0x0.st/H65J.txt

I have an unencrypted /boot partition, an encrypted swap partition (/dev/sda2) (/dev/mapper/swap) and an encrypted root partition (/dev/sda3). I want to auto mount my secondary drive (/dev/sdb1). I have added the "rd.luks.uuid" kernel parameter to my "/boot/loader/entries/arch.conf" file because I am using systemd-boot.
After rebooting my pc arch is not opening my "/dev/sdb1" partition although I have mentioned the "rd.luks.uuid" kernel parameter.

Is there a way to mount my secondary drive ?

Last edited by RounakDutta (2024-01-07 07:58:08)

Offline

#2 2024-01-07 09:08:14

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: I cannot mount my secondary drive encrypted with LUKS

rd.luks.uuid is for sd-encrypt which you're not using. If the secondary drive is not needed in the early boot stages, just use /etc/crypttab: https://wiki.archlinux.org/title/Dm-cry … d_mounting

Offline

Board footer

Powered by FluxBB