Fri. Mar 24th, 2023

If you are building on a VM please ensure you are using a valid ISO
file to install from. Usually you will want one of the OS ISOs. If this
is a RPi Device use RPi imager to burn to a SDCard.

1 – Put the OS on an SD Card and insert in to the device.
Remove the SD Card and plug it back in we have some things we need to do before we boot the pi with it.

Open File Explorer

Open cmdline.txt with a text editor
The Above can be copied and pasted into this file I always put it at the start of the line:

ip= cgroup_enable=cpuset cgroup_enable=memory cgroup_memory=1 swapaccount=1

Next we need to open the config.txt

sudo nano -c config.txt

### This will disable WiFi and Bluetooth ###dtoverlay=disable-wifi

# dtparam=audio=on

### Add on the last line after the [all] section This makes sure 64bit is used ###

2 – Once booted ssh into the VM/Device (ssh user@ip_address_here)
3 – sudo apt update && sudo apt -y full-upgrade
4 – sudo timedatectl set-timezone America/New_York

Install Virtualmin on the RPi4 w/Buster

You can install Virtualmin on a Raspberry Pi with just a simple modification in the install script. I have my Raspberry Pi 4 installed with “RaspberryPi OS Buster” and it is based on Debian Linux 10 using the install script.

What you need to do is:

  1. wget
  2. sudo nano
  3. Find the text “get_distro”
  4. Add in os_type=”debian” after get_distro

log_debug “Operating system name: $os_real”
log_debug “Operating system version: $os_version”
log_debug “Operating system type: $os_type”
log_debug “Operating system major: $os_major_version”

What this does is, it will force the script to recognize the host
as a debian operating system.

Execute the script … It should install without any issues.

  1. chmod 755
  2. ./

wait for the script to finish then:
goto https://ip_address_here:10000
and login with your account.
I will not take credit for this the individual below gets all the credit.
This is per enzochzng on the Raspberry Pi forums
Post is here ->

By Michael Cooper

Senior Systems Engineer | 30 years in IT | RPi Hobbiest

Leave a Reply

Your email address will not be published. Required fields are marked *