New Method using Etcher
- Make sure you have a USB Stick with at least 4GB of free space.
- Get your Ubuntu ISO from here.
- Open Disk Utility from Applications > Utilities
- Select the USB stick and select Erase (This will remove all data stored on the USB drive)
- Select the format: MS-DOS (FAT) and scheme: GUID Partition Map
Click
Erase- Download, install and open Etcher (By default MacOS blocks running apps from unidentified developers. Follow this tutorial if you are experiencing problems with this.)
- Select image and navigate to the location you saved the Ubuntu ISO you have downloaded in step 2
- Select the USB drive you have formatted in step 3-6.
Click
Flash- Congratulations! You now have Ubuntu on a USB stick, bootable and ready to go!
Old Method using UNetbootin (might still work)
- Make sure you have a USB Stick with at least 4GB of free space.
- Download and install UNetbootin USB installer
- Download The Ubuntu Desktop ISO of your choice
Launch UNetbootin and allow the osascript to make changes
Select the Diskimage radio button and then click the ... button
Select the ubuntu ISO file you downloaded and click 'Open'
- Then select your flash drive in the bottom row and click 'OK'
- After Unetbootin finishes, click 'Exit' and now you have yourself an Ubuntu USB stick.
Source
Answer from Cyber_Star on askubuntu.comNew Method using Etcher
- Make sure you have a USB Stick with at least 4GB of free space.
- Get your Ubuntu ISO from here.
- Open Disk Utility from Applications > Utilities
- Select the USB stick and select Erase (This will remove all data stored on the USB drive)
- Select the format: MS-DOS (FAT) and scheme: GUID Partition Map
Click
Erase- Download, install and open Etcher (By default MacOS blocks running apps from unidentified developers. Follow this tutorial if you are experiencing problems with this.)
- Select image and navigate to the location you saved the Ubuntu ISO you have downloaded in step 2
- Select the USB drive you have formatted in step 3-6.
Click
Flash- Congratulations! You now have Ubuntu on a USB stick, bootable and ready to go!
Old Method using UNetbootin (might still work)
- Make sure you have a USB Stick with at least 4GB of free space.
- Download and install UNetbootin USB installer
- Download The Ubuntu Desktop ISO of your choice
Launch UNetbootin and allow the osascript to make changes
Select the Diskimage radio button and then click the ... button
Select the ubuntu ISO file you downloaded and click 'Open'
- Then select your flash drive in the bottom row and click 'OK'
- After Unetbootin finishes, click 'Exit' and now you have yourself an Ubuntu USB stick.
Source
1) Find the file path to your USB drive with
diskutil list external
You're looking for /dev/diskN. It's probably /dev/disk2, but double check that the NAME and SIZE columns make sense. The dd command you're going to run later will effectively delete all data on the drive so don't get this wrong. If that command produces no output, your USB drive is probably not plugged in.
2) Unmount the device so you can overwrite it (change N to the number you got from the previous step)
diskutil unmountDisk /dev/diskN
3) Use dd to copy the .iso image to the USB with
sudo dd if=/path/to/your/iso-file.iso of=/dev/diskN
That step will take a while. When it's finished you might get an error saying that the disk can't be read, you can click "Eject" and you're done; use your USB stick to boot Ubuntu. If you don't get that error, you should eject it with 4)
diskutil eject /dev/diskN
You can speed up the dd command by adding bs=1m (if you get the invalid number: ‘1m’ error change "m" to an uppercase "M" (this can happen if you installed a newer version of coreutils with homebrew)) and using /dev/rdiskN instead of /dev/diskN (use /dev/diskN for the diskutil commands though). You can get dd to report progress with status=progress. This would all look like
sudo dd bs=1m status=progress if=ubuntu-19.10-desktop-amd64.iso of=/dev/rdiskN
With my cheap USB 2.0 drive I get 3.6 MB/s (9 minutes) with these options vs 0.8 MB/s (40 minutes) without them.
Videos
I would suggest using a command line utility, dd.
- Attach the USB that you intend to use, note that this process will fully wipe it.
- List the drives/partitions with
diskutil list(find the/dev/disk#) - Run
dd if=/Users/USERNAME/Downloads/ubuntu-13.04x64.iso of=/dev/disk# bs=1M
Once that appears to be done, type sync and make sure your drive is written to. That should be all you need, just be sure to not mistype anything - since you could kill your main drive by overwriting sectors.
Ubuntu provides step by step instructions on how to accomplish this
http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-mac-osx
Hello, I have an iMac 27’’ 5K 2017 running Ventura 13.6. Intel based I’m trying to create a bootable USB drive with Ubuntu on it so I could boot on it
I don’t want to have an installer on this USB drive but a full Ubuntu system
Disk utility can see my drive
I have followed https://ubuntu.com/tutorials/create-a-usb-stick-on-macos#1-overview to build the ubuntu disk
I also reset the SMV/NVRAM (https://www.macobserver.com/tips/how-to/reset-mac-smc-nvram/)
Booting and pressing on « option » to choose a drive to boot from only shows the internal drive. How can I have my drive show in the boot menu ?
Taken from here:
We would encourage Mac users to download Ubuntu Desktop Edition by burning a CD. But if you prefer to use a USB stick, please follow the instructions below.
Note: this procedure requires that you create an .img file from the .iso file you download. It will also change the filesystem that is on the USB stick to make it bootable, so backup all data before continuing.
Tip: Drag and drop a file from Finder to Terminal to 'paste' the full path without risking typing errors.
Download Ubuntu Desktop
Open the Terminal (in
/Applications/Utilities/or query Terminal in Spotlight)Convert the .iso file to .img using the convert option of hdiutil. Example:
hdiutil convert -format UDRW ~/path/to/target.iso -o ~/path/to/ubuntu.imgNote: OS X tends to put the .dmg ending on the output file automatically.
Run
diskutil listto get the current list of devicesInsert your flash media
Run
diskutil listagain and determine the device node assigned to your flash media
(e.g./dev/disk2)Run
diskutil unmountDisk /dev/diskN(replace
Nwith the disk number from the last command; in the previous example,Nwould be 2)Execute the following command while replacing
/path/to/downloaded.imgwith the path where the image file is located; for example,./ubuntu.imgor./ubuntu.dmg).sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m
- Using
/dev/rdiskinstead of/dev/diskmay be faster.- If you see the error
dd: Invalid number '1m', you are using GNUdd. Use the same command but replacebs=1mwithbs=1M.- If you see the error
dd:/devdiskN: Resource busy, make sure the disk is not in use. Start the Disk Utility.app and unmount (don't eject) the drive.Run
diskutil eject /dev/diskNand remove your flash media when the command completes- Restart your Mac and press Alt while the Mac is restarting to choose the USB-Stick
You can do it really easily with unetbootin which is available for Mac OS - the upside being it doesn't need more than a few clicks on a simple GUI.
(note this is only for newer Intel Mac's, and won't work with older PowerPC machines unfortunately.)
You will of course need a OS X Installer Image. To get this you can follow the instructions here
After you have got your installer media, you can use ubunut's built-in utility Startup Disk Creator to make a bootable USB. SO, open dash and search for Startup Disk Creator and open it. Follow the on-screen instructions or refer to this document from ubuntu.
I recently had to make a High Sierra 10.13.6 bootable USB drive, and the process turned out a bit more involved that just dd-ing the dmg2img-generated ISO to a thumb drive. So, leaving it here in case somebody else will need to.
This sequence is based on this answer. Unlike El Capitan, High Sierra only needs BaseSystem.dmg, which also has enough free space to boot - so, the process overall can be simplified a bit.
Get an OS X .dmg file. This question on apple support has all the links, but they are only accessible from OS X (if you had access to a live OS X at this point - you probably would've just used
createinstallmediaalready, right?). So, you'll need to find an alternative source.Convert
.dmgfile to ISO (dmg2img -v -i <imagename>.dmg -o <isoname>.iso).Mount .iso image. You can do it from GUI (right click, "Open with disk image mounter") or something like
mount -o loop <isoname>.iso <iso_mount_point>Find
BaseSystem.dmgin the mounted image. Convert it to.isoas well (dmg2iso -i BaseSystem.dmg -o BaseSystem.iso)Copy it to a thumb drive:
dd if=BaseSystem.iso of=/dev/sdX BS=1M. In my case (High Sierra 10.13.6), 4Gb stick was sufficient, even thoughcreateinstallmediarequires 8Gb. It probably misses some utilities.Mount the thumb drive (you might need to
apt-get install hfsprogsto mount an HFS filesystem). From the first iso, obtained on step 3, copyBaseSystem.chunklistandBaseSystem.dmgon the thumb drive (actually, the latter might not be necessary - but it worked for me at this step and I stopped experimenting).sync, just in case.
This is it, you have a bootable OS X usb drive.
You will need:
- A 4GB or larger USB stick/flash drive
- An Apple computer or laptop running macOS
- An Ubuntu ISO file. See Get Ubuntu for download links
To ensure maximum compatibility with Apple hardware, first blank and reformat the USB stick using Apple's "Disk Utility", but this step can be skipped if you intend to use the USB stick with only generic PC hardware.
Launch Disk Utility from Applications -> Utilities or Spotlight search.
Insert your USB stick and observe the new device added to Disk Utility.
Select the USB stick device (you may need to enable the option View -> Show All Devices) and select Erase from the toolbar (or right-click menu).
Set the format to MS-DOS (FAT) and the scheme to GUID Partition Map.
Check you've chosen the correct device and click Erase.
Warning: Disk Utility needs to be used with caution as selecting the wrong device or partition can result in data loss.
Install and run balenaEtcher
To write the ISO file to the USB stick, use a free and open source application called balenaEtcher. After downloading this and clicking to mount the package, balenaEtcher can either be run in place or dragged into your Applications folder.
By default, recent versions of macOS block the running of applications from unidentified developers. To side-step this issue, enable App Store and identified developers in the Security & Privacy pane of System Preferences. If you are still warned against running the application, click Open Anyway in the same pane.
balenaEtcher configuration
balenaEtcher will configure and write to your USB device in three stages, each of which needs to be selected in turn:
Select image will open a file requester from which should navigate to and select the ISO file downloaded previously. By default, the ISO file will be in your Downloads folder.
Select drive, replaced by the name of your USB device if one is already attached, lets you select your target device. You will be warned if the storage space is too small for your selected ISO.
Flash! will activate when both the image and the drive have been selected. As with Disk Utility, balenaEtcher needs low-level access to your storage hardware and will ask for your password after selection.
Write to device
After entering your password, balenaEtcher will start writing the ISO file to your USB device.
The Flash stage of the process will show progress, writing speed and an estimated duration until completion. This will be followed by a validation stage that will ensure the contents of the USB device are identical to the source image.
When everything has finished, balenaEtcher will declare the process a success.
Congratulations! You now have Ubuntu on a USB stick, bootable and ready to go.
Warning: After the write process has completed, macOS may inform you that 'The disk you inserted was not readable by this computer'. Don't select Initialize. Instead, select Eject and remove the USB device.
Boot your Mac
If you want to use your USB stick with an Apple Mac, you will need to restart or power-on the Mac with the USB stick inserted while the Option/alt ⌥ key is pressed.
This will launch Apple's 'Startup Manager' which shows bootable devices connected to the machine. Your USB stick should appear as gold/yellow and labelled 'EFI Boot'. Selecting this will lead you to the standard Ubuntu boot menu.
Source: Create a bootable USB stick on macOS
there's a software called UNEBOOTIN (http://unetbootin.sourceforge.net/), it will let you create a bootable USB disk, just follow the instructions on their webpage