2
0
mirror of https://github.com/pikvm/pikvm synced 2024-11-16 12:12:57 +00:00
pikvm/docs/flashing_os.md
2021-10-12 21:45:00 +03:00

2.8 KiB

Flashing the OS image

!!! warning "Micro-SD Card Requirements" * Minimum 16 Gb * Class 10 is strongly recommended

Download the image

Download the appropriate SD card image. Select it based on the board, platform, and the video capture device you are using:

Pre-compiled images are only available for the Raspberry Pi 4 and ZeroW. For all other cases, you will need to build the operating system yourself. But don't worry, it's very simple.

Flash the image

!!! tip Choose the most suitable method for you

Using Linux CLI

Decompress and flash the image. Be careful when choosing your device path:

# bzip2 -d v2-hdmi-rpi4.img.bz2
# dd if=v2-hdmi-rpi4.img of=/dev/mmcblkX

Using balenaEtcher (Linux, MacOS and Windows)

  1. Download and install balenaEtcher.

  2. Decompress the image file using your favorite archive software. If you don't have one that supports .bz2 files (on Windows for example) - 7-Zip is a great and free tool. Do not try to flash a compressed image: either it will not work, or it will take a very long time.

  3. Run balenaEtcher:

    drawing
  4. Press Flash from file and select a decompressed image (a file with .img suffix):

    drawing
  5. Insert the memory card into the card reader. Press Select target and choose your memory card:

    drawing
  6. Press Flash! button.

    drawing
  7. Wait for the process to finish. Get yourself a coffee or do some stretching :) If an error occurs during flashing, repeat the process:

    drawing

!!! tip If balenaEtcher does not work for you and you continue to get failed bootup's, download the Raspberry Pi Imager and use that instead. The general algorithm of actions is exactly the same: use a decompressed image, run Imager, select a device and flash the image there.