Created attachment 312961 [details, diff] diskfilter_lv_handle_large_extents I just happen to have an extent setup that overflows the grub_size_t variable to_read in grub-core/disk/diskfilter.c, function read_lv(). sector 0 start_extent 0 extent_size 8192 extent_count 524288 This results in a to_read of 0 which then loops forever successfully reading 0 bytes. The other three are a few patches I've been carrying for awhile. The first 2 are small fixes to handle the genkernel builds I make (the --kernname option & sorting for -rc kernels). The last one allows you to specify a substring to grub-reboot to look for a valid entry. Very useful for specifying just the version or git hash while testing things. Might as well offer them up.
Created attachment 312963 [details, diff] handle sorting rc kernels
Created attachment 312965 [details, diff] handle user specified -genkernel -kernname's for initramfs detection
Created attachment 312967 [details, diff] enable grub-reboot to use partial matches
Please send this stuff upstream.
(In reply to comment #2) > Created attachment 312965 [details, diff] [details, diff] > handle user specified -genkernel -kernname's for initramfs detection FYI, upstream may not be open to adding additional cases here unless you can justify it.