0712.html 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Installing and Running a VM on Pimox [Proxmox for ARM]</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="AARCH64,ARM,ARM Architecture,ARM CPU,ARM Processor,ARM64,ARMv8,Install Guide,Home Lab,Hypervisor,Single Board Computer,SBC,Debian,How To Install Proxmox,Proxmox Host,Proxmox On Raspberry Pi,Proxmox Step By Step,Proxmox Tutorial,Proxmox VE,Raspberry Pi,Raspberry Pi 4,RPi,Virtualization,Virtual Machine,VM,Ubuntu,SOC,System On A Chip,Proxmox,Pimox,Node,Linux,How To Install Proxmox On A Raspberry Pi,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Installing and Running a VM on Pimox [Proxmox for ARM]">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="03/28/2022 11:32:50 AM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Installing and Running a VM on Pimox [Proxmox for ARM]</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>Creating the VM</h2>
  26. <ol>
  27. <li>Plug a USB 3 drive into the Raspberry Pi to use for VM storage
  28. <p>DISCLAIMER: The drive will be formatted, backup any important data</p>
  29. </li>
  30. <li>Open a web browser &gt; Navigate to the Pimox web UI and login</li>
  31. <li>Select the Pimox node &gt; Expand Disks &gt; Click ZFS</li>
  32. <li>Click the Create: ZFS button</li>
  33. <li>Give the new ZFS storage a Name and select the USB 3 drive from the devices displayed &gt; Click Create</li>
  34. <li>Select the local storage from the left navigation pane &gt; ISO Images &gt; Download from URL</li>
  35. <li>Paste the download URL for Ubuntu Server <a href="https://cdimage.ubuntu.com/releases/20.04/release/ubuntu-20.04.4-live-server-arm64.iso" target="_blank">Download</a> &gt; Click Query URL &gt; Click Download</li>
  36. <li>Right click the Pimox node name &gt; Create VM</li>
  37. <li>Give the VM a unique VMID and Name&gt; Click Next</li>
  38. <li>On the OS tab select Do not use any media and set the Guest OS Type to Linux and Version to 5.x - 2.6 Kernel &gt; Click Next</li>
  39. <li>On the System tab set the BIOS for OVMF (UEFI) and the EFI Storage &gt; Click Next</li>
  40. <li>On the Hard Disk tab set the Storage device to USB3 and set the Disk size to 16 (adjust as needed) &gt; Click Next</li>
  41. <li>On the CPU tab, set the Type to host and Cores to 2 (adjust as needed) &gt; Click Next</li>
  42. <li>On the Memory tab, set the Memory to 1024 (adjust as needed) &gt; Click Next</li>
  43. <li>Leave the defaults on the Network tab &gt; Next</li>
  44. <li>Review the summary and click Finish</li>
  45. <li>Select the new VM from the left navigation menu &gt; Hardware</li>
  46. <li>Click on the CD/DVD Drive to select it &gt; Click Remove at the top of the main content area &gt; Click Yes to confirm</li>
  47. <li>Click Add &gt; Select CD/DVD Drive &gt; Set the Bus/Device to SCSI &gt; Select the local storage device &gt; Select the uploaded Ubuntu .iso &gt; Click Create</li>
  48. <li>Click Add &gt; Serial Port &gt; Leave the Port Number 0 &gt; Click Add</li>
  49. <li>Double click Display to edit it &gt; Set the Graphic card value to Serial terminal 0 &gt; Click OK</li>
  50. <li>Select Options from the left navigation sub-menu</li>
  51. <li>Double click Boot order to edit it &gt; Drag/drop the scsi2 device (where the Ubuntu iso is attached) to the top of the list &gt; Click OK</li>
  52. <li>Click the Start button in the top right of the screen</li>
  53. <li>Click the Console dropdown at the top right of the screen &gt; Select xterm.js</li>
  54. <li>Wait a moment for the serial console to initialize</li>
  55. <li>Follow the prompts to complete the OS installation</li>
  56. <li>After the installation completes, select the Shutdown dropdown at the top of the screen &gt; Stop</li>
  57. <li>Select Hardware from the left sub-navigation menu</li>
  58. <li>Double click the CD/DVD Drive to edit it &gt; Select Do not use any media &gt; Click OK</li>
  59. <li>Click Start at the top right of the screen to start the VM again</li>
  60. <li>Reconnect to the xterm.js console</li>
  61. <li>The GRUB menu should boot and start loading Ubuntu Server</li>
  62. </ol>
  63. <h2>Adding a Desktop Environment</h2>
  64. <ol>
  65. <li>Login once Ubuntu Server has booted</li>
  66. <li>Run the following commands to install lxce
  67. <div class="codeBlock CMD"># update software repositories<br />
  68. sudo apt update<br />
  69. # install xfce4<br />
  70. # When prompted, press Enter to configure a display manager &gt; Select lightdm &gt; Press Enter<br />
  71. sudo apt install xfce4 -y<br />
  72. # shutdown the VM<br />
  73. sudo shutdown now</div>
  74. </li>
  75. <li>Back in the Pimox UI, navigate back to the VM Hardware settings</li>
  76. <li>Double click Display to edit it &gt; Set the Graphic card value to Default &gt; Click OK</li>
  77. <li>Click the Serial Port (serial0) to select it &gt; Click Remove &gt; Yes</li>
  78. <li>Click the Start button in the top right of the screen</li>
  79. <li>Click the normal Console display</li>
  80. <li>Log back in at the xfce login screen</li>
  81. <li>Welcome to ARM64 based Ubuntu Server running on Proxmox on your Raspberry Pi</li>
  82. </ol>
  83. </div>
  84. </div>
  85. </body>
  86. </html>