From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Baines Subject: bug#33517: Problem booting when using btrfs subvolume for /gnu/store Date: Sat, 01 Dec 2018 17:48:04 +0000 Message-ID: <875zwdqgtn.fsf@cbaines.net> References: <87mupva8j5.fsf@cbaines.net> <87zhtt49sk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58455) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gT9O7-0003bT-Bs for bug-guix@gnu.org; Sat, 01 Dec 2018 12:49:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gT9O2-0004QR-It for bug-guix@gnu.org; Sat, 01 Dec 2018 12:49:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:52974) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gT9O2-0004Q8-FU for bug-guix@gnu.org; Sat, 01 Dec 2018 12:49:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gT9O2-0000SV-8r for bug-guix@gnu.org; Sat, 01 Dec 2018 12:49:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87zhtt49sk.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 33517@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Hello, > > Christopher Baines skribis: > >> Unfortunately, it's not a proper solution, as it obviously breaks when >> you actually want to strip the mount point off so that grub can find the >> right files. > > Is there a way =E2=80=98strip-mount-point=E2=80=99 or some higher-level c= ode could > determine whether we actually need to strip the mount point? So, this is the file-system value that I'm using currently for the store. The information about subvolume is in the options value. (file-system (device (uuid "84fc6b78-d7ff-45df-8659-bef44b5bf0ea")) (type "btrfs") (title 'uuid) (mount-point "/gnu/store") (needed-for-boot? #t) (options "subvol=3D/gnu/store")) I guess one approach for dealing with this would be to allow directly configuring the stripping of the mount point somehow. Or maybe having some btrfs-file-system record, which could store the subvol option in a more machine readable way. One thing that still makes me uncertian, is how grub actually is trying to find files on the btrfs filesystem. I tried changing the default subvolume to the one containing the store, but that didn't seem to help. Looks like it might not be aware of subvolumes. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlwCyVRfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XcZHBAAsQblOAw+xOoJP7tJhh1e+Zjf+Ky1lCIhNN7OMrgMmam3ziBhX2fi5XZi 2TiyoNrqnPouQ+aigRVT51HONe84nrw/9Yu/56s2FVHhmAoUlS1Dw9AOc0agH6D2 GDQVty51NSh3C0yYcInPxvb5TAuk+QmzLb7A2iqJRiHI7h8THCUrB8SjdwBcC0Yc qeNkG5JVokAHXmymgiTHTRQjvtfV9uE+QGYHeRV7lB4Vxn/YUWQtJPoWiajFvH3i ghO0Xcwryl9WjGUbHogKsKhqdhcfrpLKg87svzpU8GUDjzG2w35FC8fDkKJonF+d xnkAgGq8jDCryMAb7qwNxKRXAkVaqmQmtHenMxt9/Xfuo24/kz1fXLcOE9M92dKt 4uVFQ2quPyFJdxd1VZewe1vR9HEhiIwboCvgV0T1yGitGapJ1qXjJJKi+hNbg0P8 HHhDLUYsfPiB+AGkjaIle2ylDuy6M4y5wBfUcJgvnOXBouT78cEHU+38AVmFPM8l jgaccJ4hTySkjH/yORKSakpu+3wWAv6FRxwRyVkLw8uC4fsmRfNXqQWTKlvlHmYf 23aWrPtIse5U8ej9afkUFcLDjN+GVBPKZAl6XKO1q7KZfd0bDnNZJdRTXqWTEhVV IY84LTVryYnpF86nAtWfFG+yUQlJARVXyk1utlDRTUxQHrBieqc= =LD+E -----END PGP SIGNATURE----- --=-=-=--