Unbootable VHD backups
-
I'm in a bit of a pickle and a little in over my head but wanting to learn. So bare with me and please help if you can.
I recently built a new host and installed xcp-ng and the xoa inside of that. My previous rig that a friend of mine i no longer speak to setup my previous rig. What i tried to do instead of migrating was import all the vhd backups and then rebuild the VM's with that vhd disk attached. This worked for my windows os vm's but i am unable to get the two linux ones to boot at all. i know for a fact one is home assistant and the other is a debian host with docker and portainer for various containers i use like radrr and sonarr. Can some one help me get those 2 linux vm's to boot again. would be happy to do a remote session and call if need be.
The error i get on boot is
and yes i changed the boot order and still no change.
-
@Schmidty86 The VM template that you created to attach these VHD to, is it configured for BIOS or UEFI?
-
@DustinB UEFI, and yes i tried it both ways. still nothing.
-
@Schmidty86 did this VM previously have a USB device that was passed through on your prior host?
-
@DustinB Yes i had a z-wave dongle passed through via USB to connect devices to my HA. But that never seemed to matter before if it was or wasn't attached. It would still boot and HA would say the device was missing.
-
@Schmidty86 You might need to go into BIOS and check to see if this now missing device is still listed, and disable it if it is.
-
@DustinB how do you get into the bios of a vm that wont even post? That also would only account for fixing one of the two VM's even if it did fix the problem.
-
@Schmidty86 Try disabling the boot devices under advanced
https://xcp-ng.org/forum/topic/8357/i-cannot-enter-the-vm-boot-menu/2
then you'll have more time to see what the options are to get into BIOS.
It might even be as simple as tapping the Shift Key while the VM starts.... I don't have to do it often enough to commit to memory, but you can definitely get into BIOS on a VM that "isn't posting". You've technically made it past post, and are failing due to a missing boot device.
-
@DustinB You cannot disable all the boot devices in xoa.
-
Got into the boot but, change what now?
-
@Schmidty86 I dont see your disk at all listed, only PXE (network booting) and then the MISC device (which is the questionable item).
The internal Shell isn't relevant to this conversation.
-
said in Unbootable VHD backups:
@Schmidty86 I dont see your disk at all listed, only PXE (network booting) and then the MISC device (which is the questionable item).
The internal Shell isn't relevant to this conversation.
As a side thought, re-enable the DISK under advanced and then reboot into BIOS and see if the disk is listed.
-
still nothing. and i do have the vhd attached.
-
@Schmidty86 That disk appears to be a secondary disk, is this just a "data volume" and not a boot volume (looking at XO where it shows xvdb)?
Hrm as to the fact that it still shows it as a misc disk.... I'm at a loss.
-
@DustinB To my knowledge this is the bootable volume. all the other backups in the parent folder are just differential backups that are much much smaller.
-
@DustinB Also when i look at the VHD in 7zip i can clearly see that it has a boot sector.