This is an old revision of the document!
Convert AstLinux install files to VMware
You can convert an astlinux-XX.img file to a VMware .vmdk file and have a bootable system with a few simple steps.
- Download an AstLinux 'geni586' .img.gz file
- Decompress the image using gunzip, yielding a .img file
- Use the VBoxManage utility (VirtualBox) to convert the image to a virtual disk
Example:
gunzip astlinux-1.0.1-asterisk-1.8.8.1.img.gz
VBoxManage convertfromraw -format VMDK astlinux-1.0.1-asterisk-1.8.8.1.img astlinux-1.0.1.vmdk
Now we are ready to create a new VM in VMware, use the “astlinux-1.0.1.vmdk”, Linux, “Other Linux 2.6.x kernel”
Then make some Settings changes…
Network: Connect directly to the physical network (Bridged)
Processors & RAM: 2 processor cores (for fun) and 512MB RAM
Hard Disk: Disk size: increase to 2.00 GB and check Pre-allocate disk space (optional), then click Apply.
Advanced: Startup Device: "SCSI Disk" (using "lsilogic" SCSI virtualDev)
The rest of the defaults should be OK.
Start the AstLinux Virtual Machine…
Finally, configure using the normal setup.
Alternative for "VBoxManage" in Java
https://github.com/Zapotek/raw2vmdk/downloads
Usage:
java -Dtype=<ide|buslogic|lsilogic|legacyESX> -jar raw2vmdk.jar <raw image> <vmdk outfile>
Example (instead of using “ VBoxManage convertfromraw
… ”):
cd raw2vmdk-0.1.3.1-jar/ java -jar raw2vmdk.jar ~/Desktop/astlinux-1.0.1-asterisk-1.8.8.1.img ~/Desktop/astlinux-1.0.1.vmdk