On 22 September 2014 23:21, Wout Mertens <[email protected]> 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 building Nix... building the system configuration... these derivations will be built: /nix/store/5hkwbhvcf6s0j4985672gsp5pgy16sr1-run-nixos-vm.drv /nix/store/dvxsjnfi68jr4cmk2kvb8apcflg9sq5n-nixos-boot-disk.drv /nix/store/nxj5r27i7sizj4r2nnc13mf3kpwx9fza-nixos-vm.drv building path(s) `/nix/store/y0gagqk7d59jxk0g7yaln0a8p72375k9-nixos-boot-disk' Formatting '/nix/store/y0gagqk7d59jxk0g7yaln0a8p72375k9-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/xyp458wn16dpl15cdxnrja7v0401x0aj-vm-run-stage2) [pbuilding /nix/store/y0gagqk7d59jxk0g7yaln0a8p72375k9-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... Failed to get blkid info for /nix/store on store at /nix/store/pmashz5671fadjfyxaxf6r0bcz5839m4-install-grub.pl line 160. [q[ 3.379615] Power down. note: keeping build directory `/tmp/nix-build-nixos-boot-disk.drv-1' builder for `/nix/store/dvxsjnfi68jr4cmk2kvb8apcflg9sq5n-nixos-boot-disk.drv' failed with exit code 1 cannot build derivation `/nix/store/5hkwbhvcf6s0j4985672gsp5pgy16sr1-run-nixos-vm.drv': 1 dependencies couldn't be built cannot build derivation `/nix/store/nxj5r27i7sizj4r2nnc13mf3kpwx9fza-nixos-vm.drv': 1 dependencies couldn't be built error: build of `/nix/store/nxj5r27i7sizj4r2nnc13mf3kpwx9fza-nixos-vm.drv' failed - Bjørn _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
