XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Unbootable VHD backups

    Scheduled Pinned Locked Moved XCP-ng
    19 Posts 3 Posters 74 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Online
      DustinB @Schmidty86
      last edited by

      @Schmidty86 The VM template that you created to attach these VHD to, is it configured for BIOS or UEFI?

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        Schmidty86 @DustinB
        last edited by Schmidty86

        @DustinB UEFI, and yes i tried it both ways. still nothing.

        D 1 Reply Last reply Reply Quote 0
        • D Online
          DustinB @Schmidty86
          last edited by

          @Schmidty86 did this VM previously have a USB device that was passed through on your prior host?

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            Schmidty86 @DustinB
            last edited by

            @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.

            D 1 Reply Last reply Reply Quote 0
            • D Online
              DustinB @Schmidty86
              last edited by

              @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.

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                Schmidty86 @DustinB
                last edited by Schmidty86

                @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.

                D 1 Reply Last reply Reply Quote 0
                • D Online
                  DustinB @Schmidty86
                  last edited by DustinB

                  @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.

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    Schmidty86 @DustinB
                    last edited by

                    @DustinB You cannot disable all the boot devices in xoa.

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      Schmidty86 @Schmidty86
                      last edited by

                      Got into the boot but, change what now?
                      94f2e91d-32e9-4ffe-aa07-7c6a9d95c95b-image.png

                      D 1 Reply Last reply Reply Quote 0
                      • D Online
                        DustinB @Schmidty86
                        last edited by

                        @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.

                        D 1 Reply Last reply Reply Quote 0
                        • D Online
                          DustinB @DustinB
                          last edited by DustinB

                          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.

                          S 1 Reply Last reply Reply Quote 0
                          • S Offline
                            Schmidty86 @DustinB
                            last edited by Schmidty86

                            @DustinB 87c00940-b25f-46ec-ba09-94e7f99414bf-image.png

                            still nothing. and i do have the vhd attached.
                            3428795d-3994-4d14-b41f-ef7bd294dedb-image.png

                            D 1 Reply Last reply Reply Quote 0
                            • D Online
                              DustinB @Schmidty86
                              last edited by

                              @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.

                              S 2 Replies Last reply Reply Quote 0
                              • S Offline
                                Schmidty86 @DustinB
                                last edited by

                                @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.

                                1 Reply Last reply Reply Quote 0
                                • S Offline
                                  Schmidty86 @DustinB
                                  last edited by

                                  @DustinB Also when i look at the VHD in 7zip i can clearly see that it has a boot sector.
                                  735e1907-f22a-4393-8070-3c9d9f755d71-image.png

                                  AtaxyaNetworkA 1 Reply Last reply Reply Quote 0
                                  • AtaxyaNetworkA Offline
                                    AtaxyaNetwork Ambassador @Schmidty86
                                    last edited by

                                    @Schmidty86 Try to detach the disk and reattach, it should be xvda in order to be bootable

                                    S D 2 Replies Last reply Reply Quote 0
                                    • S Offline
                                      Schmidty86 @AtaxyaNetwork
                                      last edited by

                                      @AtaxyaNetwork Sadly I've done this multiple times as well with no luck of it turning into that format.

                                      1 Reply Last reply Reply Quote 0
                                      • D Online
                                        DustinB @AtaxyaNetwork
                                        last edited by

                                        @AtaxyaNetwork said in Unbootable VHD backups:

                                        @Schmidty86 Try to detach the disk and reattach, it should be xvda in order to be bootable

                                        That's what I was thinking as well, but obviously something is off with this VM.

                                        @Schmidty86 is the old host still online? If so you might be able to perform a Live Migration or a replication job to copy it from the old host to the new.

                                        1 Reply Last reply Reply Quote 0
                                        • First post
                                          Last post