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

Bjørn Forsman bjorn.forsman at gmail.com
Tue Sep 23 08:32:46 CEST 2014


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:

$ nixos-rebuild build-vm-with-bootloader
[...]
building path(s) `/nix/store/jgkz7pl3d3l6c5nm36y95ga775qn49a7-vm-run'
building /nix/store/jgkz7pl3d3l6c5nm36y95ga775qn49a7-vm-run
building path(s)
`/nix/store/qnf91y0a79g6fzn8lysl1hr3gmqpbcnq-nixos-boot-disk'
Formatting '/nix/store/qnf91y0a79g6fzn8lysl1hr3gmqpbcnq-nixos-boot-disk/disk.img',
fmt=qcow2 size=33554432 encryption=off cluster_size=65536
lazy_refcounts=off
loading kernel modules...
mounting Nix store...
mounting host's temporary directory...
starting stage 2 (/nix/store/h03fb1kmymfhmn2lslidk12vg0jpswdk-vm-run-stage2)
building /nix/store/qnf91y0a79g6fzn8lysl1hr3gmqpbcnq-nixos-boot-disk
Information: You may need to update /etc/fstab.

Information: You may need to update /etc/fstab.

mke2fs 1.42.9 (28-Dec-2013)
Filesystem label=boot
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
7936 inodes, 31744 blocks
1587 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=32505856
4 block groups
8192 blocks per group, 8192 fragments per group
1984 inodes per group
Superblock backups stored on blocks:
8193, 24577

Allocating group tables: done
Writing inode tables: done
Creating journal (1024 blocks): done
Writing superblocks and filesystem accounting information: done

tune2fs 1.42.9 (28-Dec-2013)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
updating GRUB 2 menu...
installing the GRUB 2 boot loader on /dev/vda...
Installation finished. No error reported.
[    9.497534] Power down.
building path(s) `/nix/store/1l0y8nx48klgp3zp13ndxydv0n595dyb-run-nixos-vm'
building /nix/store/1l0y8nx48klgp3zp13ndxydv0n595dyb-run-nixos-vm
building path(s) `/nix/store/1njagfq6gbcl7x76dclnwa543kzzc956-nixos-vm'
building /nix/store/1njagfq6gbcl7x76dclnwa543kzzc956-nixos-vm



More information about the nix-dev mailing list