09-12-2021, 01:18 PM
The point being that /dev/sda2 is most likely not your SD card. At best that device doesn't exist, at worst you will irreversebly overwrite an existing partition on your machine without a warning. Your SD card will probably show up as /dev/mmcblkX. Don't blindly copy and run commands and make sure that you are writing to the correct device (check with lsblk for example). You can find installation instructions here (there is also a link to more detailed instructions if needed).