From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id wPS4LcpM1mXgaAAA62LTzQ:P1 (envelope-from ) for ; Wed, 21 Feb 2024 20:19:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id wPS4LcpM1mXgaAAA62LTzQ (envelope-from ) for ; Wed, 21 Feb 2024 20:19:38 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=bHwxs3Oz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=dismail.de ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708543114; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=oGc68ZCZJMCvi6hpGqilGcPPyL93jY4oUS4HJ8eV79w=; b=S7hsD+PdY8B++PS+Rj7TRyE4BHAVnEbpIoWa/YgxP2Gz9vr4y9I6ELwbumaNUQfVCgPeGo mo0c+thHYIunyocD3LYTY3b0vmVRtp4LiGcPeuocFm+3kvqQmpkkSCxgHWeHcChod6ynsk 8uJs6S1GF97xpxqEkOI7MuS/BR+OmSukD0tKhICslPhn1AFyZcGq+mCIDOlGqxVoCh/rdz 2s/oq+FH3YfU1Hi3nywIvplSqcoh7IZ0rEPX8AyvH3WBMFf941WvF2EN6SBHaGuw2M9aUJ LeNDzZwL8jgrbw+nrhiej0JyHYVzsCHnjr5PO0ev3rmXjaR6+gTPNCkIZmgIcw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=bHwxs3Oz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=dismail.de ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708543114; a=rsa-sha256; cv=none; b=KkfhmZpo4cXES7rUPyLKKGKexXB1gVWVesz8vOIcVHiraoONK3TLD5fqKwh4wCrjuUnRmO HKzmzG69TjiHgy8Em4XMXAOXI5thVsLI4FFU1sZ7nJheDRDStM7zVDe8hXsppyumcO1zFh V6/hc92pD9WjNns/osG+OWRmZ3J/S95o+ymjynT1oM1ct0uPID6iOkZsow/zU2rVkvzdZ8 VhqWvpsFOealdzG6P9JbD77sf+1NkfUxmE0GcwTW2+JGiHa0Rvo/3PtQxkieqKgkoXvxHx y1IWYdN60Kj25KrA3Ip8YiAPd31Wh+ORbMY0BMQaqmXDkuq5ZcthRDO5SGwj2Q== 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 7E655435C0 for ; Wed, 21 Feb 2024 20:18:33 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rcqtQ-0005W7-7L; Wed, 21 Feb 2024 13:00:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rcqtM-0005Ln-KS for guix-devel@gnu.org; Wed, 21 Feb 2024 13:00:25 -0500 Received: from mx1.dismail.de ([78.46.223.134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rcqtK-000782-5a for guix-devel@gnu.org; Wed, 21 Feb 2024 13:00:24 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 715e74ed; Wed, 21 Feb 2024 18:58:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h= mime-version:date:content-type:content-transfer-encoding:from :message-id:subject:to:in-reply-to:references; s=20190914; bh=Pb CT4GfAQ/VA7VuotDv+4hwlXYnpZFVmP1OqyU2GmPQ=; b=bHwxs3Oz02d5TlZ08k ndtK5l4P3NM5h4+N1RY+i9jlOyL9ilJk3zMy/mg1NoYWyWWFSA26x3/Pbj6H/moF W12BTqASvM9lLqTmoOTOd+Xj0d4k20/0nnaeOa9skorbod21TgwX7sKsO+JRJ0L9 Yxrgt0XHxM9VF+XXJfshABMQv/ZTbV7rN4kJ5yyJ0veZlRwdY0FGVwgJ4i4esvwg aDAcGeFCIQCu5uVyuNiXj4D/KososgyuLKHwlfDeoXTdNP3hnFk9XSIOtsfIVIKT AAVOQf0+Ey8FmRkB7vv4Uhtx2ePG4jcLMveAGvSG542sXKtPVcssy0YPTsQkMFV3 S+WA== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 2f586f61; Wed, 21 Feb 2024 18:58:17 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 3b22bc92; Wed, 21 Feb 2024 18:58:17 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 0e85e8fc (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 21 Feb 2024 18:58:16 +0100 (CET) MIME-Version: 1.0 Date: Wed, 21 Feb 2024 17:58:16 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: jbranso@dismail.de Message-ID: TLS-Required: No Subject: Re: cannot boot after installation on VPS (via rescue system) To: "Giovanni Biscuolo" , guix-devel@gnu.org In-Reply-To: <87zfvu5eif.fsf@xelera.eu> References: <87zfvu5eif.fsf@xelera.eu> Received-SPF: pass client-ip=78.46.223.134; envelope-from=jbranso@dismail.de; helo=mx1.dismail.de 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -10.78 X-Spam-Score: -10.78 X-Migadu-Queue-Id: 7E655435C0 X-Migadu-Scanner: mx11.migadu.com X-TUID: yGSmWIf1kV26 February 21, 2024 at 4:54 AM, "Giovanni Biscuolo" wrote: >=20 >=20Hello, >=20 >=20following the good guidelines from (info "(guix-cookbook) Running Gui= x > on a Kimsufi Server") and (info "(guix-cookbook) Running Guix on a > Linode Server") I'm developing a shell script to automate the "manual" > installation of Guix on bare metal and VPS, you can find it attached to > this email as bootstrap-guix.sh or at this git repo URL: > https://gitlab.com/softwareworkers/swws/-/blob/master/infrastructure/ho= sts/cornouiller/bootstrap-guix.sh?ref_type=3Dheads >=20 >=20The main purpose of the script is to allow me to install Guix on > machines (bare metal or virtual) hosted by vendors who do not offer Gui= x > in their OS installation options, since almost all vendors provides a > rescue system that can be used to "manually" set up the environment, > partition the target disk and lastly "guix system init..." >=20 >=20I've extensively tested the script locally (on bare metal and QEMU VM= s), > both booting the machines via grml [1] and Guix install image and it > works as expected; I've also used it to install Guix on some bare metal= . >=20 >=20Now I'm trying to use it on two VPS from two different vendors, boote= d > in rescue mode, but after the installation (via bootstrap-guix.sh) when > I reboot the VPS I get the usual grub menu but the boot process suddenl= y > fails with this error (manually copied from web console, sorry for > possible typos): >=20 I=20just logged into my linode server...your script defaults to a btrfs filesystem right? When I tried to add an additional disk in linode just now, the only supported filesystem was ext4. Does linode support btrfs? Joshua=20 >=20--8<---------------cut here---------------start------------->8--- >=20 >=20Scanning for Btrfs filesystems > ice-9/boot9.scm:1685:16: In procedure raise-exception: > In procedure mount: No such file or directory > GRUB loading... > Entering a new prompt. Type ',bt' for a backtrace or ',q' to continue. > [...] > scheme@(guile-user)> ,bt > In gnu/build/linux-boot.scm: > 637:8 3 (_) > 435:8 2 (mount-root-filesystem "/dev/sda3" "btrfs" # _ #:flags ?) > In unknown file: > 1 (mount "/dev/sda3" "/root" "btrfs" 0 "compress=3Dzstd") > In ice-9/boot9.scm: > 1685:16: 0 (raise-exception _ #:continuable? _) >=20 >=20--8<---------------cut here---------------end--------------->8--- >=20 >=20In particular, I don't understand why the boot script is trying to mo= unt > the root filesystem at "/root" and not at "/" as it should: am I missin= g > something? >=20 >=20I suspect that the issue depends on how the rescue system root is > mounted (overlay filesystem) but I'm not sure; I cannot find a solution= . >=20 >=20I'm also attaching: >=20 >=20- bootstrap-config.scm: automatically generated by the script and use= d > by "guix system init..." >=20 >=20- bootstrap-mount-points.txt: automatically collected during installa= tion >=20 >=20You can find all the files also here: > https://gitlab.com/softwareworkers/swws/-/tree/master/infrastructure/ho= sts/cornouiller?ref_type=3Dheads >=20 >=20Any idea please? :-O >=20 >=20Happy hacking! Gio' >=20 >=20[1] https://grml.org/, a rescue system based on Debian >=20 >=20--=20 >=20Giovanni Biscuolo >=20 >=20Xelera IT Infrastructures >