unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* System installation from a USB stick
@ 2014-06-03 20:39 Ludovic Courtès
  2014-06-29 22:22 ` Ludovic Courtès
  0 siblings, 1 reply; 45+ messages in thread
From: Ludovic Courtès @ 2014-06-03 20:39 UTC (permalink / raw)
  To: guix-devel

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’.

^ permalink raw reply	[flat|nested] 45+ messages in thread

end of thread, other threads:[~2014-07-24 21:03 UTC | newest]

Thread overview: 45+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-03 20:39 System installation from a USB stick Ludovic Courtès
2014-06-29 22:22 ` 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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).