Manual

The SD card should have a name like /dev/mmcblk0 or /dev/sda.
If you wish to backup your current image, do so now:
sudo dd if=/dev/<SD_NAME> of=<IMAGE_PATH> bs=1M
Note
SD_NAME is the device name (mmcblk0, sda, etc.).
IMAGE_PATH is the path to where you want the image saved – e.g.,
~/turtlebot4_images/backup_image.
Get the SD flash script from turtlebot4_setup and flash the SD card:
wget
https://raw.githubusercontent.com/turtlebot/turtlebot4_setup/galactic/scripts/sd_flash
.sh
bash sd_flash.sh /path/to/downloaded/image
Follow the instructions and wait for the SD card to be flashed. Remove the SD
card from your PC.
Ensure your Raspberry Pi 4 is not powered on before inserting the flashed SD
card.
Follow WiFi Setup to configure your WiFi.