bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #60454] update-grub cryptdevice kernel option missing


From: franz
Subject: [bug #60454] update-grub cryptdevice kernel option missing
Date: Sun, 25 Apr 2021 19:32:50 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0

URL:
  <https://savannah.gnu.org/bugs/?60454>

                 Summary: update-grub cryptdevice kernel option missing 
                 Project: GNU GRUB
            Submitted by: 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
        Originator Email: 
             Open/Closed: Open
                 Release: 
                 Release: other
         Discussion Lock: Any
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

*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





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60454>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]