Debian 12

Download Debian 11.4 unofficial non-free from here

I prefer the Mate Desktop Environment

Burning ISO to a SD card or USB Stick

Open a terminal (Ctrl Alt t) and check what devices are installed before plugging in the SD card or USB stick.

sudo fdisk -l
Debian 11 Fdisk

Plug in the SD card or USB stick and run fdisk again to find out the device name of the SD card or USB stick.

sudo fdisk -l
Debian 11 Fdisk

In my case you can see the Micro SD card is /dev/sda

Open a terminal in the directory where the ISO file is and list the files and get the path using the following

cd Downloads
pwd
ls -1
Debian 11 Burn 1

Now burn the ISO to the SD card or USB stick using dd.

sudo dd if=full/path/to/iso/file of=/dev/sd? bs=8192 status=progress
sudo dd if=/home/john/Downloads/debian-live-11.4.0-amd64-mate+nonfree.iso of=/dev/sda bs=8192 status=progress
Debian 11 Burn 2

When dd is done you get this

Debian 11 Burn 3

Boot up to the SD card or USB stick and select Graphical Install.

DO NOT enter a root password, just pass it by. If you do you can’t use the sudo command to do root things.

Fix all the annoying things Debian programmers have given us before upgrading to Debian 12 Debian 11 Fixes.

Boot up to 11.4 then open a terminal (Ctrl Alt t) and edit the /etc/apt/sources.list

sudo nano /etc/apt/sources.list

Delete everything and add the following two lines

deb http://deb.debian.org/debian/ bookworm main non-free contrib
deb-src http://deb.debian.org/debian/ bookworm main non-free contrib

Ctrl x, then y, then Enter to save

sources.list Settings

Open a terminal (Ctrl Alt t) and update the repository

sudo apt update

Install Debian 12

sudo apt full-upgrade

A couple of blue screens will popup just accept the default by pressing Enter.

Clean up

sudo apt update
sudo apt autoremove
sudo apt clean

Reboot the PC