From: Chris Marusich <cmmarusich@gmail.com>
To: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
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 07:33:21 -0700 [thread overview]
Message-ID: <87bn65femm.fsf@gmail.com> (raw)
In-Reply-To: <idjy499qvot.fsf@bimsb-sys02.mdc-berlin.net> (Ricardo Wurmus's message of "Wed, 23 Mar 2016 12:29:36 +0100")
[-- Attachment #1: Type: text/plain, Size: 3096 bytes --]
Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> writes:
> 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.
I see. Thank you for clarifying that!
>> 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.
Yes, something like that might be useful. By the way, I didn't mention
Kickstart because I think it's a good example that we should follow
(although I'm sure we can learn from the way Kickstart and other
existing software solves the problem); it's just the first example that
came into my head.
--
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
next prev parent reply other threads:[~2016-03-23 14:33 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
2016-03-23 14:11 ` Ludovic Courtès
2016-03-23 14:33 ` Chris Marusich [this message]
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=87bn65femm.fsf@gmail.com \
--to=cmmarusich@gmail.com \
--cc=guix-devel@gnu.org \
--cc=ricardo.wurmus@mdc-berlin.de \
--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.