mirror of https://github.com/pikvm/pikvm.git
Improve instructions for `dd` flashing (#1660)
* Update flashing_os.md * Update flashing_os.md
This commit is contained in:
parent
b1a81d0f92
commit
fec8295f65
|
|
@ -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`.
|
||||
|
|
|
|||
Loading…
Reference in New Issue