URL: <http://savannah.gnu.org/bugs/?30364>
Summary: grub-mkconfig(/etc/grub.d/10_linux) ignores builtin initrds Project: GNU GRUB Submitted by: devurandom Submitted on: Di 06 Jul 2010 06:24:58 GMT Category: Configuration Severity: Major Priority: 5 - Normal Item Group: Software Error Status: None Privacy: Public Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: Release: 1.98 Reproducibility: Every Time Planned Release: None _______________________________________________________ Details: When CONFIG_INITRAMFS_SOURCE is set, no seperate initrd is necessary. grub-mkconfig from grub-1.98 (specifically /etc/grub.d/10_linux) ignores this and assumes: """ # "UUID=" magic is parsed by initrds. Since there's no initrd, it can't work here """ I propose following fix: --- /etc/grub.d/10_linux.orig 2010-06-28 14:22:06.080669780 +0200 +++ /etc/grub.d/10_linux 2010-06-28 14:21:24.177670182 +0200 @@ -128,7 +128,7 @@ done if test -n "${initrd}" ; then echo "Found initrd image: ${dirname}/${initrd}" >&2 - else + elif ! grep "CONFIG_INITRAMFS_SOURCE=" /boot/config-${version} 2> /dev/null ; then # "UUID=" magic is parsed by initrds. Since there's no initrd, it can't work here. linux_root_device_thisversion=${GRUB_DEVICE} _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?30364> _______________________________________________ Nachricht geschickt von/durch Savannah http://savannah.gnu.org/ _______________________________________________ Bug-grub mailing list Bug-grub@gnu.org http://lists.gnu.org/mailman/listinfo/bug-grub