From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: Chris Marusich <cmmarusich@gmail.com>
Cc: guix-devel@gnu.org, GNU Summer Of Code workers <summer-of-code@gnu.org>
Subject: Re: [GSoC] Draft proposal for an Install Wizard for Guix
Date: Wed, 23 Mar 2016 12:29:36 +0100 [thread overview]
Message-ID: <idjy499qvot.fsf@bimsb-sys02.mdc-berlin.net> (raw)
In-Reply-To: <87lh59r30e.fsf@gmail.com>
Chris Marusich <cmmarusich@gmail.com> writes:
>> Partitioning will allow for custom setups and also offer several
>> default "most common" options such as:
>>
>> Simple all in one big partition on one disk
>> Separate root and home
>> LVM/LVM encrypted (this would probably be more difficult to add)
>
> Is this different from LUKS?
No. LUKS is used at the bottom across the whole device (e.g. /dev/sda)
and LVM is used on top of it. You’d first unlock the LUKS partition
with
cryptsetup luksOpen /dev/sda1 root
and then create a PV on /dev/mapper/root, add the PV to a volume group
(VG), and then create one or more logical volumes (LV) inside of the VG,
such as /dev/mapper/vg-{home,root,swap}.
Our problem is that the initrd in GuixSD currently does not have any
support for LVM. I’m using LUKS+LVM for my home directory and I
manually unlock and mount the home directory after booting.
> One more thing to consider. While you write this installer, you might
> want to think about how we can make the installation process itself as
> reproducible as possible. One of Guix's features is reproducible
> software builds. Shouldn't GuixSD also make it possible to reproduce
> the process of partitioning the system's disks, making its filesystems,
> and configuring the system for the first time?
>
> Some existing software attempts to solve this specific problem. For
> example, RedHat's Kickstart installation process provides a way to
> automate the installation of RedHat's brand of GNU/Linux. Something
> that solves this same problem for GuixSD would be great! Even if this
> is out of scope for your project this year, it would be great if in the
> future we could stand on the shoulders of what you create to add such a
> feature with minimal additional effort.
I like that idea. It would be great if we could pass a kernel parameter
at boot time to initialise the system from a given “operating-system”
configuration file. Kickstart is very convenient in this manner, but it
relies on terrible macros that nobody seems to really understand. With
Kickstart I can boot from a thumb drive or a network image, edit the
kernel boot line to add a line like this:
ks=http://server/config.ks
to install the system according to the configuration outlined in the
Kickstart file “config.ks”.
With GuixSD we would append something like this to the kernel line:
guix=http://server/config.scm
to fetch “config.scm” over HTTP and instantiate the operating system
configuration it contains.
~~ Ricardo
next prev parent reply other threads:[~2016-03-23 11:34 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-22 20:45 [GSoC] Draft proposal for an Install Wizard for Guix Thomas Ingram
2016-03-23 8:51 ` Chris Marusich
2016-03-23 11:29 ` Ricardo Wurmus [this message]
2016-03-23 14:11 ` Ludovic Courtès
2016-03-23 14:33 ` Chris Marusich
2016-03-23 11:53 ` Danny Milosavljevic
2016-03-23 14:13 ` Ludovic Courtès
2016-03-23 22:20 ` Mark H Weaver
2016-03-25 13:09 ` Ludovic Courtès
2016-03-25 15:48 ` Thomas Ingram
2016-03-26 11:39 ` Ludovic Courtès
2016-03-27 6:50 ` Thomas Ingram
2016-03-27 18:30 ` myglc2
2016-03-27 20:48 ` Jookia
2016-03-27 22:53 ` myglc2
2016-03-28 16:28 ` Christopher Allan Webber
2016-04-01 12:29 ` Ludovic Courtès
2016-03-27 23:25 ` Leo Famulari
2016-03-28 6:20 ` Chris Marusich
2016-04-01 12:27 ` Ludovic Courtès
2016-04-19 17:49 ` myglc2
2016-04-01 12:09 ` Ludovic Courtès
2016-03-25 20:19 ` myglc2
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=idjy499qvot.fsf@bimsb-sys02.mdc-berlin.net \
--to=ricardo.wurmus@mdc-berlin.de \
--cc=cmmarusich@gmail.com \
--cc=guix-devel@gnu.org \
--cc=summer-of-code@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.