Difference between revisions of "Proxmox: Migrasi VDI VirtualBox ke Proxmox"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 35: | Line 35: | ||
− | ==Hack | + | ==Hack 998.conf== |
hack | hack | ||
Line 41: | Line 41: | ||
/etc/pve/nodes/proxmox1/qemu-server | /etc/pve/nodes/proxmox1/qemu-server | ||
− | + | 998.conf | |
+ | Isinya kira2 | ||
cores: 1 | cores: 1 |
Revision as of 09:47, 1 June 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
- ssh ke proxmox
- buat folder /var/lib/vz/images/200
- kembali ke mesin virtualbox
- mv *.img menjadi vm-200-disk-1.raw (misalnya utk VMID: 200)
- scp .raw file ke /var/lib/vz/images/200 (asumsi VMID: 200)
Hack 998.conf
hack
/etc/pve/nodes/proxmox1/qemu-server
998.conf
Isinya kira2
cores: 1 ide0: local-lvm:vm-998-disk-1,size=32G ide2: none,media=cdrom memory: 2048 name: kali-VBOX net0: e1000=5A:45:05:AF:DC:62,bridge=vmbr0 numa: 0 ostype: other scsihw: virtio-scsi-pci smbios1: uuid=db1cc1c2-2c0b-4bce-b57c-18081023b08d sockets: 1
Ubah menjadi
cores: 1 ide0: local:998/vm-998-disk-1.raw,format=raw,cache=writeback,size=32G ide2: none,media=cdrom memory: 2048 name: kali-VBOX net0: e1000=5A:45:05:AF:DC:62,bridge=vmbr0 numa: 0 ostype: other scsihw: virtio-scsi-pci smbios1: uuid=db1cc1c2-2c0b-4bce-b57c-18081023b08d sockets: 1