From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Othacehe Subject: bug#27007: boot-parameters are not documented Date: Tue, 23 May 2017 11:31:12 +0200 Message-ID: <86r2zfkjhb.fsf@gmail.com> References: <20170520200015.7lkqfgp5pju3clvf@penguin.suse.cz> <20170520225234.5414d304@scratchpost.org> <20170520210049.bvq4ztjzlrsaebbn@penguin.suse.cz> <877f18ubrs.fsf@gnu.org> <8760gsg5nn.fsf@gmail.com> <87zie4yors.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47891) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dD6Ah-00055l-A8 for bug-guix@gnu.org; Tue, 23 May 2017 05:32:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dD6Ac-0001lN-9a for bug-guix@gnu.org; Tue, 23 May 2017 05:32:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59525) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dD6Ac-0001l9-6g for bug-guix@gnu.org; Tue, 23 May 2017 05:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dD6Ab-0002ow-NQ for bug-guix@gnu.org; Tue, 23 May 2017 05:32:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87zie4yors.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 27007@debbugs.gnu.org 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. > Sounds good in general, as long as we have default values that make > sense. Ok. > Can we assume that all the bootloaders have a notion of “menu” and “menu > entries”? Or do you think that very notion is not shared by all of > them? We can suppose that it's always possible to add custom entries to generated bootloader configuration. That would allow someone switching from grub to extlinux to keep his custom entries. > Sure; having the implementations in (gnu bootloader xyz) follow the same > model sounds like a good idea. Ok ! Thanks, Mathieu