Skip to content

thebanri/headless-raspberry-pi-setup-with-usb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

Headless Raspberry Pi Setup With USB Boot

Installation Using an SD Card

First, you need to download the Raspberry Pi Imager program and install it on your Windows computer.
Once it’s installed, insert a USB drive or SD card with at least 8 GB of storage into your computer.

Next, open Raspberry Pi Imager, select your Raspberry Pi model, and then choose Raspberry Pi OS Lite for a faster installation.
(We choose the Lite version because we will only use the USB drive for installation purposes.
However, if you are installing directly from the USB drive, you can select the standard Raspberry Pi OS instead.)

image.png

After that, select the storage device you want to install the system on, click Next, and then choose Edit Settings.

image.png

In this section, fill in the required fields as shown below.

image.png

Then, go to the Services tab and enable the SSH option.

image.png

Make sure all the settings look like the example provided.
After that, click Save to confirm and start the installation.
Wait for the installation process to complete.

Once it’s done, remove the drive, insert it into your Raspberry Pi, and power on the device.
Wait about 1–2 minutes, then open the Command Prompt (CMD) on your Windows computer.

Type the following command:

ping raspi.local

If everything is working correctly, you should see an output similar to the example shown below.

image.png

After successfully completing these steps,

ssh -X kullaniciadi@raspi.local

type the next command in the Command Prompt and enter the password you created.

image.png

Then, run the following commands:

sudo apt update
sudo apt upgrade 
sudo apt install rpi-imager libglx0 libegl1 libopengl0

rpi-imager

When prompted, repeat the installation process — but this time, select the standard Raspberry Pi OS and choose your SD card as the installation target.

Once the installation is complete, remove the USB drive, connect to your Raspberry Pi again via SSH, and finish the setup.

About

Headless Raspberry Pi Setup With USB Boot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published