Yesterday I had a little problem with my Ubuntu linux notebook. It was just because I installed Gnome 3.10 in my Ubuntu 13.10 and made it crash badly. I tried to reinstall my old notebook via bootable DVD, unfortunately the DVD-Rom did not work as I expected. So I tried to figure out how to solve it using USB stick. Another issue was that how to make it bootable using OSX Maverick notebook and I found this article.
The steps are exactly as similar as in the article, but I faced a little issue when it comes to convert .iso file to .img. Instead of execute it using hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/ubuntu.iso , I didt it this way hdiutil convert ~/path/to/ubuntu.iso -format UDRW -o ~/path/to/target.img .
So, to summary, these are the steps I did to make a Ubuntu bootable USB stick in OSX Maverick:
- First of all, download the Ubuntu desktop iso file,
- Open the Terminal using Spotlight to be easier (cmd + space and type terminal, enter)
- Using Terminal, locate the .iso file on your notebook and run this command,
hdiutil convert ~/path/to/ubuntu.iso -format UDRW -o ~/path/to/target.img
, as mentioned in the article, OS X tends to add .dmg to the .img file. That’s just fine, just remove the .dmg trailing.
- Insert your USB stick (at least 2 GB free space),
- Still in the Terminal, run diskutil list to get current list of devices attached to the notebook. Then determine the device node assigned to your USB stick, e.g /dev/disk1
- Unmount (not Eject) the USB by running diskutil unmountDisk /dev/disk1 . Note, replace number 1 in /dev/disk1 with whatever it assigned to USB when you do previous step.
- Do make bootable USB by executing this command,
sudo dd if=/path/to/ubuntu.img of=/dev/rdisk1 bs=1m
- If the process is finished, eject the stick using diskutil eject /dev/disk1 and remove it.
- Done and use it as bootable USB stick when you start the notebook you want to install Ubuntu.
That’s all the steps I’ve done and the bootable USB stick is working properl.