elitak / nixos-infect

[GPLv3+] install nixos over the existing OS in a DigitalOcean droplet (and others with minor modifications)
GNU General Public License v3.0
1.32k stars 215 forks source link

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

Open ob7 opened 1 year ago

ob7 commented 1 year ago

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 1 year ago

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.