From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0@n0.is Subject: Re: Running Guix System on Hetzner Cloud Date: Thu, 6 Jun 2019 10:37:30 +0000 Message-ID: <20190606103730.h23nug2wli3rnpbt@uptimegirl> References: <5204fcaf-e3b6-20fa-077e-619cd91ac3b0@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:54568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYpoL-0002os-RM for guix-devel@gnu.org; Thu, 06 Jun 2019 06:39:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hYpmC-0002kL-Cu for guix-devel@gnu.org; Thu, 06 Jun 2019 06:37:46 -0400 Received: from aibo.runbox.com ([91.220.196.211]:33210) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hYpmB-0002LN-7q for guix-devel@gnu.org; Thu, 06 Jun 2019 06:37:44 -0400 Content-Disposition: inline In-Reply-To: <5204fcaf-e3b6-20fa-077e-619cd91ac3b0@web.de> 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" To: Jonathan Brielmaier Cc: guix-devel@gnu.org Jonathan Brielmaier transcribed 93K bytes: > Hi fellow Guix hackers, > > the last weekend I tried to install Guix system on the Hetzner Cloud[0]. > First I tried to use Ubuntu, install Guix with the installer script and > then initiate Guix with "guix system init /mnt...". This wasn't > successful as Guix system didn't boot. > > So I asked them if they could add the Guix ISO to there ISO image > collection and they did it. At the moment only for my account, not general. How did you convince them? The last 3 times I asked for systems which weren't in their ISO selection, I was told it isn't possible and I should find ways to do it myself (which I did then). > They provide some kind of serial console over the browser. So I just > booted the server with Guix ISO mounted. I went through the graphical > installer, which works very well in this environment :) > > During the installation step it fails due to missing "virtio_pci" initrd > modules (see hetzner_cloud_installer_fails.png). In the installer there > was no way to bypass this issue. But rebooting and installing manually > with the configuration below did work :) > > I think it would be nice if the installer could handle that as he > already cover the "virtio_scsi" module. > > In the end I got a working Guix system for 0,05 € :) > > Happy hacking > Jonathan > > P.S: Did I already mentioned that the installer is _very_ nice? > > [0] https://www.hetzner.com/cloud > > ;; This is an operating system configuration generated > ;; by the graphical installer. > > (use-modules (gnu)) > (use-service-modules databases desktop mail networking ssh xorg) > (use-package-modules admin vim) > > (operating-system > (locale "en_US.utf8") > (timezone "Europe/Berlin") > (keyboard-layout > (keyboard-layout "de" "deadacute")) > (bootloader > (bootloader-configuration > (bootloader grub-bootloader) > (target "/dev/sda") > (keyboard-layout keyboard-layout))) > (initrd-modules '("virtio_scsi" "virtio_pci")) > (swap-devices (list "/dev/sda1")) > (file-systems > (cons* (file-system > (mount-point "/") > (device > (uuid "713cf8af-e503-45f9-9a10-a0c5a4ce709b" > 'ext4)) > (type "ext4")) > %base-file-systems)) > (host-name "guixone") > (users (cons* (user-account > (name "jonathan") > (comment "Jonathan Brielmaier") > (group "users") > (home-directory "/home/jonathan") > (supplementary-groups > '("wheel" "netdev" "audio" "video"))) > %base-user-accounts)) > (packages > (append > (list (specification->package "nss-certs") nmap vim) > %base-packages)) > (services > (append > (list (service dhcp-client-service-type) > (dovecot-service) > (mysql-service) > (service openssh-service-type)) > %base-services)))