From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roel Janssen Subject: bug#28445: Cannot boot GuixSD after system reconfigure Date: Fri, 22 Sep 2017 02:24:36 +0200 Message-ID: <87vakbmvgb.fsf@gnu.org> References: <87bmm3kh47.fsf@gnu.org> <87fubf4s77.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47346) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dv9u3-0005MS-Ia for bug-guix@gnu.org; Thu, 21 Sep 2017 18:25:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dv9u1-0004Qk-QZ for bug-guix@gnu.org; Thu, 21 Sep 2017 18:25:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:43289) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dv9u1-0004QS-Ml for bug-guix@gnu.org; Thu, 21 Sep 2017 18:25:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dv9u1-0007oI-HJ for bug-guix@gnu.org; Thu, 21 Sep 2017 18:25:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87fubf4s77.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: 28445@debbugs.gnu.org, help-guix Ludovic Courtès writes: > Hi Roel, > > Roel Janssen skribis: > >> Roel Janssen writes: >> >>> Dear Guix, >>> >>> I 'guix pull'ed commit 228a398 and ran: >>> guix system reconfigure /etc/config.scm >>> >>> It looks like GRUB cannot find my root partition (/dev/sda3). So, I >>> suspect that something has changed regarding specifying the partitions (UUIDs?). > > [...] > >> So, I was able to fix GRUB by manually modifying /boot/grub/grub.cfg: >> >> -search --label --set /dev/sda3 >> +search --no-floppy --fs-uuid --set > > I believe this is fixed with db4e8fd5d4a07d3be8ce68fb96722ef7077c0eee. > > Could you please let me know if everything’s OK? I changed the following pieces of my config: (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (target "/boot/efi"))) (file-systems (cons* (file-system (title 'uuid) (device (uuid "")) (mount-point "/boot") (needed-for-boot? #t) (type "ext4")) (file-system (title 'device) (device "/dev/sda1") (mount-point "/boot/efi") (needed-for-boot? #t) (type "vfat")) (file-system (mount-point "/") (options "ssd") (title 'uuid) (device (uuid "")) (options "ssd") (type "btrfs")) (file-system (title 'device) (device "tmpfs") (mount-point "/var/guix/temproots") (type "tmpfs")) (file-system (title 'device) (device "tmpfs") (mount-point "/tmp") (type "tmpfs")) %base-file-systems)) And with these changes, I can boot GuixSD again. The vfat partitions have a shorter UUID, which are not accepted by Guix. Is this on purpose? As you can see in the snippet above, I use 'device for the vfat partition and 'uuid for the other disk-based partitions. It would be nice to use UUIDs for every partition. Thanks for your time. Kind regards, Roel Janssen