1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- <!DOCTYPE html>
- <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>Convert VirtualBox VM to ProxMox VE</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta charset="UTF-8">
- <meta name="keywords" content="Proxmox VE,VirtualBox,Virtual Machines,VMs,Conversion,Hypervisor,How To,Tutorial,i12bretro">
- <meta name="author" content="i12bretro">
- <meta name="description" content="Convert VirtualBox VM to ProxMox VE">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="revised" content="05/24/2022 12:46:50 PM" />
- <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
- <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
- <script type="text/javascript" src="includes/js/steps.js"></script>
- <link href="css/steps.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="gridContainer">
- <div class="topMargin"></div>
- <div id="listName" class="topMargin">
- <h1>Convert VirtualBox VM to ProxMox VE</h1>
- </div>
- <div></div>
- <div id="content">
- <ol>
- <li>On the VirtualBox host, launch VirtualBox</li>
- <li>Right click the VM to convert > Settings</li>
- <li>Select Storage from the left navigation</li>
- <li>Click the virtual hard disk and copy the Location value for the full path of the disk to the clipboard</li>
- <li>Right click on the Start menu > Run > type cmd.exe > Press Enter</li>
- <li>Enter the following commands in the command prompt
- <div class="codeBlock"># change directory to VirtualBox installation<br />
- cd %programfiles%\Oracle\VirtualBox<br />
- # convert the .vdi to raw .img<br />
- VBoxManage clonehd --format RAW "pasted\full\path\to.vdi" "pasted\full\path\to.raw"</div>
- </li>
- <li>Once the .vdi to .raw conversion completes, open a web browser and navigate to the ProxMox web UI https://ProxMoxDNSorIP:8006/</li>
- <li>Click the Create VM button at the top right</li>
- <li>On the General tab, enter a VM Name and note the VM ID generated > click Next</li>
- <li>On the OS tab select Do not use any media and set the Guest OS > click Next</li>
- <li>On the System tab click Next</li>
- <li>On the Hard Disk tab set the Disk size to 0.001 > click Next</li>
- <li>On the CPU tab set the number of CPUs > click Next</li>
- <li>On the Memory tab set the amount of memory to allocate in MiB > click Next</li>
- <li>On the Network tab click Next</li>
- <li>On the Confirm tab review the settings and click Finish</li>
- <li>Select the newly created VM from the left navigation panel > Hardware</li>
- <li>Click the Hard Disk to select it</li>
- <li>Click the Detach button to detach the hard disk from the VM</li>
- <li>Click the Unused disk</li>
- <li>Click the Remove button to permanently delete it</li>
- <li><label for="cb_li_27606_33">Download WinSCP </label><label for="cb_li_27606_33"><a href="https://winscp.net/eng/downloads.php" target="_blank">Download</a></label></li>
- <li><label for="cb_li_178035_34">Extract WinSCP and run the executable</label></li>
- <li><label for="cb_li_764421_35">Connect to the ProxMox IP server via WinSCP</label></li>
- <li><label for="cb_li_542634_36">Copy the VirtualBox created .raw file to a location on the ProxMox server that has enough free disk space, /root for example</label></li>
- <li>Back in the browser, open the ProxMox host Shell</li>
- <li>Run the following command to import the raw disk, modify the .raw file name and VM ID noted earlier
- <div class="codeBlock"># import the raw disk<br />
- # usage:<br />
- # qm importdisk <VM ID> /root/<source disk file>.raw <destination storage pool name><br />
- qm importdisk 100 vbox.raw HDD_500GB --format qcow2</div>
- </li>
- <li>Once the disk import completes, select the target VM from the left navigation menu > Hardware</li>
- <li>Double click the Unused Disk > Click the Add button</li>
- <li>Select Options from the left navigation sub-menu</li>
- <li>Double click Boot Order</li>
- <li>Check the Enabled box next to the hard disk</li>
- <li>Drag the Hard disk up in the boot order as needed, typically below the CD-ROM device</li>
- <li>Click OK</li>
- <li>Click the Start button in the top right of the screen</li>
- <li>Click the Console link to watch the boot process</li>
- </ol>
- </div>
- </div>
- </body>
- </html>
-
|