unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Roel Janssen <roel@gnu.org>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Cannot boot GuixSD after system reconfigure
Date: Thu, 21 Sep 2017 22:28:30 +0200	[thread overview]
Message-ID: <87o9q3pzip.fsf@elephly.net> (raw)
In-Reply-To: <87bmm3kh47.fsf@gnu.org>


Hi Roel,

> 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 <blkid uuid output>
>
> Now, what changes do I have to make to my config to make it work
> automatically again?

Instead of this:

                 (file-system
                   (device "/dev/sda3")
                   (mount-point "/")
                   (options "ssd")
                   (type "btrfs"))

Try this:

               (file-system
                 (mount-point "/")
                 (options "ssd")
                 (type "btrfs")
                 (title 'uuid)
                 (device (uuid "4dab5feb-d176-45de-b287-9b0a6e4c01cb")))

But do replace the UUID with your actual UUID.  I’ve copied this
straight from the manual and haven’t tested this myself as I’m using
mapped devices and don’t have a btrfs partition.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

  reply	other threads:[~2017-09-21 20:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-21 12:21 Cannot boot GuixSD after system reconfigure Roel Janssen
2017-09-21 19:04 ` Roel Janssen
2017-09-21 20:28   ` Ricardo Wurmus [this message]
2017-09-21 22:12   ` Ludovic Courtès
2017-09-22  0:24     ` bug#28445: " Roel Janssen
2017-09-22 14:03       ` Ludovic Courtès
2017-09-22 14:23         ` bug#28445: " Danny Milosavljevic
2017-09-22 16:41           ` Ludovic Courtès
2017-09-22 19:53             ` Roel Janssen
2017-09-25  7:33               ` Ludovic Courtès
2017-09-26 19:24                 ` bug#28445: " Roel Janssen
2017-09-26  2:27                   ` Danny Milosavljevic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o9q3pzip.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=help-guix@gnu.org \
    --cc=roel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).