From fec8295f65387863ec8e642e8692c9f874a5f40f Mon Sep 17 00:00:00 2001 From: Egor Panfilov <103907313+busyerakli@users.noreply.github.com> Date: Thu, 30 Apr 2026 11:25:00 -0400 Subject: [PATCH] Improve instructions for `dd` flashing (#1660) * Update flashing_os.md * Update flashing_os.md --- docs/flashing_os.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/flashing_os.md b/docs/flashing_os.md index d5424884..98864bc1 100644 --- a/docs/flashing_os.md +++ b/docs/flashing_os.md @@ -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`.