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

    Tutorial on importing VHD?

    Scheduled Pinned Locked Moved Xen Orchestra
    6 Posts 4 Posters 5.1k Views 4 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.
    • C Offline
      Cbrowning
      last edited by

      Is there a tutorial on importing VHD using Xen Orchestra. I am having difficulty importing my VHD with Orchestra. Do I import the VHD first and then create the server? I am an absolute beginner with my new Xen Server.

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Online
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Importing a VHD is importing a disk. Can you explain a bit more what are you trying to achieve so we can get some context?

        1 Reply Last reply Reply Quote 0
        • C Offline
          Cbrowning
          last edited by

          I converted a VHD file from my hyperV server from VHDX to VHD. I imported the disk. I see the VHD in my XPC-ng server. But I can not get the new VM to boot from it.

          darkschneider1978D 1 Reply Last reply Reply Quote 0
          • olivierlambertO Online
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            Can you be more specific? What's happening when you attach this disk to a VM and boot it?

            1 Reply Last reply Reply Quote 0
            • darkschneider1978D Offline
              darkschneider1978 @Cbrowning
              last edited by

              @Cbrowning It sounds like you only have the disk but not the VM itself?
              The VM and the disk (VHD) are two separate entities. To import a VM in a new host you will need something like a .XVA file that contains both the VM and the disk associated with it.
              Regards

              1 Reply Last reply Reply Quote 0
              • GheppyG Offline
                Gheppy
                last edited by Gheppy

                What operating system do you have?
                Does it run on the same type of real server?
                If not.
                If VM it is Windows, you must reset (sysprep) or insert the hdd drivers. Acronis is a solution for that, or Dism++ and ImDisk to insert dirvers on vhd.
                If VM it's Linux, you don't have the correct disk name or partition ID, the boot partition must be redone. Reinstall kernel, in chroot with live CD, to solve the problem.

                For an easier process, I recommend Hyper-V -> VirtualBox -> XCP-ng. With VirtualBox you will have fewer problems when restoring the boot. And VirtualBox is much more compatible with XCP-ng.

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