filmov
tv
Convert VirtualBox VM to ProxMox VE
Показать описание
#VirtualBox #Proxmox #Hypervisor
01. On the VirtualBox host, launch VirtualBox
02. Right click the VM to convert ≫ Settings
03. Select Storage from the left navigation
04. Click the virtual hard disk and copy the Location value for the full path of the disk to the clipboard
06. Enter the following commands in the command prompt
# change directory to VirtualBox installation
cd %programfiles%\Oracle\VirtualBox
# convert the .vdi to raw .img
08. Click the Create VM button at the top right
09. On the General tab, enter a VM Name and note the VM ID generated ≫ click Next
10. On the OS tab select Do not use any media and set the Guest OS ≫ click Next
11. On the System tab click Next
12. On the Hard Disk tab set the Disk size to 0.001 ≫ click Next
13. On the CPU tab set the number of CPUs ≫ click Next
14. On the Memory tab set the amount of memory to allocate in MiB ≫ click Next
15. On the Network tab click Next
16. On the Confirm tab review the settings and click Finish
17. Select the newly created VM from the left navigation panel ≫ Hardware
18. Click the Hard Disk to select it
19. Click the Detach button to detach the hard disk from the VM
20. Click the Unused disk
21. Click the Remove button to permanently delete it
23. Extract WinSCP and run the executable
24. Connect to the ProxMox IP server via WinSCP
25. Copy the VirtualBox created .raw file to a location on the ProxMox server that has enough free disk space, /root for example
26. Back in the browser, open the ProxMox host Shell
27. Run the following command to import the raw disk, modify the .raw file name and VM ID noted earlier
# import the raw disk
# usage:
# qm importdisk ≪VM ID≫ /root/≪source disk file≫.raw ≪destination storage pool name≫
28. Once the disk import completes, select the target VM from the left navigation menu ≫ Hardware
29. Double click the Unused Disk ≫ Click the Add button
30. Select Options from the left navigation sub-menu
31. Double click Boot Order
32. Check the Enabled box next to the hard disk
33. Drag the Hard disk up in the boot order as needed, typically below the CD-ROM device
34. Click OK
35. Click the Start button in the top right of the screen
36. Click the Console link to watch the boot process
### Connect with me and others ###
01. On the VirtualBox host, launch VirtualBox
02. Right click the VM to convert ≫ Settings
03. Select Storage from the left navigation
04. Click the virtual hard disk and copy the Location value for the full path of the disk to the clipboard
06. Enter the following commands in the command prompt
# change directory to VirtualBox installation
cd %programfiles%\Oracle\VirtualBox
# convert the .vdi to raw .img
08. Click the Create VM button at the top right
09. On the General tab, enter a VM Name and note the VM ID generated ≫ click Next
10. On the OS tab select Do not use any media and set the Guest OS ≫ click Next
11. On the System tab click Next
12. On the Hard Disk tab set the Disk size to 0.001 ≫ click Next
13. On the CPU tab set the number of CPUs ≫ click Next
14. On the Memory tab set the amount of memory to allocate in MiB ≫ click Next
15. On the Network tab click Next
16. On the Confirm tab review the settings and click Finish
17. Select the newly created VM from the left navigation panel ≫ Hardware
18. Click the Hard Disk to select it
19. Click the Detach button to detach the hard disk from the VM
20. Click the Unused disk
21. Click the Remove button to permanently delete it
23. Extract WinSCP and run the executable
24. Connect to the ProxMox IP server via WinSCP
25. Copy the VirtualBox created .raw file to a location on the ProxMox server that has enough free disk space, /root for example
26. Back in the browser, open the ProxMox host Shell
27. Run the following command to import the raw disk, modify the .raw file name and VM ID noted earlier
# import the raw disk
# usage:
# qm importdisk ≪VM ID≫ /root/≪source disk file≫.raw ≪destination storage pool name≫
28. Once the disk import completes, select the target VM from the left navigation menu ≫ Hardware
29. Double click the Unused Disk ≫ Click the Add button
30. Select Options from the left navigation sub-menu
31. Double click Boot Order
32. Check the Enabled box next to the hard disk
33. Drag the Hard disk up in the boot order as needed, typically below the CD-ROM device
34. Click OK
35. Click the Start button in the top right of the screen
36. Click the Console link to watch the boot process
### Connect with me and others ###
Комментарии