Wednesday, February 24, 2016

usb creator - How to create a bootable usb stick on OS X


http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-mac-osx


When I get to the step of converting the .iso to an .img it continues to respond as such: " -bash: /Users/RidgeJohnston/Downloads/ubuntu-14.04.1-desktop-amd64.iso: Permission denied "


How can I get passed this denied action and complete the processes?



Try the following command


hdiutil convert -format UDRW -o ~/Downloads/ubuntu.img ~/Downloads/ubuntu-14.04.1-desktop-amd64.iso


Use sudo before the command if required.


This will convert the iso file to an img file and save it as 'ubuntu.img' in your Downloads folder.


Run diskutil list and determine the device node assigned to the USB Drive eg- /dev/disk2


Now unmount this disk diskutil unmountDisk /dev/diskN where N should be replaced with the node number determined above eg- 2.


Now, write the image to the USB drive using the command


sudo dd if=~/Downloads/ubuntu.img.dmg of=/dev/rdiskN bs=1m


where N should be replaced with the node number.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...