GNU bug report logs -
#20067
File name of initrd and kernel image in 'menu-entry' should not be forced
Previous Next
Reported by: Tomáš Čech <sleep_walker <at> suse.cz>
Date: Mon, 9 Mar 2015 20:36:01 UTC
Severity: normal
Tags: fixed
Fixed in version 0.11.1
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Grub configuration interpretes `linux' as directory where is located
bzImage. If I enter file name instead, result configuration will be
wrong.
Example of system configuration:
(bootloader (grub-configuration
(device "/dev/sda")
(menu-entries
(list
(menu-entry
(label "Gentoo")
(linux "/vmlinuz-gentoo") ; vmlinuz-gentoo is file
(linux-arguments (list
"root=/dev/venom/gentoo"
"init=/usr/lib/systemd/systemd"))
(initrd "/initramfs-gentoo")
)))))
Result part of grub.cfg:
menuentry "Gentoo" {
# Set 'root' to the partition that contains the kernel.
search --file --set /vmlinuz-gentoo/bzImage
linux /vmlinuz-gentoo/bzImage root=/dev/venom/gentoo init=/usr/lib/systemd/systemd
initrd /initramfs-gentoo
}
It would be nice if the the string would be simply copied into
grub.cfg, so I could use even `(hd0,msdos1)/vmlinuz'.
[Message part 2 (application/pgp-signature, inline)]
This bug report was last modified 8 years and 243 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.