Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 346389

Summary: sys-boot/grub-1.98 doesn't find initramfs images made by dracut
Product: Gentoo Linux Reporter: Harrison Metzger <harrisonmetz>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: herber, jan.bednar
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Harrison Metzger 2010-11-21 23:47:35 UTC
The tool dracut is used to create initramfs images for the Linux Kernel. Its default name is: initramfs-2.6.36-gentoo-r1.img

However, the script /etc/grub.d/10_linux has the following lines to match initramfs:

initrd=
  for i in "initrd.img-${version}" "initrd-${version}.img" \
           "initrd-${version}" "initrd.img-${alt_version}" \
           "initramfs-genkernel-${version}" "initramfs-genkernel-${alt_version}" \
           "initrd-${alt_version}.img" "initrd-${alt_version}"; do

So it doesn't find it.

Reproducible: Always

Steps to Reproduce:
1. run dracut with your kernel version
2. run grub-mkconfig and see that it doesn't include the initrd in the block for each kernel entry


Expected Results:  
I expect grub-mkconfig to realize that the file generated by dracut and put in the /boot entry matches the krenel image. It should just be a minor change to add its filename pattern to that list.
Comment 1 SpanKY gentoo-dev 2011-04-03 17:41:10 UTC
seems to be fixed in latest upstream bzr repo