userdoc:tt_proxmox

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
userdoc:tt_proxmox [2013/12/21 16:28]
droemel
userdoc:tt_proxmox [2016/02/05 09:04] (current)
droemel
Line 1: Line 1:
 ====== Convert AstLinux install files to Proxmox VE ====== ====== Convert AstLinux install files to Proxmox VE ======
  
 +!!Obsolete info with AstLinux 1.2.5 and later.!!  Use the ISO Installer Image.
 +
 +\\ 
  
 You can convert an astlinux-XX.img file to a [[http://www.proxmox.com/downloads|Proxmox VE]] .qcow2 file and have a bootable system with a few simple steps. You can convert an astlinux-XX.img file to a [[http://www.proxmox.com/downloads|Proxmox VE]] .qcow2 file and have a bootable system with a few simple steps.
Line 8: Line 11:
   - Decompress the image using gunzip, yielding a .img file   - 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 resize the raw image (in this example to 4 GB)
-  - Use the qemu-img utility to convert the image to a virtual disk+  - Use the qemu-img utility to convert the image to a .qcow2 virtual disk
  
 Example: Example:
  
-  gunzip astlinux-1.1.3-asterisk-1.8.23.1.img.gz+  gunzip astlinux-1.2.3-asterisk-11.18.0.img.gz 
 +   
 +  qemu-img resize astlinux-1.2.3-asterisk-11.18.0.img 4G 
 +   
 +  qemu-img convert -f raw astlinux-1.2.3-asterisk-11.18.0.img -O qcow2 astlinux.qcow2
      
-  qemu-img resize astlinux-1.1.3-asterisk-1.8.23.1.img 4G+Here is the complete manual of the [[http://linux.die.net/man/1/qemu-img|qemu-img]] command.
  
-  qemu-img convert -f raw astlinux-1.1.3-asterisk-1.8.23.1.img -O qcow2 astlinux.qcow2+\\ 
      
  
-  * Now simply create a new 32bit KVM virtual machine with an **IDE disk** and the Intel E1000 NIC.+  * Now simply create a new 32bit KVM virtual machine with an **IDE** or **SATA** disk, the **Intel E1000** NIC and a **kvm32** CPU.
   * Take note of the **VM ID**, copy or move the ''astlinux.qcow2'' to ''/var/lib/vz/images/<VM ID>/'' (it starts with 100).   * Take note of the **VM ID**, copy or move the ''astlinux.qcow2'' to ''/var/lib/vz/images/<VM ID>/'' (it starts with 100).
-  * Then edit ''/etc/pve/local/qemu-server/<VM ID>.conf'' and change the name of ''ide0'' to ''astlinux.qcow2''.+  * Then either edit ''/etc/pve/local/qemu-server/<VM ID>.conf'' and change the name of ''ide0'' to ''astlinux.qcow2''. 
 +    * or just overwrite the default disk with: ''cp astlinux.qcow2 100/vm-100-disk-1.qcow2''
  
 Start the AstLinux Virtual Machine... Start the AstLinux Virtual Machine...
Line 27: Line 35:
 Finally, configure using the normal **[[userdoc:new-install|setup]]**. Finally, configure using the normal **[[userdoc:new-install|setup]]**.
  
-!!Be sure to use it as IDE harddisk in Proxmox VE.!!+!!Note ->!! Testing was performed using Proxmox VE 3.1 on bare metal ((you need a 64bit CPU with VT-x or it will be really slow!)).  Your mileage may vary testing Proxmox within another VM, for example VMware appears to work for evaluation purposes, but VirtualBox may have issues with the network bridge interface.
  
-I tested this with Proxmox VE 3.1 on a real machine, it doesn't work if you install Proxmox VE in another Virtual Machine (like VirtualBox) :-).+\\  
 +\\ 
  • userdoc/tt_proxmox.1387664932.txt.gz
  • Last modified: 2013/12/21 16:28
  • by droemel