From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id CN/YITH31mWJcgAA62LTzQ:P1 (envelope-from ) for ; Thu, 22 Feb 2024 08:26:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id CN/YITH31mWJcgAA62LTzQ (envelope-from ) for ; Thu, 22 Feb 2024 08:26:41 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708586801; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=tQRyoVxVHTqSdME6Wg2FPcrz9pNJlnEJQvEhiAkfwAM=; b=a7mW7wT7M5xZQYRnKFnGXIT7C6JOfcJAR7zUn0lf5qbmxbUC9eHNyqZd4ZADcjhM28KbsQ Zebx6vgz8Q0higPKVGfYA6GlJtcAwU21KlDvef9b8geEL3oi9t7qAMQSLjNxUdoQqcXoiR 5pNjiGf9A3nNMdZPevDzygTaT/eBORvvvUntQWNZZcQNzeU40BbyWBtmDK/P+tIhBVdZFd 347ilKF/10xuc1MBUwwJyp0ms/xwCNe9PjGklZFW8jgU72cuj6u64rZCv9ECgOEKXEmDP4 fJ1cXnUICB0TNhfGN5q6Co07cYiWcnIAMComyo9WtK6xenOxYswpnx73CMajnA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708586801; a=rsa-sha256; cv=none; b=ntSxqJaxg33+IetUyd9pbC4PwBjE/3abzgMIHQS5I/jt7WcIyB9I1k0MIHgWWZPkHe12te TyUH5U5R9kwM4P/mYccCphwgUeL+XDQ44RFB8HOyRbLxs03TlBZ4jSw4D5DC4IzmIrC6lF rUnaj0QbDmq6mi6Ji0DC12KFJt8PySZRTTKSg3GsOvDKHi4JZkOC0Soo/FSnwNSTbF5tyx EE8Nydr2gxhiuLvKFqg7kXMI6k1KmmcKxpNrLQd2kmBv5Tmi1UoUaadKBiWeo7Vr9dR0jC KmzReg6Nlm17C0u30WI+lw3ZHwToMmEkGPSyU68+Jd7vku4I2/CdYLDlxu7Xfg== 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 7609926004 for ; Thu, 22 Feb 2024 08:26:41 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rd3T3-0008JP-GZ; Thu, 22 Feb 2024 02:26:05 -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 1rd3T2-0008Iy-6X for guix-devel@gnu.org; Thu, 22 Feb 2024 02:26:04 -0500 Received: from ns13.heimat.it ([46.4.214.66]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rd3T0-0008PC-LU for guix-devel@gnu.org; Thu, 22 Feb 2024 02:26:03 -0500 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id 929F430022C; Thu, 22 Feb 2024 07:26:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it Received: from ns13.heimat.it ([127.0.0.1]) by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z6_BAOAZNvWp; Thu, 22 Feb 2024 07:25:59 +0000 (UTC) Received: from bourrache.mug.xelera.it (unknown [93.56.171.217]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ns13.heimat.it (Postfix) with ESMTPSA id 0B751300104; Thu, 22 Feb 2024 07:25:59 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id 96A0C2EC1CD7; Thu, 22 Feb 2024 08:25:58 +0100 (CET) Received: (nullmailer pid 2320 invoked by uid 1000); Thu, 22 Feb 2024 07:25:58 -0000 From: Giovanni Biscuolo To: Wojtek Kosior Cc: guix-devel@gnu.org Subject: Re: cannot boot after installation on VPS (via rescue system) In-Reply-To: <20240222013043.3b8945a0.koszko@koszko.org> Organization: Xelera.eu References: <87zfvu5eif.fsf@xelera.eu> <20240222013043.3b8945a0.koszko@koszko.org> Date: Thu, 22 Feb 2024 08:25:57 +0100 Message-ID: <87ttm155a2.fsf@xelera.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=46.4.214.66; envelope-from=g@xelera.eu; helo=ns13.heimat.it X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -6.01 X-Spam-Score: -6.01 X-Migadu-Queue-Id: 7609926004 X-TUID: JEGrJKbYg30z --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Wojtek! Wojtek Kosior writes: >> --8<---------------cut here---------------start------------->8--- >>=20 >> Scanning 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 >> --8<---------------cut here---------------end--------------->8--- > > Maybe the device file is called different from /dev/sda3? Maybe, but I also tried using UUID (the usual method I use) and label, both failing... I'll investigate > On one VPS of mine (which also happens to have Guix installed via > rescue mode) the root is mounted from /dev/vda1. Out of curiosity: what's the hoster, please? >> In particular, I don't understand why the boot script is trying to mount >> the root filesystem at "/root" and not at "/" as it should: am I missing >> something? > > Linux-based systems typically start with initrd filesystem mounted at > /. They then mount the real root at some subdirectory of / and use > either chroot or pivot-root system call to make the processes see it as > if it were mounted at / in the first place. Yes! Thank you for your explanation: I checked gnu/build/linux-boot.scm and it's just as you pointed out; I simply overlooked the error was in the "initrd phase"... and now I'm starting to barely understand what's happening > I'm not an expert in early boot process so please forgive me any > mistakes I might have made in this explanation :) No mistakes :-D Thank you for your help! Gio' =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJABAEBCgAqFiEERcxjuFJYydVfNLI5030Op87MORIFAmXW9wYMHGdAeGVsZXJh LmV1AAoJENN9DqfOzDkSFB4P/iQpzdTK3LPEgG1OsEal6CE7akGSuzd5eDO32uQK WPcXKWzir+hCYHVAq1yjVXKmkKxeZdRse72waBi1/7t6eSOhtM+HdbYXsO3agUEQ wsp5RXqYRMHFbFVVKne4BQwK/DNF30l5Cv4nzBUrifbhsoU4ium+GiEDlpoy1ZJF pXSuwvJumSJ/T5GFFrlkZzg5gtQZFD14V9qU/cwEdfzlw2D4fMT35VHLLQgXKy0Y feGRzXdOpvmbNVKVvTOK9l3g5n7j7m5KR/ZCtAqlkTP7FJl9KEXvQQoTeXIYDHBC dDBQhcTCnQui5aW2iOaA3dTz6KYGtpCzMnlBPjotM07luPaali8O1V1rBQIh8+rE jWLdHBNjnbeYEqO2a935OSC4l/Pg0cqILhwMVHGxRNdHRYJlWsCV4SP/JwSFKYPL Zpz67xi9wA6gTzaZHrzmQoHorjyBhWoCHkXsD1Qk+Hz1bKmy22Zo1xEis1c0/PDM 5681t7kj3wqDW3tHwUDZkZXy4Gkcu9s9UizZ85Qhvz4VRqEB86XGwf2/X8CEh4N0 nMKkQXP5NEndX603cJvA6y/950UkRRdMBblXuRvSfI1RPK6VU6cynGi3ZfpsGUsX kpCmdetH7bTW6c/VxWnTRSvQLGNRZPEbAZGwlzF7PNqHunt/lviVtPnWRgqGcu/z NW4X =HdR5 -----END PGP SIGNATURE----- --=-=-=--