You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Preface: I understand that FMW isn't really meant to be used in this way.
Writing this OpenWrt image to a USB stick fails with no error message on macOS.
My guess is that because the Fedora Media Writer helper uses /dev/rdiskN instead of /dev/diskN on macOS, writes fail if they aren't a multiple of the device block size, see user astruct's answer on StackExchange/SuperUser. That's consistent with what happens using dd:
# USB Stick isn't bootable
% sudo dd if=openwrt-ipq40xx-chromium-google_wifi-squashfs-factory.bin of=/dev/rdisk4 bs=1M
dd: /dev/rdisk4: Invalid argument
20+1 records in
20+0 records out
20971520 bytes transferred in 3.086768 secs (6794006 bytes/sec)
# USB stick boots OK
% sudo dd if=openwrt-ipq40xx-chromium-google_wifi-squashfs-factory.bin of=/dev/disk4 bs=1M
20+1 records in
20+1 records out
21129694 bytes transferred in 4.396772 secs (4805729 bytes/sec)
I'm assuming the helper encounters a similar error to dd: /dev/rdisk4: Invalid argument which isn't propagated up from the helper into the UI, and because of #257 there's no verification step to catch the missing partial block at the end either.
Thanks to everyone for the hard work you've put into this useful tool, and I hope this report is helpful.
The text was updated successfully, but these errors were encountered:
To avoid confusion/distraction/wild-goose-chases, re-running dd without bs=1M still leaves an incomplete image written:
% sudo dd if=openwrt-ipq40xx-chromium-google_wifi-squashfs-factory.bin of=/dev/rdisk4
dd: /dev/rdisk4: Invalid argument
41268+1 records in
41268+0 records out
21129216 bytes transferred in 17.996230 secs (1174091 bytes/sec)
% sudo dd if=openwrt-ipq40xx-chromium-google_wifi-squashfs-factory.bin of=/dev/disk4
41268+1 records in
41268+1 records out
21129694 bytes transferred in 8.008283 secs (2638480 bytes/sec)
Preface: I understand that FMW isn't really meant to be used in this way.
Writing this OpenWrt image to a USB stick fails with no error message on macOS.
My guess is that because the Fedora Media Writer helper uses /dev/rdiskN instead of /dev/diskN on macOS, writes fail if they aren't a multiple of the device block size, see user astruct's answer on StackExchange/SuperUser. That's consistent with what happens using
dd
:I'm assuming the helper encounters a similar error to
dd: /dev/rdisk4: Invalid argument
which isn't propagated up from the helper into the UI, and because of #257 there's no verification step to catch the missing partial block at the end either.Thanks to everyone for the hard work you've put into this useful tool, and I hope this report is helpful.
The text was updated successfully, but these errors were encountered: