Skip to main content

2.1 Extract the XVA File to Raw Disk

Objective: Extract the disk from the from the XVA to a raw disk to be converted to VMDK.

Step 1. Navigate to a location that you would like to work from. In my scenario, I am working from my user's home directory in a folder name 'XVA VMs'
Belows is a screenshot of my working directory

xva-working-dir.png

Step 2. Once inside the working directory, run the following commands as root

  • mkdir my-virtual-machine
  • tar -xf my-virtual-machine.xva -C my-virtual-machine
  • chmod -R 755 my-virtual-machine

Step 3. Next we are going to export the Disk  by utilizing disk-export command

xva-img -p disk-export my-virtual-machine/Ref\:4/ disk.raw

The Ref: number may vary. The way to get the correct number is to run the ls command against the "my-virtual-machine directory where the ova.xml and disk files are located. Reference the below screenshot.

my-virtual-machin-contents.png

Step 4. Next