From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Pribyl Subject: Re: System installation from a USB stick Date: Wed, 16 Jul 2014 09:14:41 +0200 (CEST) Message-ID: References: <87y4xdhgn3.fsf@gnu.org> <877g3z2w60.fsf@gnu.org> Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-1463811484-734770511-1405451654=:11373" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7JQP-0007Rq-7f for guix-devel@gnu.org; Wed, 16 Jul 2014 03:14:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X7JQK-00038g-8n for guix-devel@gnu.org; Wed, 16 Jul 2014 03:14:49 -0400 Received: from sandbox.cz ([87.236.197.188]:40610 helo=mx.sandbox.cz) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7JQK-00038W-1x for guix-devel@gnu.org; Wed, 16 Jul 2014 03:14:44 -0400 Received: from localhost (localhost [127.0.0.1]) by sandbox.cz (Postfix) with ESMTP id E163D38425 for ; Wed, 16 Jul 2014 09:14:41 +0200 (CEST) In-Reply-To: <877g3z2w60.fsf@gnu.org> Content-ID: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Cc: guix-devel This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1463811484-734770511-1405451654=:11373 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-ID: Content-Transfer-Encoding: quoted-printable On Mon, 30 Jun 2014, Ludovic Court=C3=A8s wrote: > Hello! > > I=E2=80=99ve 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 =E2=80=98dhclient eth0=E2=80=99 f= or instance. > Normally udev automatically loads device drivers (e.g., my laptop > uses e1000e for Ethernet), but since it=E2=80=99s a small config ke= rnel, it > may miss drivers for your system, in which case you=E2=80=99re scre= wed. 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 use= d=20 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 =E2=80=98guix system init config.scm /mnt=E2=80=99 (add =E2=80= =98--no-grub=E2=80=99 if you > don=E2=80=99t 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=20 configuration" in a grub menu by default, that ends in a guile console=20 ("old" tries to boot from USB right?). Switching to linux-libre in Grub=20 boots, but then requests for a group passwords start to appear with PAM=20 auth error message. User is asked for way too many group passwords. I do=20 not understand why. This repeats on every boot... IMHO: The number of error and warning messages like from udev or=20 whatever (locales not installed) during boot should go down before making= =20 this a public release. > The image was built with > > guix system disk-image gnu/system/install.scm --image-size=3D800MiB > > as of commit 1ddbd9f. > > Ludo=E2=80=99. Otherwise thanks for this achievemnt, the installation is really=20 strightforward. Regards Adam Pribyl ---1463811484-734770511-1405451654=:11373--