HomeContact
Computerz
A quick way to make a USB bootable Ubuntu on OSX.
René Dohmen
November 16, 2012
1 min

It’s quite a long time since my last post. Very busy on new projects as always and getting settled in the new house / office :)

The next post is mostly copied from Ubuntu.com. But I see it as a quick reminder for my own Linux boot questions on mac. I keep forgetting the keys and command’s to work with diskimages. The created stick will be bootable for most comps not only macs!

Note: this procedure requires that you create an .img file from the .iso file you download.

  1. Convert the .iso file to .img using the convert option of hdiutil
  1. Run diskutil list to get the current list of devices.
  2. Insert your flash media.
  3. Run diskutil list again and determine the device node assigned to your flash media (e.g. /dev/disk2).
  4. Unmount the disk so dd can do its work. Run diskutil unmountDisk /dev/diskN (replace N with the disk number from the last command; in the previous example, N would be 2).
  1. Overwrite contents of USB stick with the bootable Ubuntu image. Warning stick content will be lost. Execute sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m
  1. Run diskutil eject /dev/diskN and remove your flash media when the command completes.
  1. Restart your Mac and press alt/option key while the Mac is restarting to choose the USB stick. (windows keyboard, windows key or alt)

Related Posts

Working with git submodules
October 15, 2023
3 min
© 2024, All Rights Reserved.
Powered by formatics

Quick Links

Advertise with usAbout UsContact Us

Social Media