I curled the latest image forgetting to put the -L argument resulting in a .zip file containing HTML code indicating the redirection to S3:
$ file hypriotos-rpi-v1.1.3.img.zip
hypriotos-rpi-v1.1.3.img.zip: HTML document text, ASCII text, with very long lines, with no line terminators
However when attempting to flash I had little feedback:
Is /dev/disk2 correct? y
Unmounting disk2 ...
Unmount of all volumes on disk2 was successful
Unmount of all volumes on disk2 was successful
Flashing hypriotos-rpi-v1.1.3.img.zip to disk2 ...
Password:
605 B 0:00:00 [6.27MiB/s] [=====================================================>] 100%
dd: /dev/rdisk2: Invalid argument
0+1 records in
0+0 records out
0 bytes transferred in 0.000066 secs (0 bytes/sec)
Unmounting and ejecting disk2 ...
Unmount of all volumes on disk2 was successful
Unmount failed for /dev/disk2s2
Disk /dev/disk2 ejected
🍺 Finished.
The final message give the impression that everything have gone smoothly and the only indications are the number of record transferred and the dd: /dev/rdisk2: Invalid argument message which gives the impression of a problem with the device rather than a problem with the image file.
For information, when downloaded correctly the final image file should look like:
I don't know if checking DOS/MBR boot sector will be too restrictive or if there is a smarter way to check this. At any rate it might be great to give at least a warning before proceeding to the dd part
I curled the latest image forgetting to put the
-L
argument resulting in a .zip file containing HTML code indicating the redirection to S3:However when attempting to flash I had little feedback:
The final message give the impression that everything have gone smoothly and the only indications are the number of record transferred and the
dd: /dev/rdisk2: Invalid argument
message which gives the impression of a problem with the device rather than a problem with the image file.For information, when downloaded correctly the final image file should look like:
I don't know if checking
DOS/MBR boot sector
will be too restrictive or if there is a smarter way to check this. At any rate it might be great to give at least a warning before proceeding to the dd part