Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
userdoc:tt_virtualbox [2012/01/27 10:22] abelbeck |
userdoc:tt_virtualbox [2015/07/22 12:06] droemel |
||
---|---|---|---|
Line 2: | Line 2: | ||
- | 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 ' | ||
Line 8: | Line 8: | ||
- Use the VBoxManage utility to convert the image to a virtual disk | - Use the VBoxManage utility to convert the image to a virtual disk | ||
- | | + | 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 the image to let's say 2 GB: | + | Then you can then resize the image... |
- | | + | Usage: |
+ | |||
+ | | ||
+ | |||
+ | Example (let's say 2 GB): | ||
| | ||
- | VBoxManage modifyhd --resize 2048 / | + | VBoxManage modifyhd --resize 2048 astlinux-1.0.1.vdi |
- | Then simply create a new virtual machine using this file as the disk and start the normal **[[userdoc: | + | Then simply create a new VirtualBox |
+ | |||
+ | Start the AstLinux Virtual Machine... | ||
+ | |||
+ | Finally, configure using the normal **[[userdoc: | ||
/* Be sure to use it as IDE harddisk in VirtualBox (default is SATA). You also need to create a secondary IDE harddisk for UnionFS. | /* Be sure to use it as IDE harddisk in VirtualBox (default is SATA). You also need to create a secondary IDE harddisk for UnionFS. | ||
Line 26: | Line 38: | ||
In my case it was ''/ | In my case it was ''/ | ||
- | I used a network bridge (en0) and the PCnet-Fast III adapter for the ' | ||
- | |||
- | ==== Alternative for VMDK (VMWare) in Java ==== | ||
- | |||
- | http:// | ||
- | |||
- | Usage: | ||
- | |||
- | java -Dtype=< | ||
- | |||
- | Example: | ||
- | |||
- | java -jar raw2vmdk.jar / | ||
- | |||
- | \\ | ||