bugGNU GRUB - Bugs: bug #67668, GRUB 2.14_rc1 "Too large md...

 
 

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

bug #67668: GRUB 2.14_rc1 "Too large md context" error when boot with custom LUKS2

Submitter:  volte <volte>
Submitted:  Tue 04 Nov 2025 10:59:39 AM UTC
   
 
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Release:  Git master
Release:  Reproducibility:  Every Time
Planned Release:  None

Discussion

Tue 04 Nov 2025 10:59:39 AM UTC, original submission:  

Hello,
looking at git history, argon2 support finally has been added https://cgit.git. ... 1f9f8b4cbe170e6b6

I decided to test it, but unfortunately I get "Too large md context" error, after entering the password. Can you explain what this error is and how to fix it? I did not find any useful information on the web.
The problem is not related to efi file size.

I usually use a third-party implementation from here
https://aur.archl ... mproved-luks2-git

There is no problem with it , everything works fine, but when you added the implementation of Argon2 this version also can not be builded from the source because of the patch conflict.

I use GUID partition table , luks2 Argon2id and whirlpool hash if it important.

Here my install command:

sudo grub-install --modules="gcry_sha256 gcry_sha512 gcry_whirlpool argon2 btrfs crypto cryptodisk disk hashsum luks luks2 part_gpt part_msdos gcry_rijndael zstd password_pbkdf2 gcry_crc search_fs_uuid search_label tpm" --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Arch --recheck

The problem is directly related to the efi file, which is created after this command. If I use the efi file obtained after installing grub-improved-luks2 everything will work properly.

in /etc/default/grub

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="cryptodisk part_gpt part_msdos luks2"

# Uncomment to enable booting from LUKS encrypted devices
GRUB_ENABLE_CRYPTODISK=y

Thank you for your attention and hope for your help.

volte <volte>

 

Attached Files

This item currently has no attached files.

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by tendaggers (Subscribed to discussion)
  • -email is unavailable- added by volte (Submitted the item)
  •  

    Votes

    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.

     

    History

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2025-11-04 tendaggers Carbon-Copy- Added tendaggers

    Back to the top

    Powered by Savane 3.16.
    Corresponding source code