bugGNU GRUB - Bugs: bug #60454, update-grub cryptdevice kernel...


You are not allowed to post comments on this tracker with your current authentication level.

bug #60454: update-grub cryptdevice kernel option missing

Submitted by:  franz <franz>
Submitted on:  Sun 25 Apr 2021 11:32:48 PM UTC
Category:  Configuration Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  franz
Open/Closed:  Open Release: 
Release:  * other Reproducibility:  Every Time
Planned Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Sun 25 Apr 2021 11:32:48 PM UTC, original submission:  

Manjaro 21.0.1
Linux 5.10.26-1-MANJARO x86_64
GRUB 2.04-22

When i do update-grub it generates a buggy grub.cfg

The erroneous line is the one calling the linux command

It doesn't add then kernel option cryptdevice

The full line is:
linux /boot/vmlinuz-5.10-x86_64 root=UUID=e454a3cb-a8d2-46a5-a840-3ab0e3e34945 rw quiet udev.log_priority=3

Bus it should be:
linux /boot/vmlinuz-5.10-x86_64 root=UUID=e454a3cb-a8d2-46a5-a840-3ab0e3e34945 rw quiet udev.log_priority=3 cryptdevice=UUID=b0bfc399-c626-471e-b7b9-1c9519360e76:luks-b0bfc399-c626-471e-b7b9-1c9519360e76 root=/dev/mapper/luks-b0bfc399-c626-471e-b7b9-1c9519360e76

So i have to add this manually after every update-grub

blkid gives this:
/dev/sda1: UUID="b0bfc399-c626-471e-b7b9-1c9519360e76" TYPE="crypto_LUKS" PARTUUID="2a34c68f-9a4f-5d44-8543-cde293715912"
/dev/mapper/luks-b0bfc399-c626-471e-b7b9-1c9519360e76: UUID="e454a3cb-a8d2-46a5-a840-3ab0e3e34945" BLOCK_SIZE="4096" TYPE="ext4"

/dev/mapper/luks-b0bfc399-c626-471e-b7b9-1c9519360e76 on / type ext4 (rw,noatime)


franz <franz>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by franz (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.





    No changes have been made to this item

    Back to the top

    Powered by Savane 3.9