elitak/nixos-infect

Fails at /nix/var/nix/profiles/system/bin/switch-to-configuration boot

ob7 opened this issue · 1 comments

ob7 commented

Gets to /nix/var/nix/profiles/system/bin/switch-to-configuration boot in the infect function, then fails due to grub errors, appears to be trying to install to a i386 system when system is clearly x86_64

ob7 commented

The VPS I'm trying this on has something different about its disks. Each one is mounting as xvda1 or xvda2 as the entire disk, not just xvda. And if I try adding partitions those don't show up in the system (cant be mounted etc), and the partitions are named like xvda1p1 etc. xvda itself does not exist in the vm. The parent is a xen server. What could be going on with the way the disks are mounted that stops grub from installing? It almost seems like whatever boot loader is being used by the VM is not accessible by the VPS once booted. The boot directory is empty, and all signs point to it being BIOS boot not efi.