Booting Raspberry Pi OS using Raspberry Pi Imager
By Patineboot

I walked on Aoyama St. and found out the shining Tricker’s brand.
Abstract
- Burning Raspberry Pi OS Image
- Login on Raspberry Pi OS
- Configure Raspberry Pi OS
- Misc
Burning Raspberry Pi OS Image
I usually use Raspberry Pi OS Imager to easily and usefully burn a Raspberry Pi OS image. The Raspberry Pi Foundation recommends burning a Raspberry Pi OS image to a microSD card with Raspberry Pi Imager.
-
Burn Raspberry Pi Image with Raspberry Pi Imager
Get Raspberry Pi Imager on the Raspberry Pi OS site.
Launch Raspberry Pi Imager, select ‘Raspberry Pi OS (32bit)’ on the Operating System menu. Select ‘Raspberry Pi OS(64bit)’ if the stable version is released.
Burn the Image to a microSD card with the WRITE button.
Raspberry Pi Imager v1.6.2
-
Advanced Options on Raspberry Pi Imager
Preconfigure Raspberry Pi OS on ‘Advanced options’ with pressing control, shift, and ‘X’ keys simultaneously.
Advanced options with pressing CTRL + SHIFT + ‘X’ key.
Raspberry Pi Imager prepares the following advanced options:
- Disable overscan
- Set hostname
- Enable SSH
- Configure wifi
- Set locale settings
I customize ‘hostname,’ ‘ssh,’ ‘wifi,’ ’locale settings’ on the advanced options.
Login Raspberry Pi OS via SSH
The procedure to login Raspberry Pi OS is:
- Insert the microSD card in Raspberry Pi
- Connect a charger to Raspberry Pi with a power supply cable.
- Login Raspberry Pi OS via ssh with WiFi.
Use the following default values with logging in.
Attribute | Default value |
---|---|
Hostname | raspberrypi |
User ID | pi |
Password | raspberry |
Note: Add the .local postfix if solving Hostname with multicast DNS.
Configure Raspberry Pi OS
Make I2C active for various HATs with the raspi-config
command.
There is the I2C item on the hierarchical menu on raspi-config
.
- 3. Interface Options
- P5. I2C
Older Methods
There are the older methods not to use Advanced Options on Raspberry Pi Imager.
We are Not Used now.
Setup OTG
OTG simulates the TCP/IP protocol over the USB protocol of Raspberry Pi and macOS with a USB cable.
Filename | Configuration |
---|---|
ssh | Create an empty file named ssh on the root directory (/) in the boot partition. |
config.txt | Add the ‘dtoverlay=dwc2’ word next to the last line on the config.txt file. |
cmdline.txt | Add the ‘modules-load=dwc2,g_ether’ word between the ‘rootwait’ word and the ‘quiet’ word on cmdline.txt |
The way of the configurations.
# move on the root directory on the boot partition
cd /Volumes/boot
# Create a empty _ssh_ file.
touch ssh
# Add the _config.txt_ file.
echo dtoverlay=dwc2 >> config.txt
# Modify the _cmdline.txt_ file with your editor.
# added the ‘modules-load=dwc2,g_ether’ word between the ‘rootwait’ word and the ‘quiet’ word
<omitted> rootwait modules-load=dwc2,g_ether quiet <omitted>
References:
- Raspberry Pi ZeroにUSB経由でSSH接続する
https://qiita.com/gorohash/items/5e5fb1c9829d82232ed0 - cmdline.txt - Pastebin.com
https://pastebin.com/WygSaptQ
Configure Raspberry Pi OS with raspi-config
Run the raspi-config
command, and configure Raspberry Pi OS with the GUI on raspi-config
.

Main menu on raspi-config
GUI
-
Change the options of the country to Japan.
- 4. Localisation Options
- I2 Change Time Zone
- I4 Change WLAN Country
- 4. Localisation Options
-
Set up WiFi option to join your home network.
Configure SSID and encryption key to your Wireless LAN.
- 2. Network Options
-
Change the pi user’s password and the hostname from the default values.
- 1. Change User Password
- S3. Password
- S4. Hostname
- 1. Change User Password
-
Enable SSH over WiFi and I2C for an Infrared HAT
- 3. Interface Options
- P2. SSH
- P5. I2C
- 3. Interface Options
Disable WiFi and Bluetooth
Add the descriptions to the end of the /boot/config.txt file to disable loading the wireless drivers.
Type | Description |
---|---|
WiFi | dtoverlay=disable-wifi |
Bluetooth | dtoverlay=disable-bt |
The hciuart service in Raspberry Pi OS depends on the Bluetooth driver. Then disable hciuart if disabling loading the Bluetooth driver.
sudo systemctl disable hciuart
Environment
- Hardware
- Raspberry Pi 4 Memory 2GB model
- Software
- Raspberry Pi OS 64 bit Bullseye
- Raspberry Pi OS 32 bit Buster