From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id O0GdK8rCqV+6GwAA0tVLHw (envelope-from ) for ; Mon, 09 Nov 2020 22:29:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id AAwOJ8rCqV+5FgAAbx9fmQ (envelope-from ) for ; Mon, 09 Nov 2020 22:29:30 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 013269403C4 for ; Mon, 9 Nov 2020 22:29:29 +0000 (UTC) Received: from localhost ([::1]:47380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcFfD-0004q4-Ev for larch@yhetil.org; Mon, 09 Nov 2020 17:29:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcFf6-0004pv-0f for help-guix@gnu.org; Mon, 09 Nov 2020 17:29:20 -0500 Received: from mx1.riseup.net ([198.252.153.129]:57666) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcFf3-0004u1-Fi for help-guix@gnu.org; Mon, 09 Nov 2020 17:29:19 -0500 Received: from bell.riseup.net (bell-pn.riseup.net [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4CVQdh33BSzFdrg for ; Mon, 9 Nov 2020 14:29:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1604960952; bh=JitetzdObqNvvS+j2/4dm67K9VRSInyv72rytpNHkQ4=; h=Date:From:To:Subject:From; b=cm87+Jj3ilryBVGFJIGEph9mKJnDe6sYHNnnhzMi6ZvHO+W+a4dNDxD9TdSpMz+zm rLhCQEE2gGDJo5Z7+9kWQf6Pg1NinZdRpPsQWvhz3OmZtjVgJmA3IBqeCxLENPbcKs kFnRxG9nl/MddLAPWelxZZ2zZP6+KyrnyUiLs1Tg= X-Riseup-User-ID: EFAA207D7670A3A2EEABE69B6F125F1248666E91AAD8E0AF65EABB6445EC0E84 Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 4CVQdg3cWzzJmgf for ; Mon, 9 Nov 2020 14:29:11 -0800 (PST) Date: Mon, 9 Nov 2020 23:28:02 +0100 From: raingloom To: "help-guix@gnu.org" Subject: Easy DigitalOcean setup? Message-ID: <20201109232802.7f0fe566@riseup.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/uvSqfZKTM1M354z=SwnZFLC" Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/09 16:23:38 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=cm87+Jj3; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -0.71 X-TUID: ZDu1sHg3gUdx --MP_/uvSqfZKTM1M354z=SwnZFLC Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline I've been stuck on trying to "infect" an Ubuntu VPS with Guix for a while. It keeps failing on the bootloader setup step and it does so in a way that somehow nukes the `guix` command, but the store remains. At press time, my config was the one attached. As I'm a caveperson who never owned a single UEFI machine, I'm a bit stumped as to what the absolute heck the nature of the error might be: ``` # guix system init /etc/config.scm / ...bunch of build stuff, and then: guix system: error: '/gnu/store/0az53wrhxvhpkm80pmfyzw607y0qas9n-grub-efi-2.04/sbin/grub-install --boot-directory //boot --bootloader-id=Guix --efi-directory //boot/efi' exited with status 1; output follows: /gnu/store/0az53wrhxvhpkm80pmfyzw607y0qas9n-grub-efi-2.04/sbin/grub-install: error: /gnu/store/0az53wrhxvhpkm80pmfyzw607y0qas9n-grub-efi-2.04/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory. ``` I found two existing guides, but one requires adding an extra block device and other shenanigans, and the other mentions some alarmingly outdated version numbers, so I don't trust either of them. --MP_/uvSqfZKTM1M354z=SwnZFLC Content-Type: text/x-scheme Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=blue.scm (use-modules (gnu) (gnu system nss)) (use-service-modules admin networking ssh) (use-package-modules bootloaders certs gnome networking ssh) (operating-system (host-name "blue") (timezone "Europe/Budapest") (locale "en_US.utf8") (keyboard-layout (keyboard-layout "us")) ;; Use the UEFI variant of GRUB with the EFI System ;; Partition mounted on /boot/efi. (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (target "/boot/efi") (keyboard-layout keyboard-layout))) (file-systems (append (list (file-system (device (file-system-label "cloudimg-rootfs")) (mount-point "/") (type "ext4")) (file-system (device (file-system-label "UEFI")) (mount-point "/boot/efi") (type "vfat"))) %base-file-systems)) ;; Create user `bob' with `alice' as its initial password. (users (cons (user-account (name "user") (password (crypt "alice" "$6$abc")) (group "users") (supplementary-groups '("wheel" "netdev"))) %base-user-accounts)) ;; This is where we specify system-wide packages. (packages (append (list ;; for HTTPS access nss-certs ;; for user mounts gvfs) %base-packages)) (services (append (list (service unattended-upgrade-service-type) (static-networking-service "eth0" "206.189.49.189" #:netmask "255.255.240.000" #:gateway "000.000.000.000" #:name-servers '("84.200.69.80" "84.200.70.40")) ;(service dhcp-client-service-type) (service openssh-service-type (openssh-configuration (openssh openssh-sans-x))) (service yggdrasil-service-type (yggdrasil-configuration (log-to 'stdout) (log-level 'debug) (autoconf? #f) (config-file "/etc/yggdrasil-secret.conf") (json-config '((peers . #(;; Baden-Baden, IONOS, operated by ;; [jcgruenhage](https://jcg.re/) "tcp://82.165.69.111:61216" "tcp://[2001:8d8:1800:8224::1]:61216" ;; Praha, ITLDC, operated by ;; [Revertron](https://github.com/Revertron) "tcp://195.123.245.146:7743" "tcp://[2a05:9403::8b]:7743" ;; Praha, vpsFree, operated by @ehmry "tcp://37.205.14.171:46370" "tcp://[2a03:3b40:fe:ab::1]:46370"))))))) %base-services)) ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss)) --MP_/uvSqfZKTM1M354z=SwnZFLC--