Improve instructions for `dd` flashing (#1660)

* Update flashing_os.md

* Update flashing_os.md
This commit is contained in:
Egor Panfilov 2026-04-30 11:25:00 -04:00 committed by GitHub
parent b1a81d0f92
commit fec8295f65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -74,11 +74,13 @@ Download the appropriate SD card image. Select it based on the board, platform,
### Using Linux CLI (ADVANCED USERS)
Decompress (if nessessary) and flash the image. **Be careful when choosing the device path, it may be different on your machine**:
Decompress (if nessessary) and flash the image. **Be careful when choosing the device path, it may be different on your machine** (use `lsblk -dpno NAME,SIZE,MODEL`):
```console
[user@localhost]$ xz --decompress v2-hdmi-rpi4-latest.img.xz
[user@localhost]$ sudo dd if=v2-hdmi-rpi4-latest.img of=/dev/mmcblkX
[user@localhost]$ sudo dd if=v2-hdmi-rpi4-latest.img of=/dev/mmcblkX bs=4M status=progress conv=fsync oflag=direct
[user@localhost]$ sync
[user@localhost]$ sudo eject /dev/sdb
```
You can also use `dd_rescue` or `ddrescue`.