All the tool download links mentioned below are in the read more link at the bottom left of the article.
## 1. Format the MicroSD Card
Be careful not to be tempted by cheap prices; it is said that 40% of sandisk cards on the market are fake, so it is best to buy from official stores. For more information on choosing a microSD card, please click the read more link at the bottom left; I won’t elaborate here.
You can use SD Card Formatter to format it.
## 2. Burn the Image
Method 1: Use the official Raspberry Pi Imager.
Method 2: Use third-party software like Win32DiskImage and download the image yourself.
## 3-1. If you have a monitor: connect the monitor.
Note that monitors generally support multiple ports; select the correct port you are using. For connection issues with other displays, refer to the read more link at the bottom left.
# 3-2. If you do not have a monitor: you can install in headless mode.
Insert the microSD card and create a wpa_supplicant.conf file in the boot directory:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdevupdate_config=1country=<Insert 2 letter ISO 3166-1 country code here>
network={ scan_ssid=1 ssid="<Name of your wireless LAN>" psk="<Password for your wireless LAN>" proto=RSN key_mgmt=WPA-PSK pairwise=CCMP auth_alg=OPEN}
Note: If you can’t connect to 5G WiFi, it is mostly due to the country code not being set.
And enabling SSH is very simple; just create an empty ssh file.
The above is for headless mode on a computer, and you can also install Raspberry Pi in headless mode using a phone that supports OTG. The specific method can be found in the instructions at the end of the article, and a video demonstration will be released later.
-
ssh
-
VNC
## 5. Best Practice: Backup the Image
After you have made various settings, you definitely wouldn’t want to lose all your hard work due to a faulty SD card, so backing up in time is a good habit:
Insert the SD card, open Win32 Disk Imager in administrator mode, select the save location, and click read to back it up.
This article is just a quick start guide, and the article cannot be updated after publishing. More Raspberry Pi usage and troubleshooting will be continuously updated on my personal website. Please click the read more link at the bottom left.