Summary: | sys-boot/refind: '-r*' ending on kernels versions breaks automatic loading | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Randall <ran.dall> |
Component: | Current packages | Assignee: | Viorel Munteanu <ceamac> |
Status: | RESOLVED NEEDINFO | ||
Severity: | major | CC: | jstein, mgorny, proxy-maint, ran.dall, sveyret |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | refind.conf |
Description
Randall
2022-04-10 01:17:36 UTC
Created attachment 769712 [details]
refind.conf
I suppose you're building your own kernel and not using sys-kernel/gentoo-kernel*? Yes. Which is actually a good point, cause the makes this problem is specific to sys-kernel/gentoo-sources. I don't know what is the default naming scheme for kernels, but if your kernel is named for example bzImage-5.15.32-gentoo-r1.efi, %v would be `5.15.32-gentoo-r1`, so refind_linux.conf should only contain `initrd=initramfs-%v.img` (%v contains everything from the first digit to the last digit). If that is not the case, please post a ls in that directory, so I can see what they look like. I installed sys-kernel/gentoo-kernel-bin-6.6.58-r2 and the files in /boot are: /boot/vmlinuz-6.6.58-gentoo-dist /boot/initramfs-6.6.58-gentoo-dist.img There is no -r2 in the generated name, so I will assume this bug is resolved. Please reopen if you have a concrete example based on current kernel sources. |