You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pikvm/docs/flashing_os.md

102 lines
4.1 KiB
Markdown

11 months ago
# Flashing PiKVM OS image
3 years ago
!!! warning "Micro-SD Card Requirements"
11 months ago
Minimum **16 Gb, Class 10** recommended
3 years ago
11 months ago
-----
3 years ago
## Download the image
11 months ago
Download the appropriate SD card image. Select it based on the board, platform, and the video capture device you are using.
3 years ago
11 months ago
!!! abstract "Official PiKVM Devices"
3 years ago
11 months ago
These images are not suitable for DIY and are intended only for our branded devices.
3 years ago
11 months ago
* **PiKVM V4**
* [PiKVM V4 Mini](https://files.pikvm.org/images/v4mini-hdmi-rpi4-latest.img.xz)
<sub>- [*sha1*](https://files.pikvm.org/images/v4mini-hdmi-rpi4-latest.img.xz.sha1)
* [PiKVM V4 Plus](https://files.pikvm.org/images/v4plus-hdmi-rpi4-latest.img.xz)
<sub>- [*sha1*](https://files.pikvm.org/images/v4plus-hdmi-rpi4-latest.img.xz.sha1)
3 years ago
11 months ago
* **PiKVM V3**
* [PiKVM V3 HAT BOX Image, OLED/FAN preactivated](https://files.pikvm.org/images/v3-hdmi-rpi4-box-latest.img.xz)
<sub>- [*sha1*](https://files.pikvm.org/images/v3-hdmi-rpi4-box-latest.img.xz.sha1)
* [PiKVM V3 HAT DIY Assembly](https://files.pikvm.org/images/v3-hdmi-rpi4-latest.img.xz)
<sub>- [*sha1*](https://files.pikvm.org/images/v3-hdmi-rpi4-latest.img.xz.sha1)</sub>
!!! abstract "DIY PiKVM V2 Platform"
* **Raspberry Pi 4**
* [For HDMI-CSI bridge](https://files.pikvm.org/images/v2-hdmi-rpi4-latest.img.xz)
<sub>- [*sha1*](https://files.pikvm.org/images/v2-hdmi-rpi4-latest.img.xz.sha1)</sub>
* [For HDMI-USB dongle](https://files.pikvm.org/images/v2-hdmiusb-rpi4-latest.img.xz)
<sub>- [*sha1*](https://files.pikvm.org/images/v2-hdmiusb-rpi4-latest.img.xz.sha1)</sub>
* **Raspberry Pi Zero 2 W**
* [For HDMI-CSI bridge](https://files.pikvm.org/images/v2-hdmi-zero2w-latest.img.xz)
<sub>- [*sha1*](https://files.pikvm.org/images/v2-hdmi-zero2w-latest.img.xz.sha1)</sub>
* **Raspberry Pi Zero W (obsolete)**
* Support has been discontinued due to reaching the End-of-Life of the base board.<br>
Please join [Discord](https://discord.gg/bpmXfz5) and ask about this in #unofficial_ports channel if you still want to use it.
!!! abstract "Any other platforms"
You will need to build the image manually. But don't worry, it's [very simple](building_os.md).
-----
## Flashing the image
3 years ago
!!! tip
11 months ago
After inserting the memory card into your computer, ignore request to format. This is not nessessary.
3 years ago
### Using Linux CLI
11 months ago
Decompress (if nessessary) and flash the image. **Be careful when choosing the device path, it may be different on your machine**:
3 years ago
11 months ago
```console
[user@localhost]$ xz --decompress v2-hdmi-rpi4-latest.img.xz
[user@localhost]$ sudo dd if=v2-hdmi-rpi4-latest.img of=/dev/mmcblkX
3 years ago
```
3 years ago
You can also use `dd_rescue` or `ddrescue`.
3 years ago
3 years ago
### Using RPi Imager (Linux, MacOS and Windows)
3 years ago
3 years ago
1. Download and install **the latest version** of [RPi Imager](https://github.com/raspberrypi/rpi-imager/releases).
3 years ago
3 years ago
2. Run RPi Imager:
3 years ago
3 years ago
<img src="imager-1.jpg" width="400" />
3 years ago
3 years ago
3. Press **CHOOSE OS** and select **Use custom** image at bottom of the list:
3 years ago
3 years ago
<img src="imager-2.jpg" width="400" />
3 years ago
11 months ago
4. After clicking on this item, select the image file (`*.img` or `*.img.xz`), then click **CHOOSE STORAGE**:
!!! warning
Check the advanced settings (`CTRL+SHIFT+X`), make sure they are blank or the flash will fail.
3 years ago
3 years ago
<img src="imager-3.jpg" width="400" />
3 years ago
3 years ago
5. Insert the memory card into the card reader. Choose the card reader from this list. **Be careful** and choose the right device:
3 years ago
3 years ago
<img src="imager-4.jpg" width="400" />
3 years ago
3 years ago
6. After choosing the memory card, press the **WRITE** button. Confirm the operation when you are asked about it:
3 years ago
3 years ago
<img src="imager-5.jpg" width="400" />
3 years ago
3 years ago
7. Wait for the process to finish. Get yourself a coffee or do some stretching :)
11 months ago
The process may hang at 99% for a long time, this is okay, just wait for it to complete.
3 years ago
3 years ago
<img src="imager-6.jpg" width="400" />
3 years ago
11 months ago
8. Remove the memory card after successful completion. If an error occurs during flashing or booting PiKVM, repeat the process.
If the error persists, use a different card.
3 years ago
3 years ago
<img src="imager-7.jpg" width="400" />