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

Wout Mertens wout.mertens at gmail.com
Mon Sep 22 23:21:06 CEST 2014


Does `nixos-rebuild build-vm-with-bootloader` work? If so it would be just
your system/partition layout?

On Mon, Sep 22, 2014 at 10:45 PM, Bjørn Forsman <bjorn.forsman at gmail.com>
wrote:

> 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
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140922/c87051c8/attachment.html 


More information about the nix-dev mailing list