+ Post New Thread
Results 1 to 14 of 14
Thin Client and Virtual Machines Thread, HyperV 2012 - Import vhdx without XML in Technical; Hi All, I've just taken a P2V conversion of a Windows 2003R2 32 bit server using the free tool I ...
  1. #1

    garethedmondson's Avatar
    Join Date
    Oct 2008
    Location
    Gowerton, Swansea
    Posts
    2,260
    Thank Post
    965
    Thanked 324 Times in 192 Posts
    Blog Entries
    11
    Rep Power
    164

    HyperV 2012 - Import vhdx without XML

    Hi All,

    I've just taken a P2V conversion of a Windows 2003R2 32 bit server using the free tool I found from SysInternals and downloaded from the MS site. I have created a .vhd of the server and converted it to .vhdx using the 2012 console.

    However when I try and import it, the file cannot be seen. I believe it's due to a missing .xml file. Does anyone know how I can go about creating the .xml file? Is there anything out there that will help me?

    Should the P2V software have created the .xml file?

    I feel I'm missing something,

    Regards

    Gareth

  2. #2
    linkazoid's Avatar
    Join Date
    May 2007
    Location
    London
    Posts
    647
    Thank Post
    119
    Thanked 89 Times in 73 Posts
    Rep Power
    78
    I'm sure when I did this, I did the following.

    Complete P2V and transferred to the new host.
    Import into Hyper-V
    Click on Edit Disk
    Follow prompts until convert
    Select VHDX
    Choose your required options.

    Mike

  3. Thanks to linkazoid from:

    garethedmondson (9th October 2013)

  4. #3

    garethedmondson's Avatar
    Join Date
    Oct 2008
    Location
    Gowerton, Swansea
    Posts
    2,260
    Thank Post
    965
    Thanked 324 Times in 192 Posts
    Blog Entries
    11
    Rep Power
    164
    I've done this, but the import option into HyperV doesn't see it in the file viewer.

    Gareth

  5. #4

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,172
    Thank Post
    868
    Thanked 2,699 Times in 2,288 Posts
    Blog Entries
    11
    Rep Power
    772
    As it was never virtual you just need to make a new blank vm with the required virtual hardware and attach the vhd to it.

  6. Thanks to SYNACK from:

    garethedmondson (9th October 2013)

  7. #5

    garethedmondson's Avatar
    Join Date
    Oct 2008
    Location
    Gowerton, Swansea
    Posts
    2,260
    Thank Post
    965
    Thanked 324 Times in 192 Posts
    Blog Entries
    11
    Rep Power
    164
    Quote Originally Posted by SYNACK View Post
    As it was never virtual you just need to make a new blank vm with the required virtual hardware and attach the vhd to it.
    - Thank you. I've now done this but weirdly the image is telling me there is no boot loader. So back to the research.

  8. #6

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,172
    Thank Post
    868
    Thanked 2,699 Times in 2,288 Posts
    Blog Entries
    11
    Rep Power
    772
    If you mount the vhd image can you check if the partition is set to system/bootable.

  9. #7

    garethedmondson's Avatar
    Join Date
    Oct 2008
    Location
    Gowerton, Swansea
    Posts
    2,260
    Thank Post
    965
    Thanked 324 Times in 192 Posts
    Blog Entries
    11
    Rep Power
    164
    Quote Originally Posted by SYNACK View Post
    If you mount the vhd image can you check if the partition is set to system/bootable.
    Ohhh right - I just assumed that because I had captured it, that the C drive would automatically boot.

    Thanks pal.

    Gareth

  10. #8

    garethedmondson's Avatar
    Join Date
    Oct 2008
    Location
    Gowerton, Swansea
    Posts
    2,260
    Thank Post
    965
    Thanked 324 Times in 192 Posts
    Blog Entries
    11
    Rep Power
    164
    Oh how annoying - have mounted the .vhd in WIndows 7 and it tells me two of the volumes need formatting. Yet they are fine on the host PC. Seems the P2V software isn't that good.

    Gutted.

    Gareth

  11. #9

    Join Date
    Jun 2009
    Location
    Poole
    Posts
    147
    Thank Post
    4
    Thanked 40 Times in 30 Posts
    Rep Power
    20
    .vhdx isn't supported as a boot volume, only as a second drive. You need to use a plain .vhd. VHDX uses a GPT partition which isn't supported by the Hyper-V bios system. Really stupid MS release a new image format you can't boot from because they can't wait for a BIOS update.

  12. Thanks to BHMS from:

    SYNACK (10th October 2013)

  13. #10

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,172
    Thank Post
    868
    Thanked 2,699 Times in 2,288 Posts
    Blog Entries
    11
    Rep Power
    772
    Quote Originally Posted by BHMS View Post
    .vhdx isn't supported as a boot volume, only as a second drive. You need to use a plain .vhd. VHDX uses a GPT partition which isn't supported by the Hyper-V bios system. Really stupid MS release a new image format you can't boot from because they can't wait for a BIOS update.
    You can probably boot 8/2012 though.

  14. #11

    garethedmondson's Avatar
    Join Date
    Oct 2008
    Location
    Gowerton, Swansea
    Posts
    2,260
    Thank Post
    965
    Thanked 324 Times in 192 Posts
    Blog Entries
    11
    Rep Power
    164
    Quote Originally Posted by BHMS View Post
    .vhdx isn't supported as a boot volume, only as a second drive. You need to use a plain .vhd. VHDX uses a GPT partition which isn't supported by the Hyper-V bios system. Really stupid MS release a new image format you can't boot from because they can't wait for a BIOS update.
    Oh crap. No wonder it didn't work. Okay - still have the .vhd image. I'm only virtualising it whilst I get rid of the old server and re-create it as 2008R2.

    Then it can go. Thanks everyone.

    Gareth

  15. #12

    Join Date
    Jun 2009
    Location
    Poole
    Posts
    147
    Thank Post
    4
    Thanked 40 Times in 30 Posts
    Rep Power
    20
    Quote Originally Posted by SYNACK View Post
    You can probably boot 8/2012 though.
    Nope. Straight out of the MCSA 2012 upgrade book I'm preparing for. Totally unsupported as a boot volume, no matter what.

  16. #13
    linkazoid's Avatar
    Join Date
    May 2007
    Location
    London
    Posts
    647
    Thank Post
    119
    Thanked 89 Times in 73 Posts
    Rep Power
    78
    I have a P2V Windows 2003 box imported and converted into my Server 2012 as a vhdx volume. It boots from this fine as an MBR volume. GPT is only required on disks over 2TB.

    I used this for the P2V capture - Disk2vhd

  17. #14

    Join Date
    Jun 2009
    Location
    Poole
    Posts
    147
    Thank Post
    4
    Thanked 40 Times in 30 Posts
    Rep Power
    20
    Ahh I didn't know you could partition it with MBR still. The MS book seems to miss that out. The main advantage of the new format is making it bigger than 2TB though. MS aimed it at large databases.

SHARE:
+ Post New Thread

Similar Threads

  1. HyperV 2012 +iSCSI Drivers
    By garethedmondson in forum Thin Client and Virtual Machines
    Replies: 0
    Last Post: 26th September 2013, 08:02 PM
  2. [SIMS] Batch Import xml Spreadsheets
    By tben2505 in forum MIS Systems
    Replies: 2
    Last Post: 11th January 2012, 09:18 AM
  3. Importing live SIMS data as XML to Google spreadsheet
    By CyberNerd in forum Office Software
    Replies: 4
    Last Post: 4th March 2011, 09:39 AM
  4. [MS Office - 2003] Importing Outlook 2003 data without a .pst
    By danboid in forum Office Software
    Replies: 3
    Last Post: 23rd October 2008, 04:46 PM
  5. ISA 2004 Proxy Block List XML - Importable...
    By rpycroft in forum Windows
    Replies: 3
    Last Post: 8th December 2007, 11:55 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •