hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/ubuntu.iso
~/path/to/target.img
? Can someone give a specific example? I tried putting ~/Users/Gurpreet/Desktop/target.img
, but it says no such file or directory. I understand that there is not a file named target.img on my desktop. What path do I use? Specific example and help will get 10 points.'$HOME'
, so when you write ~/Users/Gurpreet/Desktop/target.img
what you've really written is /Users/Gurpreet/Users/Gurpreet/Desktop/target.img. Just get rid of the redundancy and write one (the tilde) or the other (/Users/Gurpreet
).