I am using a MacBook macOS Mojave 10.14.5. I can list the device with diskutil list
, but it isn't mounted. I perform the dd
command below. The output states input/output error
, which doesn't give a lot of information.
sudo dd if=~/Downloads/ubuntu-18.04.2-desktop-amd64.dmg of=/dev/rdisk2s2
Password:
dd: /dev/rdisk2s2: Input/output error
1+0 records in
0+0 records out
0 bytes transferred in 80.936791 secs (0 bytes/sec)
Anyone know how I can resolve this issue?
dd if=/dev/zero of=/dev/disk2s2 bs=4096 count=8
and why are you writing to the raw disk instead of the disk itself or using disk utility app to restore the image with help? – bmike♦ Jul 28 at 16:48diskutil list
in Terminal? Add it to the question. – user3439894 Jul 28 at 17:05