From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: Adding chainloader stanzas to Grub Date: Wed, 02 May 2018 23:40:55 -0700 Message-ID: <87zi1hutqg.fsf@gmail.com> References: <6C0F5ACD-8F61-4031-8974-E8A38485058D@sumou.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fE7vM-0003Xt-5Y for help-guix@gnu.org; Thu, 03 May 2018 02:41:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fE7vL-0006Cx-3c for help-guix@gnu.org; Thu, 03 May 2018 02:41:04 -0400 Received: from mail-pf0-x233.google.com ([2607:f8b0:400e:c00::233]:45092) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fE7vK-0006CY-To for help-guix@gnu.org; Thu, 03 May 2018 02:41:03 -0400 Received: by mail-pf0-x233.google.com with SMTP id c10so13880128pfi.12 for ; Wed, 02 May 2018 23:41:02 -0700 (PDT) In-Reply-To: <6C0F5ACD-8F61-4031-8974-E8A38485058D@sumou.com> (=?utf-8?B?IueZveOBhOeGiu+8oOebuOaSsumBkw==?= "'s message of "Sun, 29 Apr 2018 06:23:34 +0000") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: =?utf-8?B?55m944GE54aK77yg55u45pKy6YGT?= Cc: help-guix@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable =E7=99=BD=E3=81=84=E7=86=8A=EF=BC=A0=E7=9B=B8=E6=92=B2=E9=81=93 writes: > Hello: > > Is there a way to add full chainloader stanzas to Grub via the sysconfig = file through system reconfigure in GuixSD.=20 > > I'd like to have for instance the following entry added:=20 > > menuentry "PureOS on /dev/sda2" { > set root=3D(hd0,9) > chainloader +1 > } > > Can I do this?=20 Currently, I don't think Guix supports a way to specify a chainloader command in your GuixSD operating system declaration. That may change in the future, but today I think that's how it is. This is because the record type (see: (guix) Bootloader Configuration) does not expose any fields for a chainloader command, nor does it provide a way to supply an opaque configuration file. I think the motivation for apparent limitation is that is intended to represent an abstract menu entry, suitable for use by various bootloaders, and (maybe?) not all bootloaders may support chainloading. GuixSD supports GRUB and U-Boot. Does U-Boot support chainloading, like GRUB does? I'm not sure. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlrqrvcACgkQ3UCaFdgi Rp0Z6w/9HNqPWEtYZ5Ps4gm4PyhCHjX+Wz62nuDNyX7jFxs/5dt/11OMjXIitc1o pD+OMIYA8W7y/dHh1QRbzaKIMoK1onP0mJ1Vtrb8h1NkCm8pyjnvIHgy2NYWk3iY 7OkyITnp/ylL6AIHqlct1sgo65fw1ugqeUE1kESXF5ljBnk6BnrGz3iY9mt8EBx7 pZNGapyN0Tm5+oPDR7K38nV7M92UGKTDq5oNSFJbuQp+Fh6M9EdELsdWa5PT7BpN pd9kXXVw2VmrbX2fjULPnKUSderUXKEDfKw6KvXLgS2/8WW+CDADAdpk8QwUiU8s PsVQQCRfVPR6Iq8jkU6GbQS/+ONHd4Dr+BuLC3e0nsaHNueNL1N50lEergHJh+5O o22adhF8APo8UlzIaAo23Lh1+4U8aikAVtepUnH5/vvodpjj62YyKhiKmfGdGjW7 ibOJaiWNiopMcI7knRc0e7aesiiGvvgrC7T6/+pk2fsz1uPDkpaGw7mE51eTDcLf l8flkTXQcXW9LeHcF7KdZCF4JroQ4lU9onvkzCPDKCfNMsSPeQW7AQxCYB/EBjKW aMGVUqvGPJ24Q/xnilsQLrPMQzXSQCyUi8Vtf416Idbn4ZNhokKx9BBaVY6D9egm PmUgqENFFBkkdd0wwMph6yJBsg7zSWBysjdA9tDCuSwLmjvEp0Y= =i4l5 -----END PGP SIGNATURE----- --=-=-=--