Skip to content

Instantly share code, notes, and snippets.

@mcxiaoke
Forked from sukesh-ak/README.md
Created December 8, 2022 09:55
Show Gist options
  • Save mcxiaoke/707e1ee87f9fb843f061dc6ef47842cf to your computer and use it in GitHub Desktop.
Save mcxiaoke/707e1ee87f9fb843f061dc6ef47842cf to your computer and use it in GitHub Desktop.

Revisions

  1. @sukesh-ak sukesh-ak revised this gist Aug 28, 2021. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -11,4 +11,7 @@ https://cloudbase.it/qemu-img-windows/
    ## Read about 1MB virtual alignment here - so use fixed for Linux vm
    https://docs.microsoft.com/en-us/azure/virtual-machines/linux/create-upload-generic

    > qemu-img convert "D:\VirtualBox\Open-disk001.vmdk" -O vhdx -o subformat=fixed "D:\VirtualBox\Open.vhdx"
    > qemu-img convert "D:\VirtualBox\Open-disk001.vmdk" -O vhdx -o subformat=fixed "D:\VirtualBox\Open.vhdx"
    ### With VirtualBox commandline
    > "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" clonehd --format vhd "disk001.vmdk" disk001.vhd
  2. @sukesh-ak sukesh-ak revised this gist Aug 28, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@
    ## Read here and install qemu (extract zip file)
    https://cloudbase.it/qemu-img-windows/

    > qemu-img convert "D:\VirtualBox\Open-disk001.vmdk" -O vhdx -o subformat=dynamic "D:\VirtualBox\OpenCTI.vhdx"
    > qemu-img convert "D:\VirtualBox\Open-disk001.vmdk" -O vhdx -o subformat=dynamic "D:\VirtualBox\Open.vhdx"

    ## Read about 1MB virtual alignment here - so use fixed for Linux vm
  3. @sukesh-ak sukesh-ak revised this gist Aug 28, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # How to convert vmdk to vhdx
    # How to convert OVA to VHDX
    - Rename .OVA file to .7z
    - Use winrar to extract .vmdk out of it

  4. @sukesh-ak sukesh-ak revised this gist Aug 28, 2021. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,7 @@
    # How to convert vmdk to vhdx
    - Rename .OVA file to .7z
    - Use winrar to extract .vmdk out of it

    ## Read here and install qemu (extract zip file)
    https://cloudbase.it/qemu-img-windows/

  5. @sukesh-ak sukesh-ak created this gist Aug 28, 2021.
    11 changes: 11 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    # How to convert vmdk to vhdx
    ## Read here and install qemu (extract zip file)
    https://cloudbase.it/qemu-img-windows/

    > qemu-img convert "D:\VirtualBox\Open-disk001.vmdk" -O vhdx -o subformat=dynamic "D:\VirtualBox\OpenCTI.vhdx"

    ## Read about 1MB virtual alignment here - so use fixed for Linux vm
    https://docs.microsoft.com/en-us/azure/virtual-machines/linux/create-upload-generic

    > qemu-img convert "D:\VirtualBox\Open-disk001.vmdk" -O vhdx -o subformat=fixed "D:\VirtualBox\Open.vhdx"