Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346389 - sys-boot/grub-1.98 doesn't find initramfs images made by dracut
Summary: sys-boot/grub-1.98 doesn't find initramfs images made by dracut
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-21 23:47 UTC by Harrison Metzger
Modified: 2011-04-03 17:41 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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