Difference between revisions of "Proxmox: Migrasi VDI VirtualBox ke Proxmox"

From OnnoWiki
Jump to navigation Jump to search
Line 24: Line 24:
 
* Klik Virtual Machines > Create VM
 
* Klik Virtual Machines > Create VM
 
* Set semua default di VM.
 
* Set semua default di VM.
* Misalnya VMID: 106
+
* Misalnya VMID: 200
  
 
==Upload .img file==
 
==Upload .img file==
  
* Pakai scp
+
* Pakai scp ke mesin proxmox
* Transfer .img file ke /var/lib/vz/images/106 (asumsi VMID: 106)
+
* Transfer .img file ke /var/lib/vz/images/200 (asumsi VMID: 200)
 +
 
 +
 
 +
 
 +
 
  
 
==Rename the .img ke .raw==
 
==Rename the .img ke .raw==
* rename .raw file (misalnya vm-106-disk-1.raw) ke .old
+
* rename .raw file (misalnya vm-200-disk-1.raw) ke .old
* rename .img file ke .raw file (misalnya vm-106-disk-1.raw)
+
* rename .img file ke .raw file (misalnya vm-200-disk-1.raw)
  
 
==Boot it up!==
 
==Boot it up!==

Revision as of 18:13, 19 May 2017

sumber: https://forum.proxmox.com/threads/migrating-virtualbox-vdi-to-proxmox-ve.9672/


Cari .vdi file

  • Buka VirtualBox GUI
  • Klik pada VM yang ingin dimigrasi, klik Setting.
  • Klik pada Storage & klik .vdi file yang ada pada IDE Controller
  • Mouse over the Hard Disk: dropdown list box catat path .vdi file, biasanya
~/VirtualBox\ VMs\

Convert .vdi ke .img

  • Pada mesin VirtualBox buka CLI
VBoxManage clonehd --format RAW [virtual_harddisk].vdi [virtual_harddisk].img
  • Ini akan membutuhkan waktu, sabar ya :) ...

Buat ProxMox VM kosong

  • Buka Proxmox web
  • Klik Virtual Machines > Create VM
  • Set semua default di VM.
  • Misalnya VMID: 200

Upload .img file

  • Pakai scp ke mesin proxmox
  • Transfer .img file ke /var/lib/vz/images/200 (asumsi VMID: 200)



Rename the .img ke .raw

  • rename .raw file (misalnya vm-200-disk-1.raw) ke .old
  • rename .img file ke .raw file (misalnya vm-200-disk-1.raw)

Boot it up!

Referensi