[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guix system disk-image: preset user profiles (packages & arbitrary d
From: |
Ludovic Courtès |
Subject: |
Re: guix system disk-image: preset user profiles (packages & arbitrary data) |
Date: |
Mon, 02 Jul 2018 17:21:35 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hello,
Pierre Neidhardt <address@hidden> skribis:
> Ludovic Courtès <address@hidden> writes:
>
>> There are two things we could do:
>>
>> • Add an option to make the root file system persistent (easy).
>>
>> • Add an option to allow users to specify additional partitions in the
>> disk image (which would be writable). If you look at ‘qemu-image’
>> in (gnu system vm), you’ll see there’s already a list of partitions
>> there, and this is what needs to be modified.
>>
>> My preference goes to the second option; it’s a bit more work, but it’s
>> not too hard.
>
> With option 2, you mean that we could add new writable partitions, but
> _also_ make the root partition writable, right?
No, simply add new writable partitions.
> It seems to be the most straightforward approach to me.
> How else would you attack option 1?
Just set #:volatile-root? #f in ‘system-disk-image’ in (gnu system vm).
> Alternatively, isn't all this exactly the same as installing directly
> onto a USB drive, following the regular installation procedure?
> Namely
>
>
> herd start cow-store /mnt
> guix system init /my/usb/config.scm /mnt
It is, but running ‘guix system init’ and all is cumbersome.
Ludo’.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: guix system disk-image: preset user profiles (packages & arbitrary data),
Ludovic Courtès <=