From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UIz5Gqfx2F5peQAA0tVLHw (envelope-from ) for ; Thu, 04 Jun 2020 13:05:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sEPcFqfx2F7lMQAA1q6Kng (envelope-from ) for ; Thu, 04 Jun 2020 13:05:43 +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 895469407C6 for ; Thu, 4 Jun 2020 13:05:42 +0000 (UTC) Received: from localhost ([::1]:42794 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgpYy-0002WW-HT for larch@yhetil.org; Thu, 04 Jun 2020 09:05:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgpYr-0002Tz-1Z for help-guix@gnu.org; Thu, 04 Jun 2020 09:05:33 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:37758) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgpYo-0007Ut-6W; Thu, 04 Jun 2020 09:05:31 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 2d8293fb; Thu, 4 Jun 2020 13:05:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=5CwrvklfE81B3Fb/RWAOIB DRqpP7igFVFKxXMCo6d3M=; b=RE8IGz6MuI5e66iMpX8R+9o1UDPgEKW71YXUGb ajvzsDRVWa3SXF9pvUKOV0qxqJss9Rk6L+5oU9BoIb0fwaeAlhraaqImAECBYfkH Vu13AuBgupnE/XSp39Uk9xXZ92LNHmyEKmMap/sYRf5SPWe5sUMOulB9Zq28hY1C y8A//P4QwainVQQ2sMUZSDFfQCKI6zZZjWZZ/mjdUvByZ5C+svxdM8A8kzDGMwlh SprNGS7mzK5xqAOMCa8F4zPS9CbjlYTqhYIABO9zOOr6l2NUiYE7H6HL1FnU/jSs Tk7BmfYmb3o8FHgOzqRM6emA4dnRj6u2Zb4G5tncXLCkpXFQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 0a1c3134 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 4 Jun 2020 13:05:31 +0000 (UTC) From: Tobias Geerinckx-Rice To: Roel Janssen Cc: help-guix@gnu.org Subject: Re: Guix System ext4 index full References: <87lfl3dh1k.fsf@nckx> <4f936a3561734d83665246592a54b21d9b612243.camel@gnu.org> In-reply-to: <4f936a3561734d83665246592a54b21d9b612243.camel@gnu.org> Date: Thu, 04 Jun 2020 15:05:14 +0200 Message-ID: <87d06fc779.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=RE8IGz6M; dmarc=pass (policy=reject) header.from=tobias.gr; 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: -3.31 X-TUID: zLovnH+4uJ8n --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Roel, Roel Janssen =E5=86=99=E9=81=93=EF=BC=9A > Thanks for the suggestion. So I did: > $ tune2fs -O large_dir /dev/sdd3 > > .. and after a reboot I get booted into a GRUB resque shell. Shart. It seems that GRUB still[0] can't read ext4 file systems=20 with features newer than 2017 :-/ I'll never recommend this again=20 (I use it myself=E2=80=A6). The flag can't be cleared once set: $ sudo tune2fs -O ^large_dir img tune2fs 1.45.6 (20-Mar-2020) Clearing filesystem feature 'large_dir' not supported. Your data's perfectly safe. This is just a GRUB limitation. > So.. do you have a suggestion for how I could boot into the Guix=20 > system > again? I think realistic options are: =2D Migrate to any other file system like btrfs, then use the live=20 USB's GRUB to bootstrap it using =E2=80=98configfile=20 (hdX,Y)/your/grub.cfg=E2=80=99 so you don't have to reinstall anything,=20 just copy. This can even be done-in place[1], assuming you have=20 back-ups. =2D Use a separate /boot partition if you want to keep using ext4=20 for large /gnus. You'll have to manually copy each kernel &=20 friends to /boot but this can be automated in your system .scm. > After booting from a live USB, I chrooted into the Guix system=20 > and when > running the following command, I get the following error: > $ guix system reconfigure /etc/config.scm > ... > guix system: error: while setting up the build environment:=20 > cannot > pivot old root directory onto > '/gnu/store/4q1vpidsawmfhmqdwy4mxvjc720jxcjm-slim- > 1.3.6.drv.chroot/real-root': Invalid argument I think your in-chroot guix is talking to the live system's=20 guix-daemon. Perhaps stopping the out-of-chroot daemon and=20 starting a =E2=80=98guix-daemon --disable-chroot=E2=80=99 inside the chroot= will=20 work. Kind regards, T G-R [0]: https://savannah.gnu.org/bugs/?56897 [1]: https://btrfs.wiki.kernel.org/index.php/Manpage/btrfs-convert --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXtjxigAKCRANsP+IT1Vt eTF/AQCtc+2iomOsIFGdgq3nxoZrrKODigxax8N4KcCA/QN2vAD/VUK2JsYOe5TZ a+jPK70Fg4vI/CD7zoYn870OXaRt6Ag= =VHXv -----END PGP SIGNATURE----- --=-=-=--