From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: guix system disk-image: preset user profiles (packages & arbitrary data) Date: Thu, 28 Jun 2018 15:00:16 +0200 Message-ID: <87in6383rz.fsf@gmail.com> References: <871scxb7gc.fsf@gmail.com> <87muvh6as7.fsf@gnu.org> 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]:46819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYWXB-0006hu-9h for help-guix@gnu.org; Thu, 28 Jun 2018 09:00:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fYWX5-0000Yk-9c for help-guix@gnu.org; Thu, 28 Jun 2018 09:00:25 -0400 In-reply-to: <87muvh6as7.fsf@gnu.org> 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: help-guix --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > There are two things we could do: > > =E2=80=A2 Add an option to make the root file system persistent (easy). > > =E2=80=A2 Add an option to allow users to specify additional partitions= in the > disk image (which would be writable). If you look at =E2=80=98qemu-i= mage=E2=80=99 > in (gnu system vm), you=E2=80=99ll see there=E2=80=99s already a list= of partitions > there, and this is what needs to be modified. > > My preference goes to the second option; it=E2=80=99s a bit more work, bu= t it=E2=80=99s > not too hard. With option 2, you mean that we could add new writable partitions, but _also_ make the root partition writable, right? It seems to be the most straightforward approach to me. How else would you attack option 1? 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=20 =2D-=20 Pierre Neidhardt --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAls02+AACgkQm9z0l6S7 zH/P0AgAsBMHKhVkxEVrAWI5k7Acj/gDHv8fPNN6S8zI3zyFR7oo4ggTTu7TJjsL LRJ8dZUKL6rGhWWFhqRyYOilve3csOTiTIIqnnNwI7IqV3tb2+h5ugZF/AAzFdKh RYrzBBJWTmwlRqDZVW5+siwf/VlnTVqtBfc1XuOHnpom8jSrQ/dryFUZfHQ4xmXq ndQJB0SKz4Jp9yA0PmYuU1cQZJaDzEbYRuncSEbNZJlUexLRyOWU3uwkypTPjjuW L5bronFP4p2rsK4yE0bX+6ZkyVP+Ut/3jjuA6+N12eRXlGJ45dhIHbjPWGmF7a3R GKRdNJ7GWpAet1fXDq3UiC/EGl0CuA== =Qtyn -----END PGP SIGNATURE----- --=-=-=--