From: ludo@gnu.org (Ludovic Courtès)
To: guix-devel <guix-devel@gnu.org>
Subject: System installation from a USB stick
Date: Tue, 03 Jun 2014 22:39:28 +0200 [thread overview]
Message-ID: <87y4xdhgn3.fsf@gnu.org> (raw)
Hello!
There’s been some progress towards having an image for installing the
GNU system from a USB stick. Here’s a summary of the things recently
introduced toward that goal:
• ‘guix system disk-image FILE’ generates a raw disk image of the
operating system declared in FILE (info "(guix) Using the
Configuration System").
The image contains a DOS partition table and a single partition,
ext4-formatted. The idea is that it can be copied as is on a USB
stick that is large enough:
sudo dd if=$(guix system disk-image FILE) of=/dev/sdXX
• The (guix system install) module provides a (very basic) operating
system declaration corresponding to the system that would run on the
installation USB stick: it has all the useful packages (Guix, disk
partitioning tools, networking, etc.), tty2 has the Info reader
opened on the right section of the manual (though it needs to be
expanded), etc.
• ‘guix system init FILE DIR’ populates DIR with the store and
additional files corresponding to the operating system declaration
in FILE (info "(guix) Invoking guix system").
• The boot/initrd code has been improved. For instance, it’s able to
mount file systems specified by label instead of by device node,
which is useful for the USB stick. (And it does that all in Scheme,
without resorting to libblkid. :-))
I plan to upload an image for the brave with a spare machine to
sacrifice for testing purposes. :-)
Note that it’s also possible to GNUify an existing system by running
‘guix system init FILE /’, which basically installs GRUB with a menu
entry pointing to a kernel, initrd, etc. from /gnu/store.
There’s more work ahead, but it’s becoming pretty exciting.
Ludo’.
next reply other threads:[~2014-06-03 20:39 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-03 20:39 Ludovic Courtès [this message]
2014-06-29 22:22 ` System installation from a USB stick Ludovic Courtès
2014-07-01 12:06 ` David Thompson
2014-07-01 21:50 ` David Thompson
2014-07-02 10:22 ` Ludovic Courtès
2014-07-02 11:40 ` David Thompson
2014-07-02 12:23 ` Ludovic Courtès
2014-07-02 10:45 ` Ludovic Courtès
2014-07-03 0:18 ` David Thompson
2014-07-15 14:27 ` Alex Sassmannshausen
2014-07-16 7:14 ` Adam Pribyl
2014-07-16 14:00 ` Ludovic Courtès
2014-07-16 10:02 ` John Darrington
2014-07-16 14:00 ` Ludovic Courtès
2014-07-18 7:04 ` Ludovic Courtès
2014-07-18 11:27 ` Adam Pribyl
2014-07-18 11:28 ` Adam Pribyl
2014-07-18 11:51 ` David Thompson
2014-07-18 18:12 ` Adam Pribyl
2014-07-19 10:52 ` Ludovic Courtès
2014-07-19 12:02 ` Adam Pribyl
2014-07-19 13:15 ` Ludovic Courtès
2014-07-19 13:39 ` Adam Pribyl
2014-07-19 13:47 ` Adam Pribyl
2014-07-19 16:21 ` Ludovic Courtès
2014-07-19 17:14 ` Adam Pribyl
2014-07-20 8:58 ` Ludovic Courtès
2014-07-20 13:48 ` Ludovic Courtès
2014-07-23 15:58 ` Ludovic Courtès
2014-07-24 10:09 ` Adam Pribyl
2014-07-24 11:17 ` Ludovic Courtès
2014-07-24 11:57 ` David Thompson
2014-07-24 14:10 ` Adam Pribyl
2014-07-24 14:26 ` David Thompson
2014-07-24 21:03 ` Ludovic Courtès
2014-07-21 7:44 ` Adam Pribyl
2014-07-21 16:09 ` Ludovic Courtès
2014-07-21 18:16 ` Adam Pribyl
2014-07-21 18:43 ` Adam Pribyl
2014-07-21 21:30 ` Ludovic Courtès
2014-07-21 19:02 ` Adam Pribyl
2014-07-21 21:40 ` Ludovic Courtès
2014-07-21 21:59 ` Ludovic Courtès
2014-07-22 16:21 ` Ludovic Courtès
2014-07-22 20:26 ` Andreas Enge
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=87y4xdhgn3.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@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.