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

Submitter:  franz <franz>
Submitted:  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:  other
Release:  Reproducibility:  Every Time
Planned Release:  None

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

Specs
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"
...

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

Thx

franz <franz>

 

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

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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code