It's the age-old chicken-and-egg conundrum, which Raspberry
Pi has now solved.
You've always had to use another computer to run Raspberry PiImager, or anything similar, in order to flash your OS system onto an SD card when you buy a new Raspberry Pi up until now. But, if you don't have another computer, how do you get the operating system onto an SD card in the first place?
A beta version of the Raspberry Pi bootloader with network
installation is now available, the new Network Install functionality allows you
to download the Raspberry Pi Imager programme from the internet and install it
directly on a Raspberry Pi 4, or a Raspberry Pi 400, using an Ethernet cable.
The Raspberry Pi Imager application, which runs in memory on your Raspberry Pi,
may then be used to flash the operating system onto a blank SD Card or USB
device in the same way as normal.
What is the best way to use the network installer?
You'll need to install a beta
version of the bootloader before you can test out the network installer.
“Raspberry Pi will start
shipping Raspberry Pi boards with the new network bootloader pre-installed from
the manufacturer, eliminating the need for this step.”
The new beta bootloader is being installed.
The simplest approach to
upgrade the bootloader on your Raspberry Pi 4 or 400 is to use Raspberry Pi
Imager to copy the appropriate software onto an SD card, either on your
Raspberry Pi or on another computer. You'll need a blank SD card and a USB to
SD card adaptor if you're using a Raspberry Pi or another computer without an
SD card slot.
You should be aware that any existing data on the SD card you use to upgrade your Raspberry Pi's bootloader will be erased, so you shouldn't use the SD card you're presently using with your Raspberry Pi.
Click the "Choose OS"
button in the Imager programme and scroll down the "Operating System"
list in the pop-up window. Then choose "Misc utility images," then
"Beta Test Bootloader."
After that, you must choose the
boot order. All of the options are the same, but the boot sequence will be
different. Unless there's a good reason not to, you should generally choose
"SD Card Boot."
After that, pick your media and
burn the upgraded bootloader to your SD Card according to the standard steps.
After the SD card has done burning, turn off the Raspberry Pi and remove the existing SD card to a secure location. Restart the Raspberry Pi and insert the card you recently flashed using the Imager programme. The board LED will flicker periodically, and the screen will turn green, indicating that the new beta bootloader was successfully flashed.
If you ever wish to return your
bootloader to the "Release" version, repeat the procedures above, but
this time pick the top "Bootloader" option rather than the "Beta
Test Bootloader" option.
Remove your bootloader update
SD card and power off and on your board again.
Putting network boot to the test
Everything should be back to normal now that you've upgraded the
bootloader.
The bootloader looks for
software to load when a Raspberry Pi is turned on. It looks for an SD card
first, then a USB flash drive, and so on. It will keep looping until it
discovers a software to utilise. You'll see a diagnostics display on the screen
after a few seconds, showing you what it's doing.
If you insert your original SD
card (the one you were using before everything went wrong), your Raspberry Pi
should boot back into the operating system normally.
This is still the case. The
Raspberry Pi now checks for a connected keyboard as well.
You'll notice something
different if you launch your Raspberry Pi without an SD Card in the slot, or
with a blank SD Card, and if you have a keyboard connected.
The new network install page
will appear if you have a keyboard attached (which is always the case with the
Raspberry Pi 400) and the Raspberry Pi is unable to detect an operating system.
Your Raspberry Pi is still
hunting for a functional operating system in the background. However, you may
begin the network installation procedure by pressing and holding the Shift key
for three seconds. When prompted, press Space to confirm that you wish to
proceed, and it should request you to input an Ethernet cable.
Rather of connecting your
Raspberry Pi to your wireless network, you'll need to manually connect it to
your router using an Ethernet connection. An Ethernet cable with male RJ45
connectors on both ends is required. Most household routers have Ethernet cable
connections on the back, so put one end of the cable into the back of the
router and the other end into your Raspberry Pi.
It should begin downloading
Raspberry Pi Imager once it detects a cable has been attached. If the download
fails, you may try again by repeating the process.
It should eventually launch the
Imager application, which will allow you to install a whole operating system
onto a fresh blank SD card or USB stick.
If you haven't done so earlier,
now is the time to put a new, blank SD card into the Raspberry Pi's SD card
port. Pi Imager will allow you to download a copy of the operating system to
your SD card and flash it directly from the internet.
You shouldn't see the network
install screen on startup now that you've installed software. You just need to
remove any bootable discs if you wish to run it. Once Raspberry Pi Imager is up
and running, you may re-insert them. However, be careful not to overwrite any
functional drives you wish to preserve!
The network install beta
documentation may be found here.
Posts You May like:
- The Raspberry Pi Foundation has Announced the Availability of a New Method for Installing an Operating System
- The 64-bit Raspberry Pi OS is now available for users of the Raspberry Pi 3 and Pi 4
- How to Install Java on Raspberry Pi In Easy Steps
- StackyPi - Based on Raspberry Pi RP2040 MCU
- The RP2040 StackyPi is a Pi Zero-sized Raspberry Pi that supports HATs.
- How to Block Ads with Pi-hole on a Raspberry Pi Zero 2 W
- Uninterruptible Power Supply UPS HAT For Raspberry Pi
- A hidden speed boost and a 64-bit option are included in the new #RaspberryPi #OS
- Using the On-Board Bluetooth on the Raspberry Pi 4 for Communication
- #ArduinoIDE 2.0 Release Candidate (RC)
- Armbian Linux on the Raspberry Pi 4: A First Look
- NeoPixel Christmas Tree Lights Controlled by a Raspberry Pi
- What Type of LoRa Modules are Available?
- Introducing The VisionFive V1 is a RISC-V Based Raspberry Pi Replacement - Available Soon
- Raspberry Pi Zero 2 W Overclocking - Boost Up To 1.2GHz, or even 1.4GHz
- The Arduino UNO Mini Limited Edition is Now Available
- Scan QR Codes with Raspberry Pi Pico
- Create Barcodes with Pure Python
- The New Version of Raspberry Pi OS, Debian "Bullseye" is Now Available.
- The Raspberry Pi Zero 2 W Arrives Six Years After The First Pi Zero
- Raspberry Pi 4 Has Been Given Vulkan 1.1 Compliance by Khronos
- The Raspberry Pi Build HAT - Complete Guide
- Raspberry Pi Officialy Announced Build HAT For Raspberry Pi
- Installing Android on a Raspberry Pi 4 with Google Play Store
- Pop OS Linux is Coming to Raspberry Pi and Other ARM Devices Soon
- The Raspberry Pi Foundation has Announced the Availability of a New Method for Installing an Operating System
- The 64-bit Raspberry Pi OS is now available for users of the Raspberry Pi 3 and Pi 4
- How to Install Java on Raspberry Pi In Easy Steps
- StackyPi - Based on Raspberry Pi RP2040 MCU
- The RP2040 StackyPi is a Pi Zero-sized Raspberry Pi that supports HATs.
- How to Block Ads with Pi-hole on a Raspberry Pi Zero 2 W
- Uninterruptible Power Supply UPS HAT For Raspberry Pi
- A hidden speed boost and a 64-bit option are included in the new #RaspberryPi #OS
- Using the On-Board Bluetooth on the Raspberry Pi 4 for Communication
- #ArduinoIDE 2.0 Release Candidate (RC)
- Armbian Linux on the Raspberry Pi 4: A First Look
- NeoPixel Christmas Tree Lights Controlled by a Raspberry Pi
- What Type of LoRa Modules are Available?
- Introducing The VisionFive V1 is a RISC-V Based Raspberry Pi Replacement - Available Soon
- Raspberry Pi Zero 2 W Overclocking - Boost Up To 1.2GHz, or even 1.4GHz
- The Arduino UNO Mini Limited Edition is Now Available
- Scan QR Codes with Raspberry Pi Pico
- Create Barcodes with Pure Python
- The New Version of Raspberry Pi OS, Debian "Bullseye" is Now Available.
- The Raspberry Pi Zero 2 W Arrives Six Years After The First Pi Zero
- Raspberry Pi 4 Has Been Given Vulkan 1.1 Compliance by Khronos
- The Raspberry Pi Build HAT - Complete Guide
- Raspberry Pi Officialy Announced Build HAT For Raspberry Pi
- Installing Android on a Raspberry Pi 4 with Google Play Store
- Pop OS Linux is Coming to Raspberry Pi and Other ARM Devices Soon