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 #35 received at 27007 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Tue, May 23, 2017 at 11:31:12AM +0200, Mathieu Othacehe wrote:
>
>Hello,
>
>> So how does the ‘menu-entry’ example that Tomáš gave translate with this
>> new API? (Apologies for asking, I admit I haven’t fully adjusted to the
>> new API mentally. :-))
>
>Well it's still moving :)
>
>We can ask him but I guess something like that :
>
>--8<---------------cut here---------------start------------->8---
>(boot-parameters
> (label "openSUSE")
> (root-device #f)
> (boot-name 'grub)
> (store-device #f)
> (store-mount-point "/")
> (kernel "(hd0,msdos1)/vmlinuz")
> (kernel-arguments (list "root=/dev/penguin/opensuse" "init=/usr/lib/systemd/systemd"))
> (initrd "(hd0,msdos1)/initrd"))
>--8<---------------cut here---------------end--------------->8---
>
>Note that root-device, boot-name, store-device and store-mount-point are
>useless here.
I came with something similar:
(boot-parameters
(label "openSUSE")
(root-device "/dev/penguin/opensuse")
(boot-name 'grub)
(store-device "(hd0,msdos1)")
(store-mount-point "/")
(kernel "(hd0,msdos1)/vmlinuz")
(kernel-arguments '("root=/dev/penguin/opensuse"
"init=/usr/lib/systemd/systemd"))
(initrd "(hd0,msdos1)/initrd"))))))
Unfortunately useless entries were still required (I didn't have that
idea with setting them to #f).
I couldn't verify the result configuration yet as I'm facing another,
unrelated problem.
Thanks,
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.