When I try to write an image to my SD card I get the following error at about 100%.
Perhaps there could be a number of reasons for this, but I have a strong suspicion that something is broken on my Ubuntu machine. I recently tried to write a different image (built with Yocto) to an SD card, which also failed.
Note the "Input/output error" in the log. In both cases, with Imager and with the "dd" command, this results in an unusable SD card.
Any clues towards what might be wrong on my Ubuntu machine would be greatly appreciated.
I get this error on my Ubuntu machine, but when I tried on a different machine with Windows installed, writing the image worked. So writing the same OS image to the same SD card using the same SD card writer is successful on the Windows machine but unsuccessful on the Ubuntu machine.Error reading from storage
SD card may be broken
Perhaps there could be a number of reasons for this, but I have a strong suspicion that something is broken on my Ubuntu machine. I recently tried to write a different image (built with Yocto) to an SD card, which also failed.
Code:
$ sudo umount /media/some/path$ sudo dd if=tmp/deploy/images/raspberrypi3/core-image-minimal-raspberrypi3.rpi-sdimg of=/dev/sda1dd: writing to '/dev/sda1': Input/output error5905+0 records in5904+0 records out3022848 bytes (3,0 MB, 2,9 MiB) copied, 1,51074 s, 2,0 MB/s
Any clues towards what might be wrong on my Ubuntu machine would be greatly appreciated.
Statistics: Posted by olavur — Tue May 07, 2024 9:44 am