Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
userdoc:tt_virtualbox [2012/01/23 15:52] droemel |
userdoc:tt_virtualbox [2016/02/05 09:03] (current) droemel |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Convert AstLinux install files to VirtualBox ====== | ====== Convert AstLinux install files to VirtualBox ====== | ||
+ | !!Obsolete info with AstLinux 1.2.5 and later.!! | ||
- | You can convert an astlinux-XX.img file to a VirtualBox .vdi and have a bootable system with a few simple steps. | + | \\ |
+ | |||
+ | You can convert an astlinux-XX.img file to a [[https:// | ||
- Download an AstLinux ' | - Download an AstLinux ' | ||
- | - Decompress the image using gunzip | + | - Decompress the image using gunzip, yielding a .img file |
- | - Use the VBoxManage utility to convert the image to a virtual disk | + | - Use the VBoxManage |
- | | + | Example: |
+ | |||
+ | gunzip astlinux-1.2.3-asterisk-11.18.0.img.gz | ||
+ | |||
+ | | ||
| | ||
//The formats VDI, VMDK and VHD are supported.// | //The formats VDI, VMDK and VHD are supported.// | ||
- | Then you can then resize | + | Here is the complete manual of the [[https:// |
- | VBoxManage modifyhd --resize <new size in MB> <path to image> e.g. | + | \\ |
- | VBoxManage modifyhd --resize 2048 / | + | |
- | Then simply create a new virtual machine using this file as the disk and start the normal **[[userdoc: | + | Then you can then resize |
- | /* Be sure to use it as IDE harddisk in VirtualBox (default is SATA). You also need to create a secondary IDE harddisk for UnionFS. | + | Usage: |
- | You need to manually setup the UnionFS disk ((the WebGUI '' | + | |
- | | + | |
- | In my case it was ''/ | + | Example (let's say 2 GB): |
- | I used a network bridge (en0) and the PCnet-Fast III adapter for the ' | + | |
+ | VBoxManage modifyhd --resize 2048 astlinux-1.2.3.vdi | ||
- | ==== Alternative in Java ==== | + | 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 ' |
- | http:// | + | Start the AstLinux Virtual Machine... |
- | ==== Convert VM images to other formats ?=== | + | Finally, configure using the normal **[[userdoc:new-install|setup]]**. |
- | There is another way to convert images into other VM formats with [[http:// | + | |
- | http://www.xgrr.de/ | + | /* Be sure to use it as IDE harddisk in VirtualBox (default is SATA). You also need to create a secondary IDE harddisk for UnionFS. |
+ | You need to manually setup the UnionFS disk ((the WebGUI '' | ||
+ | genunion /dev/hdX | ||
- | \\ | + | In my case it was ''/ |