There are several helper programs to get an OS on a disk for booting an IT Device. We will not go in to all the details, hopefully you understand what it is to burn an OS to disk for use. This is the process for using RPi imager to burn pretty much any OS for use. Remember I am using this as a server the desktop is similar but you won’t use the server settings at the end of this article.

This is the Imager default screen when opened.

Use RPi Imager to burn the os to the SD Card:

Choose your device, I usually use No Filter
Next under OS Choose Erase > then Storage > make sure it’s the SD Card > then Next
A successfully erased storage device looks like this (the above image). Click continue.
Choose your device, Use no filter if it’s not a Raspberry Pi.
You can use what you like, I am using Armbian this time.
I am going to build a server so Armbian Trixie minimal.
Choose the proper disk > mine is the Kingston > Then click Next
Choose Edit Settings
Give the device a hostname.
Set the username and password for your regular user account. This will be your ssh login also.
I don’t use wireless on servers, I skip it. Choose local settings set it to your time zone.
Select Services tab. Select Enable SSH, this will start ssh with every reboot/boot.
Select Options and I don’t use Play Sound or Telemetry, I un-check those. Now click on the Save button.
Now click the YES button.
This is warning you that it will everything will be erased and the new OS and it’s settings will write to disk.
This will show you the progress of the OS install.
Click Continue

If you are using Raspberry Pi OS: This step is very important remove the SD Card wait about 3 to 5 seconds then put it back in to the system you used to burn it with.

Open File Explorer > Open the bootfs partition > look for cmdline.txt > Open it with your text editor of choice:

Open the highlighted file with your text editor.
It should like the screenshot above.

Use your text editor to open the cmdline.txt The below can be copied and pasted into this file I always put it at the start of the line:

ip=12.18.2.21::12.18.2.1:255.255.255.0:rpi4-k3s-w02:eth0:off cgroup_enable=cpuset cgroup_enable=memory cgroup_memory=1 swapaccount=1

It will look like this after you paste the line into it. Don;t be fooled this is one continuous line.

Next we need to open the config.txt, to turn off some things we don’t need to use with a server deployment.

sudo nano -c config.txt
### This will disable WiFi and Bluetooth ###
dtoverlay=disable-wifi
dtoverlay=disable-bt
# dtparam=audio=on
dtparam=audio=off
### Add on the last line after the [all] section This makes sure 64bit is used ###
arm_64bit=1

Please search the file and make sure not to duplicate anything in the file. If there is put a # in front of it to disable it.

note: Plug the SD Card back into the Pi and power it on. After it boots; SSH in to the Pi. Use the back arrow to get back to the article you were following if it was on this site.

Leave a Reply

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