[Nix-dev] Grub2 install error on latest unstable channel

Bjørn Forsman bjorn.forsman at gmail.com
Mon Sep 22 22:45:37 CEST 2014


Hi all,

After the long awaited unstable channel update (yay!), I unfortunately
get this grub2 install error:

$ sudo nixos-rebuild switch
building Nix...
building the system configuration...
updating GRUB 2 menu...
installing the GRUB 2 boot loader on /dev/disk/by-label/nixos-ssd...
Installing for i386-pc platform.
/nix/store/wkmf1mhwkjspdr1myhyalgyc7882q1k7-grub-2.02-git-1de3a4/sbin/grub-install:
warning: File system `ext2' doesn't support embedding.
/nix/store/wkmf1mhwkjspdr1myhyalgyc7882q1k7-grub-2.02-git-1de3a4/sbin/grub-install:
warning: Embedding is not possible.  GRUB can only be installed in
this setup by using blocklists.  However, blocklists are UNRELIABLE
and their use is discouraged..
/nix/store/wkmf1mhwkjspdr1myhyalgyc7882q1k7-grub-2.02-git-1de3a4/sbin/grub-install:
error: will not proceed with blocklists.
/nix/store/pmashz5671fadjfyxaxf6r0bcz5839m4-install-grub.pl:
installation of GRUB on /dev/disk/by-label/nixos-ssd failed
warning: error(s) occured while switching to the new configuration

Disk /dev/disk/by-label/nixos-ssd doesn't have ext2, it has ext4.

There are ~300 commits between unstable and git HEAD, but a quick
search didn't reveal any grub related changes in that set.

For the record, the channel is at commit
74f6be0e5fa5d4393e3ce4cd5efcd63b9cc1ba96.

Best regards,
Bjørn Forsman


More information about the nix-dev mailing list