unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: Raghav Gururajan <rg@raghavgururajan.name>, guix-devel@gnu.org
Subject: Re: An idea regarding Guix Profiles
Date: Thu, 28 Jan 2021 08:54:52 +0100	[thread overview]
Message-ID: <7e79296e2ddc8c4925a068a8c2c0657ad867437e.camel@telenet.be> (raw)
In-Reply-To: <8f07a08a-449b-6ff9-50ed-f4b7dd989114@raghavgururajan.name>

[-- Attachment #1: Type: text/plain, Size: 1448 bytes --]

Hi RG,

> At user-level, user can choose which profile to work on. Like that it 
> would be cool to select which profile to boot.

This already possible in some form: when booting, I can (optionally) select
an older system generation to boot (at least in GRUB).  The question is, I
guess, would it be feasible to allow defining multiple operating systems at once in
the configuration file?  The GRUB screen could then look something like this:

  Welcome to GRUB!
  * OS Group A (date + name)
    + Primary OS #A   (kernel + name)
    + Secondary OS #B (kernel + name)
    + Secondary OS #C  (kernel + name)
    + ...
  * Old operating systems
    + Old OS Group A (date + name)
      + Old Primary OS #A ....
        ...
    + Old OS Group A (date + name)
      + Old Primary OS #A ...
      ...
    ...
  You can edit [blabla] ... Press [...] to [blabla] ...

And the configuration file could look something like this:

  (operating-system-group
    (name  "something")
    (primary (operating-system ...))
    (secondary (operating-system ...) (operating-system ...) ...))

The primary OS is used for determining on which partition to
install the bootloader and which bootloader to install.
(It doesn't make sense to install multiple bootloaders after all).

Thoughts?
Maxime
-- 
Maxime Devos <maximedevos@telenet.be>
PGP Key: C1F3 3EE2 0C52 8FDB 7DD7  011F 49E3 EE22 1917 25EE
Freenode handle: mdevos

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

  reply	other threads:[~2021-01-28  9:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-28  4:05 An idea regarding Guix Profiles Raghav Gururajan
2021-01-28  7:54 ` Maxime Devos [this message]
2021-01-28  8:23 ` Pierre Neidhardt
2021-01-28 10:35 ` Nicolò Balzarotti
2021-01-28 21:18 ` Raghav Gururajan
2021-01-28 21:43   ` Raghav Gururajan
  -- strict thread matches above, loose matches on Subject: below --
2021-01-28  8:11 Leo Prikler
2021-01-28 10:17 ` Leo Prikler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7e79296e2ddc8c4925a068a8c2c0657ad867437e.camel@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=guix-devel@gnu.org \
    --cc=rg@raghavgururajan.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).