This is an old revision of the document!
Convert AstLinux install files to Proxmox VE
You can convert an astlinux-XX.img file to a Proxmox VE .qcow2 file and have a bootable system with a few simple steps.
- Download an AstLinux 'geni586' .img.gz file
- scp the image to
/var/lib/vz/images/
on your Proxmox VE server - Decompress the image using gunzip, yielding a .img file
- Use the qemu-img utility to resize the raw image (in this example to 4 GB)
- Use the qemu-img utility to convert the image to a virtual disk
Example:
gunzip astlinux-1.1.3-asterisk-1.8.23.1.img.gz qemu-img resize astlinux-1.1.3-asterisk-1.8.23.1.img 4G
qemu-img convert -f raw astlinux-1.1.3-asterisk-1.8.23.1.img -O qcow2 astlinux.qcow2
Then simply create a new VirtualBox virtual machine using this .vdi file as the disk (I used a network bridge (en0) and the PCnet-Fast III adapter for the 'geni586' image on a Mac).
Start the AstLinux Virtual Machineā¦
Finally, configure using the normal setup.
Be sure to use it as IDE harddisk in VirtualBox (default is SATA).