Close Menu
    What's Hot

    How to Auto Start a Program on Raspberry Pi? (4 Ways)

    8 September، 2024

    List of Best Hacking Software For Windows, Linux, and Mac OS X

    7 September، 2024

    The rpm command

    20 December، 2022

    Copy virtual machine to the new host

    20 December، 2022
    Facebook X (Twitter) Instagram
    Facebook X (Twitter) Instagram
    keepuptechnologykeepuptechnology
    • Home
      • Linux
      • Network
      • raspberry pi
      • mqtt
      • esp8266
    • Linux

      List of Best Hacking Software For Windows, Linux, and Mac OS X

      7 September، 2024

      The rpm command

      20 December، 2022

      Copy virtual machine to the new host

      20 December، 2022

      Remove password from Virtual Machine Manager on Linux

      20 December، 2022

      How to create FAT32 USB drive on Linux

      20 December، 2022
    • Network

      Wifi Pineapple Mark V on TP-Link MR3020

      10 September، 2022
    • IOT
      • esp8266
      • mqtt
      • raspberry pi
    • All
      1. IOT
      2. raspberry pi
      3. Linux
      4. View All

      How to Auto Start a Program on Raspberry Pi? (4 Ways)

      8 September، 2024

      How to Install VMWare ESXi on a Raspberry Pi? (Step by step)

      20 December، 2022

      Getting started with Proxmox on Raspberry Pi (Virtualization server)

      20 December، 2022

      How To Create USB Rubber Ducky With Raspberry Pi Pico

      24 November، 2022

      How to Auto Start a Program on Raspberry Pi? (4 Ways)

      8 September، 2024

      How to Install VMWare ESXi on a Raspberry Pi? (Step by step)

      20 December، 2022

      Getting started with Proxmox on Raspberry Pi (Virtualization server)

      20 December، 2022

      How To Create USB Rubber Ducky With Raspberry Pi Pico

      24 November، 2022

      List of Best Hacking Software For Windows, Linux, and Mac OS X

      7 September، 2024

      The rpm command

      20 December، 2022

      Copy virtual machine to the new host

      20 December، 2022

      Remove password from Virtual Machine Manager on Linux

      20 December، 2022
    • Contact Us
    Subscribe
    keepuptechnologykeepuptechnology
    Home » Getting started with Proxmox on Raspberry Pi (Virtualization server)

    Getting started with Proxmox on Raspberry Pi (Virtualization server)

    0
    By admin on 20 December، 2022 raspberry pi
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Every year, new Raspberry Pi models with more RAM and CPU power are released, and virtualization is now a frequent topic on this website. It wasn’t always like this. Today, we’ll talk about Proxmox, a method I haven’t previously covered for hosting virtual machines (VM) on Raspberry Pi.

    Although Proxmox is not directly available on the Raspberry Pi, we may nevertheless accomplish the same goals by using the Pimox project, which is a port of Proxmox for the Raspberry Pi. Once the prerequisites are installed, the installation is simple because an auto-installation script is available.

    On paper, it appears to be simple, but when I tried to implement the suggestions made on the GitHub page, I encountered a number of difficulties. I’ll offer you a step-by-step tutorial in this article so you don’t waste as much time as I did when I first tried it:-).

    I should add that even while I’ll demonstrate how to install this solution on your Raspberry Pi, that doesn’t necessarily indicate it’s a wise move. Although it functions, there are still a lot of problems because either drivers are either not present or the Raspberry Pi is not officially supported. Consider this an experiment and a proof-of-concept rather than an official recommendation.

    Introducing Proxmox

    If you are reading this, you are probably already familiar with Proxmox, but I will still start with a brief introduction for those who randomly came across this article.

    What is Proxmox?

    Proxmox is an open-source server management and server virtualization platform.
    That’s the official definition, but to clarify, it’s a solution you can use to host virtual machines and containers with a simple web interface.

    Personally, I’m used to VMWare ESXi (that you can also install on a Raspberry Pi) and a bit of Hyper-v, but I haven’t used Proxmox on production servers in my system administrator job. From what I have seen on the Raspberry Pi, it seems interesting.

    I already explained on this website how to use QEMU on Raspberry Pi, you can see it as an interface for it (I know that’s probably far too restrictive, but it’s a simple way to see it). QEMU is a great tool to create virtual machines, but as everything is done via command lines, it’s not the easiest solution for beginners. Proxmox can be a way to make this easier.

    What about Pimox?

    As with many other projects, Proxmox doesn’t support Raspberry Pi, so we have to use a workaround to install it on our devices. Pimox is a port of Proxmox created especially for the Raspberry Pi. It’s not perfect, but at least you can install Proxmox and get a taste of it.

    You can find the Pimox project on GitHub (here), with short documentation on how to install it. You can also use the “Issues” tab to ask questions if you experience any issues during the installation. I will try to make it easy for you to follow the instructions, but I haven’t fixed everything, so if you are serious about it, you might need their help.

    The project is active as there are recent updates, and they still answer questions.
    Now that the introductions are done, let’s move on to the installation part.

    How to install Proxmox on Raspberry Pi

    Here are the required steps to install Proxmox on a Raspberry Pi:

    • Install a compatible OS (Debian 11 or RPI OS 64 Bits).
    • Update the operating system with apt.
    • Download the Pimox script and edit it.
    • Run the installation script.

    Once done, a web interface will be available to configure everything else.

    Proxmox requirements: OS and Raspberry Pi

    The main requirement is to use a 64-bit operating system, on the GitHub page they give you two choices:

    • Debian Bullseye 64-bit (see here how to install it).
    • Raspberry Pi OS 64-bit, it’s a beta version (more details here).

    So, you can’t use the standard Raspberry Pi OS version that you probably already have on your Raspberry Pi. In fact, I would recommend starting with a new SD card, even if you use one of these systems because the installation will change many things on your system. I don’t want you to break your current installation, so start with a new one.

    I tried both. I didn’t have much success with Debian (the installation script never ends), and I think that using Raspberry Pi OS will be easier for most of you, so I’ll explain this version. If you really want to try with Debian, I’ll let you follow the steps on the GitHub page and come back there afterward.

    So, the first step is to install the 64-bit version of Raspberry Pi. It’s almost the same process as usual, but you have to download the latest image available here.

    I haven’t tried on another model, but using a Raspberry Pi 4 is also one of the requirements on the GitHub page, so make sure you use this model.

    Update your operating system

    Once your system is installed and configured correctly, you also need to update everything. You can use the welcome menu to do it, or type these two commands:
    sudo apt update
    sudo apt upgrade -y

    The script we’ll use later will probably do it, but it’s a good habit to get to secure your Raspberry Pi.

    As with any server project, try to use an Ethernet cable instead of the Wi-Fi connection, and you can also enable SSH and/or VNC to do the following steps from your computer if you want.

    Install Pimox using the installation script

    Nothing really new or complicated so far. Let’s move on to the Pimox installation steps:

    • Switch to root by using this command:
      sudo -s
    • Download the installation script with:
      curl https://raw.githubusercontent.com/pimox/pimox7/master/RPiOS64autoinstall.sh > RPiOS64autoinstall.sh
    • You’ll not edit the file to adjust a few things:
      nano RPiOS64autoinstall.sh
    • The beginning of the file looks like this:
    • You need to change the first uncommented lines to fit your network settings.
      You can keep the hostname, as I don’t think you have anything named like this if it’s your first installation.
      But then you need to change the RPI_IP and GATEWAY variables at list.
      For example, you can set the IP address to “192.168.1.100” (any free IP on your network, ideally outside the DHCP range) and the gateway to “192.168.1.1” (the IP of your router).
    • Once done, save and exit nano (CTRL+X).
    • Add the execution permission to the script and run it:
      chmod +x RPiOS64autoinstall.sh
      ./RPiOS64autoinstall.sh

    • It will ask you for a root password right away. Remember it, as you’ll need it later to access the web interface.
    • Then you shouldn’t have anything else to do. The installation script will do everything for you. If you are asked any question during the apt installation, keep the default values.

    Your Raspberry Pi will reboot at the end of the installation process, and Proxmox should be ready to use. I installed it on a Desktop version of Raspberry Pi and noticed that my wallpaper changed, and the network tool was removed, which is why I recommend using a dedicated SD card for this project.

    Are you a bit lost in the Linux command line? Check this article first, for the most important commands to remember, and a free downloadable cheat sheet so you can have the commands at your fingertips.

    First steps with Proxmox on Raspberry Pi

    Once installed, the fun part starts, as we can now access the Proxmox interface and try to create our first VM.
    To be honest, I haven’t had great success with it, so I’ll share everything I have learned, but there is probably something missing as it doesn’t work as expected. I’m a bit disappointed with the result I got.

    Proxmox web interface

    If everything has gone well until now, the Proxmox web interface should be available at https://IP:8006.
    The IP address is the one you set in the installation script, so for example https://192.168.1.100:8006.

    You’ll get an SSL error as we don’t have a certificate yet, but you can skip it (something like “Advanced” > “Proceed anyway” or similar depending on the browser you use).

    Then you’ll get a login form. The default credentials for Proxmox are:

    • Login: root
    • Password: the one you set at the beginning of the installation.

    Finally, you can access the usual interface of Proxmox. If you are familiar with it, you probably don’t need me anymore!

    You’ll get an error message saying you don’t have a valid subscription. Subscriptions are for support only, you don’t need one for a simple test.

    Upload ISO images on Proxmox

    I ran into many issues while trying to make it work. Now, I’ll share with you an issue that I fixed, so you can move forward. The first one was to upload ISO images with the interfaces.

    I started using Proxmox from my computer and uploading images from there (RPiX-PVE-X > Storage > ISO Images). But I got the error “Error 0 occurred while receiving the document.”. It means the upload has been cut before the end, but it doesn’t give any reason for it.
    I then tried from the Raspberry Pi directly, using the https://localhost:8006 address, it was way better. But I also got the same error from time to time.

    The best way to fix this error, it to move your downloaded ISO images directly to the Proxmox folder. So, for example:
    sudo mv yourimage.iso /var/lib/vz/template/iso/

    By doing this, the image will appear instantly in the web interface, and it works 100% of the time. I have no idea why it doesn’t work with the web interface, but using this command will fix it.

    Create a network bridge.

    Create a virtual machine with Proxmox

    But most issues occurred while creating a new virtual machine.
    The main issue is that you can’t use IDE peripherals. If you set your VM with an IDE drive or CD-ROM, it won’t start. Instead, you’ll get an error like “QEMU exited with code 1”.

    Here are the steps to create a virtual machine with Proxmox:

    • Click “Create VM” in the top-right corner.
    • Enter a name for your system:
    • Click next, and choose “Do not use any media”.
      It will create an IDE CD Drive by default, and we can’t use it.
    • You can keep the default values in the System tab, but make sure to choose SCSI for the hard disk.
      Adjust the size if needed (32 GB by default, it won’t work if you have a small SD card).
    • You can adjust a bit the CPU and memory settings, but remember you are on a Raspberry Pi, so you don’t have much available.
    • For the network, you can start without it, but if you want to use it, you need to create a network bridge first (see the previous section).

    Once done, your virtual machine will appear in the left menu, but there are a few more steps:

    • Pick the VM in the left menu, and go to “Hardware”.
    • Select the CD Drive line and remove it.
    • Then click Add > CD/DVD Drive. Choose SCSI and type 2 in the second field.
      You can then choose your ISO image to start with:

    You should now be able to start the virtual machine by clicking “Start” in the top-right corner when the VM is selected.
    But when you go to the “Console” section, you’ll probably get something like “Guest has not initialized the display (yet)”. That’s where I’m stuck.

    I have found that by switching the BIOS I used to OVMF (UEFI) instead of SeaBios, I have a display, but the VM doesn’t start as there is no UEFI drive.

    Final thoughts

    So yeah, that’s why I’m a bit disappointed with this experiment. Everything seems fine, but I can’t start any VM. I tried several operating systems, almost every option for Display and Bios, but nothing works.

    When possible, I would recommend installing Proxmox on a traditional PC, with Ubuntu, for example. I tested it in the linked article, and it’s way better.

    As a whole, Proxmox seems a good solution to install virtual machines on Raspberry Pi, as the installation process with VMWare ESXi was much more complicated. However, if Proxmox doesn’t work, VMWare ESXi is the only way for now. I’m sure there is a way to make it work, but anyway there aren’t many workarounds as the Raspberry Pi is not officially supported. So, as I told you in the beginning, take this as an experiment, it’s not intended to be used in production.

    If you are looking to run Raspberry Pi OS on a virtual machine, you can also do it directly on your computer, it’s much more stable. I explain everything in this tutorial.

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Telegram Email
    Previous ArticleHow To Check If MySQL Is Installed On Linux (Command line)
    Next Article How to Install VMWare ESXi on a Raspberry Pi? (Step by step)
    admin
    • Website

    Related Posts

    How to Auto Start a Program on Raspberry Pi? (4 Ways)

    8 September، 2024

    How to Install VMWare ESXi on a Raspberry Pi? (Step by step)

    20 December، 2022

    How To Create USB Rubber Ducky With Raspberry Pi Pico

    24 November، 2022
    Add A Comment
    Leave A Reply Cancel Reply

    Top Posts

    Subscribe to Updates

    Get the latest sports news from SportsSite about soccer, football and tennis.

    Keep Up Technologies. Articles and topics to keep up with computer science and technology
    We're social. Connect with us:

    Facebook X (Twitter) Instagram Pinterest YouTube
    Top Insights
    Get Informed

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    © 2025 Makrof. Designed by Makrof.

    Type above and press Enter to search. Press Esc to cancel.