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

Bjørn Forsman bjorn.forsman at gmail.com
Tue Sep 23 09:01:15 CEST 2014


On 23 September 2014 08:32, Bjørn Forsman <bjorn.forsman at gmail.com> wrote:
> On 23 September 2014 08:13, Bjørn Forsman <bjorn.forsman at gmail.com> wrote:
>> On 22 September 2014 23:21, Wout Mertens <wout.mertens at gmail.com> wrote:
>>> Does `nixos-rebuild build-vm-with-bootloader` work? If so it would be just
>>> your system/partition layout?
>>
>> $ nixos-rebuild build-vm-with-bootloader
> [snip log output with errors]
>
> I went back to previous channel (commit
> 41cd2d870ab7dc76913ba1cc2dc21e313732b4f1). That worked:
[...]

So the old channel had

updating GRUB 2 menu...
installing the GRUB 2 boot loader on /dev/vda...
[success]


But the new channel has

updating GRUB 2 menu...
Failed to get blkid info for /nix/store on store at
/nix/store/pmashz5671fadjfyxaxf6r0bcz5839m4-install-grub.pl line 160.
[fail]


I was at first thinking that the issue was a grub version update, but
now I wonder whether its a change in nixos instead. Why does it use
blkid for /nix/store? I don't know this code, but the log looks a bit
odd.

Best regards,
Bjørn Forsman


More information about the nix-dev mailing list