hypriot / flash

Command line script to flash SD card images of any kind
MIT License
1.01k stars 175 forks source link

Several issues on Big Sur (MacOS 11.1) #189

Open fborn opened 3 years ago

fborn commented 3 years ago
  1. The issue MacOS dd: invalid number: ‘1m’ #174 has been reverted in Big Sur. The 1M is not working anymore.

    pv -s ${size} < /tmp/hypriotos-rpi-v1.12.3.img| sudo dd bs=1M of=/dev/disk2 dd: bs: illegal numeric value 0.00 B 0:00:04 [0.00 B/s] [>

  2. In Big Sur the 'hdutil eject' does not cause the SD card to be remounted. So after unmounting the SD the program will fail. A possible solution is to ask and wait for it to be re-inserted. Why do you need to unmount the SD card and remount it again. After some debugging I commented out the first Unmounting of the SD card.

  3. Can you update the documentation regarding running the flash program without flashing? It took me some time to figure out to add '' as the image. Maybe add a parameter to do not flash.

Really like flash to setup my SD cards after flashing with belanaEtcher.