Home Interests Raspberry Pi

How to Install or Upgrade to Raspbian Buster

howchoo   (467)
September 23, 2023
14 minutes

Share

You'll Need 3

What you'll need
Interests
Howchoo is reader-supported. As an Amazon Associate, we may earn a small affiliate commission at no cost to you when you buy through our links.
Posted in these interests:
pi • 92 guides
raspbian • 5 guides

Important: Raspbian has been replaced by Raspberry Pi OS!

How to Install Raspberry Pi OS on Your Raspberry Pi
Get the new official Raspberry Pi OS on your Pi.

Raspbian is a free Debian-based operating system optimized for Raspberry Pi hardware. “Buster” is development code name for Debian 10. In this guide we will download and install Raspbian Buster for use on the Raspberry Pi.

Or, if you’re already running Raspbian on your Pi, we’ll cover how to upgrade to Buster.

1 – Download the Buster image

You can find the Raspbian Buster download here. There are three options to choose from: Raspbian Buster with desktop and recommended softwareRaspbian Buster with desktopRaspbian Buster Lite. Any of these options will work for this guide.

Choose Raspbian Buster with desktop (or Raspbian Buster with desktop and recommended software) if you want to have access to the Raspbian GUI (graphical user interface); in other words, if you want to log in and be able to access a desktop, icons, etc. like you would with Windows or macOS.

Choose Raspbian Buster Lite if you’re comfortable working on the command line and your project doesn’t require a GUI. This option is typically for more advanced users, and it’s often a good choice as it’s a smaller distribution, uses less power, and fewer resources.

2 – Put your Micro SD card into your computer

You’ll likely need an adapter as most computers don’t include a Micro SD slot.

3 – Flash the disk image using Etcher

By far the easiest way to flash Raspbian Buster onto your SD card is to use Etcher.

To get started, download and open Etcher. Select the Raspbian disk image you just downloaded, select your Micro SD card, then click Flash. This will take a few minutes, but after Etcher finishes, you’re ready to start using Buster!

If you prefer a manual installation, keep reading.

4 – Flash the disk image on macOS (optional method)

With the Raspbian Buster image downloaded and your SD card inserted into your Mac, it’s time to flash the disk image.

Open Disk Utility and find your SD card

To open Disk Utility, in Finder navigate to Applications > Utilities > Disk Utility. If you’re SD card is inserted correctly, it should appear on the left hand side of the application.

Format the SD card

Click on the name of the SD card in the left column of Disk Utility.

Click the “Erase” button.

Choose a name for the card (any name will do as long as you can remember it), then choose MS-DOS (FAT) for the format.

Click Erase to complete the process.

Determine the mount point

Using the df command (in Terminal) we’re going to determine the mount point.

Type:

df -h

In the output, under the Mounted on column look for the name of your SD card. I named my BUSTER so I’m looking for /Volumes/BUSTER.

Then take note of the filesystem name in the first column. Mine is /dev/disk2s1. This is actually the partition name, but what we’re really concerned with is the device name which is disk2. Copy this device name.

Unmount the volume

For this step you can use either Disk Utility or Finder. In either case look in the left column for the name of your SD card, and click the eject symbol.

Locate the Raspbian Buster disk image

By default, your disk image should be in your Downloads folder. We’re going to use Terminal to find the disk image, unzip, and get the name of the img.

cd ~/Downloads
ls -lha | grep -i buster

You should see output like this:

[Downloads]$ ls -lha | grep -i buster
-rw-r--r--@   1 tyler  staff   346M Nov  8 14:51 2019-06-22-raspbian-buster-lite.zip

Now unzip:

unzip 2019-06-22-raspbian-buster-lite.zip

This will create a new file called 2019-06-22-raspbian-buster-lite.img.

Flash the disk image

Still in Terminal, type:

sudo dd bs=1m if=DISK_IMAGE_NAME of=DEVICE_NAME

Make sure to replace the values for DISK_IMAGE_NAME and DEVICE_NAME. Mine looks like this:

sudo dd bs=1m if=2019-06-22-raspbian-buster-lite.img of=/dev/rdisk2

Enter your password, and wait. After the process completes, you’re done!

Note: You may have noticed that we’re using rdisk2 instead of disk2. You can actually use either, but rdisk2 is significantly faster.

5 – Flash the disk image on Windows (optional method)

Format the SD card

Open Windows Explorer and find your SD card. Right click on the icon and click Format…. Make sure Fat 32 (default) is selected and hit enter.

Download and launch the Win32 Disk Manager

Go here and download the app called Win32 Disk Imager. After downloading the program, click to uncompress the files, and then click Win32DiskImager.exe to launch.

Flash the SD card

In the Win32 Disk Imager, click the blue folder icon and locate the Buster image you downloaded. Then in the Device box make sure the drive letter for your SD card is selected.

Click the Write button to begin.

6 – Boot your Pi!

At this point, you’re ready to insert the newly flashed SD card into your Pi and boot up!

Keep in mind, if you’re using the Lite version and planning to go headless (without a monitor), you’ll want to configure Wi-Fi and enable SSH before continuing.

Enjoy Buster!

7 – Upgrade to Buster

If you’re already running Raspbian (presumably “Stretch”) on your Raspberry Pi, you can upgrade without having to go through the steps listed above.

I recommend backing up your Raspberry Pi’s SD card first from Windows or Mac since some of your applications might not yet work on Buster.

How to Back Up a Raspberry Pi SD Card in Windows
Create a Pi backup using Windows.

How to Back Up and Restore Your Raspberry Pi SD Card on Mac
Easily backup, restore, or clone your SD card!

To upgrade to Raspbian Buster, run the following command:

grep -rl stretch /etc/apt/ | sudo xargs sed -i 's/stretch/buster/g'

Once that finishes running, run the following command:

sudo apt update && sudo apt dist-upgrade

Finally, reboot your Pi:

sudo reboot

8 – Start using Buster

You’re all done! Learn more about the latest features in Raspbian Buster.

NEXT UP

How to Run a Minecraft Server on the Raspberry Pi

A whole world trapped inside your Pi.
howchoo   (467)
December 7, 2023

There are several ways to go about running a Minecraft server on the Raspberry Pi. In this guide, I’ll cover how to install Nukkit—a cross-platform Minecraft server that’s super easy to set up on the Raspberry Pi. This server should work with PCs, consoles, and tablets running Minecraft 1.14. I’ll be using a Raspberry Pi

Continue Reading

howchoo

 467 guides

Introducing Howchoo, an enigmatic author whose unique pen name reflects their boundless curiosity and limitless creativity. Mysterious and multifaceted, Howchoo has emerged as a captivating storyteller, leaving readers mesmerized by the uncharted realms they craft with their words. With an insatiable appetite for knowledge and a love for exploration, Howchoo's writing transcends conventional genres, blurring the lines between fantasy, science fiction, and the surreal. Their narratives are a kaleidoscope of ideas, weaving together intricate plots, unforgettable characters, and thought-provoking themes that challenge the boundaries of imagination.

Discover interesting things!

Explore Howchoo's most popular interests.

Explore