bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20067: fix interpretation of grub configuration


From: Tomáš Čech
Subject: bug#20067: fix interpretation of grub configuration
Date: Mon, 9 Mar 2015 21:34:43 +0100
User-agent: Mutt/1.5.22.1-rc1 (2013-10-16)

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'.

Attachment: pgpSlK_X70J8Y.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]