GNU bug report logs - #20067
File name of initrd and kernel image in 'menu-entry' should not be forced

Previous Next

Package: guix;

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


View this message in rfc822 format

From: Tomáš Čech <sleep_walker <at> suse.cz>
To: 20067 <at> debbugs.gnu.org
Subject: bug#20067: fix interpretation of grub configuration
Date: Mon, 9 Mar 2015 21:34:43 +0100
[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.