| 3 | | 1). Cloned the VM (2 disks) |
| 4 | | 2). Started the cloned VM and uninstalled the VMWare tools. |
| 5 | | 3). /work/vmware-vdiskmanager -r build-1-000007-cl1.vmdk -t 2 buildhd1.vmdk |
| 6 | | a). (Note, this made buildhd1.vmdk and buildhd1-flat.vmdk...the disk appeared to be in the flat file). |
| 7 | | 4). /work/vmware-vdiskmanager -r build-0-000007-cl1.vmdk -t 2 buildhd0.vmdk |
| 8 | | a). (Note, this made buildhd0.vmdk and buildhd0-flat.vmdk...the disk appeared to be in the flat file). |
| 9 | | 5). qemu-img convert buildhd1-flat.vmdk buildhd1.bin |
| 10 | | 6). qemu-img convert buildhd0-flat.vmdk buildhd0.bin |
| 11 | | 7). LD_LIBRARY_PATH=/usr/lib/virtualbox /work/vditool DD Win2khd0.vdi buildhd0.bin |
| 12 | | 8). LD_LIBRARY_PATH=/usr/lib/virtualbox /work/vditool DD Win2khd1.vdi buildhd1.bin |
| | 3 | 1. Cloned the VM (2 disks) |
| | 4 | 2. Started the cloned VM and uninstalled the VMWare tools. |
| | 5 | 3. /work/vmware-vdiskmanager -r build-1-000007-cl1.vmdk -t 2 buildhd1.vmdk[[BR]] |
| | 6 | (Note, this made buildhd1.vmdk and buildhd1-flat.vmdk...the disk appeared to be in the flat file). |
| | 7 | 4. /work/vmware-vdiskmanager -r build-0-000007-cl1.vmdk -t 2 buildhd0.vmdk[[BR]] |
| | 8 | (Note, this made buildhd0.vmdk and buildhd0-flat.vmdk...the disk appeared to be in the flat file). |
| | 9 | 5. qemu-img convert buildhd1-flat.vmdk buildhd1.bin |
| | 10 | 6. qemu-img convert buildhd0-flat.vmdk buildhd0.bin |
| | 11 | 7. LD_LIBRARY_PATH=/usr/lib/virtualbox /work/vditool DD Win2khd0.vdi buildhd0.bin |
| | 12 | 8. LD_LIBRARY_PATH=/usr/lib/virtualbox /work/vditool DD Win2khd1.vdi buildhd1.bin |