From: Adam Pribyl <pribyl@lowlevel.cz>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: System installation from a USB stick
Date: Wed, 16 Jul 2014 09:14:41 +0200 (CEST) [thread overview]
Message-ID: <alpine.DEB.2.00.1407152101010.11373@sandbox.cz> (raw)
In-Reply-To: <877g3z2w60.fsf@gnu.org>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 2701 bytes --]
On Mon, 30 Jun 2014, Ludovic Courtès wrote:
> Hello!
>
> I’ve uploaded a USB installation image for x86_64 for testing:
>
> http://www.fdn.fr/~lcourtes/software/guix/gnu-usb-install-20140629.x86_64.xz
> SHA1: d36e70d25b81b734fa9558a5446fabb96489ec3b
> (100 MiB)
>
> To install the system, you would:
>
> 1. Configure the network, by running ‘dhclient eth0’ for instance.
> Normally udev automatically loads device drivers (e.g., my laptop
> uses e1000e for Ethernet), but since it’s a small config kernel, it
> may miss drivers for your system, in which case you’re screwed.
dhclient can't create /var/db/dhclient.leases (not fatal)
> 2. Partition, format etc. the target drive; the image includes Parted,
> fdisk, and e2fsprogs.
There is no mkfs.extX, how to format a partition and is it needed? (I used
old one already formated.)
> 3. Write an OS configuration file, say, config.scm (the image only has
> GNU Zile as the editor.) A minimal config looks like this:
>
> (use-modules (gnu) (gnu system grub))
>
> (operating-system
> (host-name "foo")
> (timezone "Europe/Paris")
> (locale "en_US.UTF-8")
> (bootloader (grub-configuration (device "/dev/sdX")))
> (file-systems
> (list (file-system
> (device "/dev/sdX1")
> (mount-point "/")
> (type "ext4")))))
>
C-x C-c save yes
> 4. Mount the target root file system as /mnt, say.
>
> 5. Run ‘guix system init config.scm /mnt’ (add ‘--no-grub’ if you
> don’t want to install GRUB.)
>
> 6. Unmount /mnt, reboot, and cross fingers.
>
> Still, I would very much like feedback about actual attempts to use
> that, about the general procedure, or anything else.
This is more a user feedback: After first start it tries to load "Old
configuration" in a grub menu by default, that ends in a guile console
("old" tries to boot from USB right?). Switching to linux-libre in Grub
boots, but then requests for a group passwords start to appear with PAM
auth error message. User is asked for way too many group passwords. I do
not understand why. This repeats on every boot...
IMHO: The number of error and warning messages like from udev or
whatever (locales not installed) during boot should go down before making
this a public release.
> The image was built with
>
> guix system disk-image gnu/system/install.scm --image-size=800MiB
>
> as of commit 1ddbd9f.
>
> Ludo’.
Otherwise thanks for this achievemnt, the installation is really
strightforward.
Regards
Adam Pribyl
next prev parent reply other threads:[~2014-07-16 7:14 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.00.1407152101010.11373@sandbox.cz \
--to=pribyl@lowlevel.cz \
--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 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).