This hasn’t happened to me yet but I was just thinking about it. Let’s say you have a server with an iGPU, and you use GPU passthrough to let VMs use the iGPU. And then one day the host’s ssh server breaks, maybe you did something stupid or there was a bad update. Are you fucked? How could you possibly recover, with no display and no SSH? The only thing I can think of is setting up serial access for emergencies like this, but I rarely hear about serial access nowadays so I wonder if there’s some other solution here.

  • @horse_battery_staple
    link
    6
    edit-2
    1 day ago

    Boot to live disk.

    Edit vmconfig to not start at boot.

    Mount vmdisk to live disk

    Fix ssh

    • @[email protected]OP
      link
      fedilink
      English
      1
      edit-2
      23 hours ago

      As mentioned in another reply, this doesn’t work if you have encrypted disk. The price for security I suppose

      Edit: nevermind I thought that secure boot and disk encryption would prevent you from mounting the disk to another system, but that appears to be wrong