unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Xavier Montillet" <xavierm02@xavierm02.fr>
To: 36865@debbugs.gnu.org
Subject: bug#36865: Guix gc breaks grub
Date: Tue, 30 Jul 2019 22:03:54 +0000	[thread overview]
Message-ID: <37594eea-2366-4135-bbd5-b6d582cb6b01@www.fastmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1575 bytes --]

*Symptoms*

After running guix gc, and rebooting, I got the following errors (which stay something like half a second on the screen):

error: no such device: /gnu/store/0fijjh7qw8ppsks0ba3q9m873ljhj797-grub-2.04/share/grub/unicode.pf2
error: file `/gnu/store/0fijjh7qw8ppsks0ba3q9m873ljhj797-grub-2.04/share/grub/unicode.pf2' not found.
error: no suitable video mode found.
error: no video mode activated.

I then get to the grub menu where I can pick which version of Guix I want to boot on, but all of them lead to getting stuck on the following text (with nothing moving after that for at least several minutes):

error: no suitable video mode found.
Booting in blind mod

*Fix
*

Fortunately nckx was on IRC and saved me by telling me to press C to get the grub command line when I got to the grub menu and run setup_gfxterm.

Running guix system reconfigure config.scm removed the need for setup_gfxterm for subsequent boots.

*Cause*

guix gc thinks that grub (and a lot of other stuff that it shouldn't think is dead) is dead, as shown by the following commands (given by nckx):


$ grep unicode /boot/grub/grub.cfg
search --file --set /gnu/store/0fijjh7qw8ppsks0ba3q9m873ljhj797-grub-2.04/share/grub/unicode.pf2
if loadfont /gnu/store/0fijjh7qw8ppsks0ba3q9m873ljhj797-grub-2.04/share/grub/unicode.pf2; then

$ guix gc --list-dead | grep 0fijjh7qw8ppsks0ba3q9m873ljhj797
finding garbage collector roots...
determining live/dead paths...
/gnu/store/0fijjh7qw8ppsks0ba3q9m873ljhj797-grub-2.04

I was also able to reproduce the bug by running guix gc and rebooting again.

[-- Attachment #2: Type: text/html, Size: 4694 bytes --]

             reply	other threads:[~2019-07-30 23:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-30 22:03 Xavier Montillet [this message]
2019-07-31  9:21 ` bug#36865: Guix gc breaks grub Ricardo Wurmus
2019-07-31 21:05   ` Xavier Montillet
2019-07-31 21:25     ` Xavier Montillet
2019-08-23 12:31       ` Ludovic Courtès
2019-08-23 22:53         ` Xavier Montillet
2019-08-24 14:04           ` Ludovic Courtès
2019-08-24 15:07             ` Xavier Montillet
2019-08-24 17:42         ` Jakob L. Kreuze
2019-08-26  8:19           ` Ludovic Courtès

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=37594eea-2366-4135-bbd5-b6d582cb6b01@www.fastmail.com \
    --to=xavierm02@xavierm02.fr \
    --cc=36865@debbugs.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).