Proxmox: Migrasi VDI VirtualBox ke Proxmox: Difference between revisions

From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs)
Onnowpurbo (talk | contribs)
Line 30: Line 30:


==Rename the .img ke .raw==
==Rename the .img ke .raw==
* rename the existing .raw file (for instance vm-106-disk-1.raw) to .old
* rename .raw file (misalnya vm-106-disk-1.raw) ke .old
* rename the .img file to the name of the existing .raw file (for instance vm-106-disk-1.raw)
* rename .img file ke .raw file (misalnya vm-106-disk-1.raw)


==Boot it up!==
==Boot it up!==

Revision as of 23:39, 18 May 2017

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


Cari .vdi file

  • Open the VirtualBox GUI
  • Click on the VM we want to migrate and click the Settings button
  • Click on Storage and click the .vdi file listed under IDE Controller
  • Mouse over the Hard Disk: dropdown list box and note the path to the .vdi file

Convert .vdi ke .img

  • On the VirtualBox host open a command prompt
VBoxManage clonehd --format RAW [virtual_harddisk].vdi [virtual_harddisk].img
  • This may take a while so be patient. Go get some coffee.

Buat ProxMox VM kosong

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

Upload .img file

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

Rename the .img ke .raw

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

Boot it up!

Referensi