Machine requires 2 boots before it asks for LUKS passwd (Rocky 9.2)
by chrism01 from LinuxQuestions.org on (#6CFNX)
Hi Guys,
here's a weird one.
I recently created a new Rocky 9.2 build (bare metal) on my Dell Latitude 5500.
I opted for LUKS for security, but mostly took the default options.
I've discovered that when I first boot it, I just get the DELL sign appearing and it stops there..
However, if I then power down (using the power button) and power on again, it will show the DELL sign, swiftly followed by a prompt for the LUKS passwd, and then it's fine from there.
Here's some info - hope it helps
Code:lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
nvme0n1 259:0 0 238.5G 0 disk
nvme0n1p1 259:1 0 600M 0 part /boot/efi
nvme0n1p2 259:2 0 1G 0 part /boot
nvme0n1p3 259:3 0 236.9G 0 part
luks-59f29ea5-88db-493a-b1bf-b48c1f0267be 253:0 0 236.9G 0 crypt
rl_localhost--live-root 253:1 0 70G 0 lvm /
rl_localhost--live-swap 253:2 0 7.7G 0 lvm [SWAP]
rl_localhost--live-home 253:3 0 159.2G 0 lvm /home
blkid
# just the relevant entry
/dev/mapper/luks-59f29ea5-88db-493a-b1bf-b48c1f0267be: UUID="XBbVpt-Q8ls-h072-oaKS-6sWW-FPzu-YT0zTp" TYPE="LVM2_member"
blkid -t TYPE=crypto_LUKS
/dev/nvme0n1p3: UUID="59f29ea5-88db-493a-b1bf-b48c1f0267be" TYPE="crypto_LUKS" PARTUUID="2cd2c3b7-bc56-4474-978f-bc0ffe6e6c56"
cat /etc/crypttab
luks-59f29ea5-88db-493a-b1bf-b48c1f0267be UUID=59f29ea5-88db-493a-b1bf-b48c1f0267be none discardCan you tell me how to make it prompt once only on the first boot please?
here's a weird one.
I recently created a new Rocky 9.2 build (bare metal) on my Dell Latitude 5500.
I opted for LUKS for security, but mostly took the default options.
I've discovered that when I first boot it, I just get the DELL sign appearing and it stops there..
However, if I then power down (using the power button) and power on again, it will show the DELL sign, swiftly followed by a prompt for the LUKS passwd, and then it's fine from there.
Here's some info - hope it helps
Code:lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
nvme0n1 259:0 0 238.5G 0 disk
nvme0n1p1 259:1 0 600M 0 part /boot/efi
nvme0n1p2 259:2 0 1G 0 part /boot
nvme0n1p3 259:3 0 236.9G 0 part
luks-59f29ea5-88db-493a-b1bf-b48c1f0267be 253:0 0 236.9G 0 crypt
rl_localhost--live-root 253:1 0 70G 0 lvm /
rl_localhost--live-swap 253:2 0 7.7G 0 lvm [SWAP]
rl_localhost--live-home 253:3 0 159.2G 0 lvm /home
blkid
# just the relevant entry
/dev/mapper/luks-59f29ea5-88db-493a-b1bf-b48c1f0267be: UUID="XBbVpt-Q8ls-h072-oaKS-6sWW-FPzu-YT0zTp" TYPE="LVM2_member"
blkid -t TYPE=crypto_LUKS
/dev/nvme0n1p3: UUID="59f29ea5-88db-493a-b1bf-b48c1f0267be" TYPE="crypto_LUKS" PARTUUID="2cd2c3b7-bc56-4474-978f-bc0ffe6e6c56"
cat /etc/crypttab
luks-59f29ea5-88db-493a-b1bf-b48c1f0267be UUID=59f29ea5-88db-493a-b1bf-b48c1f0267be none discardCan you tell me how to make it prompt once only on the first boot please?