GNU bug report logs -
#27007
'menu-entry' disappeared from the bootloader API
Previous Next
Reported by: Tomáš Čech <sleep_walker <at> gnu.org>
Date: Sat, 20 May 2017 20:01:02 UTC
Severity: important
Done: Mathieu Othacehe <m.othacehe <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #20 received at 27007 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Sat, May 20, 2017 at 10:31:59PM +0200, Mathieu Othacehe wrote:
>
>Hi Tomáš,
>
>> My question without answer is - how can I specify bootloader menu entries now?
>
>You're right, you have to pass a <boot-parameters> now. The
>documentation patch is still in review, you can find it here :
>
>https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26339#489
>
>The example has been updated :
>
>--8<---------------cut here---------------start------------->8---
> @example
>-(menu-entry
>+(boot-parameters
> (label "The Other Distro")
>- (linux "/boot/old/vmlinux-2.6.32")
>- (linux-arguments '("root=/dev/sda2"))
>+ (root-device "my-root")
>+ (boot-name 'grub)
>+ (store-device "my-root")
>+ (store-mount-point "/")
>+ (kernel "/boot/old/vmlinux-2.6.32")
>+ (kernel-arguments '("root=/dev/sda2"))
> (initrd "/boot/old/initrd"))
> @end example
>--8<---------------cut here---------------end--------------->8---
>
>It will maybe change again in the future, I'm not sure <boot-parameters>
>are our best option here.
It's a bit complicated but much more flexible compared to
menu-entry. 'store-device' and 'store-mount-point' are Guix-centric
parameters and it is not obvious how to configure it for distributions
with kernel and initrd in /boot.
>Anyway, let me now if it works for you.
After following these changes I'm able to build system again. I'll
check the result GRUB configuration and report issue if there is one.
Thanks for your help,
S_W
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 8 years and 42 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.