$, strip out
$as this character is not part of the command
WARNING: BE VERY CAREFUL WHEN RUNNING
DDAS DATA CAN BE PERMANENTLY DESTROYED (BEGINNERS SHOULD CONSIDER USING BALENAETCHER INSTEAD).
sudo fdisk --listto find device name of microSD card or external solid state drive to overwrite with “Raspberry Pi OS Lite” (
sdain the following example).
sdnwith device name of microSD card or external solid state drive (
sdain the following example) and
2022-04-04-raspios-bullseye-arm64-lite.imgwith current image.