the configuration of my virtualbox installation got lost because the host's system disk died. The other disk containing the VM is still alive. I expected it to be easy enough to simply run VBoxManage registervm, but due to mysterious reasons I cannot register vms that have a harddisk and/or snapshot attached. Both are existent and obviously needed in this case. So, I don't want to rant in any way, I'm just a little surprised that re-registering vms is so hard.
I've read about changing paths in VirtualBox.xml and removing the storage controller part from the vm.xml. The latter actually let me register the vm again, but without the snapshot it is quite useless. Now I know that one should register the vm and then re-add storage controller and hdd image to it. If that is correct so far, how would I proceed getting the snapshot in again?
I only have ssh access to the machine, so please hint me at VBoxManage (et al.) options instead of GUI actions.