How to install Ubuntu Linux on Mac OS

Are you trying to install Ubuntu in Apple Mac OS? Follow the instructions mentioned in the article to install Ubuntu Linux operating system on a MAC computer.

In my previous two posts I explained Linux operating system, how to install Ubuntu OS in a Windows system and how to download Ubuntu operating system. In this article I will try to explain the detailed step by step procedure on installing Ubuntu Linux operating system on a MAC system through a USB stick. As we already know Ubuntu operating system is one of the flavors of Linux which was maintained by Canonical

How to install Ubuntu operating system on a MAC Book through USB stick

Though it is a typical process to install Ubuntu through a USB stick in MAC, one can easily do it by following the procedure mentioned below. Please take proper care and follow the instructions correctly. In this procedure an .img file will be created from the downloaded .iso file.

Steps to install Ubuntu Linux on Mac OS

Follow the steps below to install Ubuntu Linux on your Apple Mac computer and enjoy the power of Linux.

1) Download the desired Ubuntu OS .iso image file

2) Once the Ubuntu .iso image is downloaded open the Terminal ( you can open it by going into /Applications/Utilities/ or query Terminal in Spotlight).

3) Now we have to Convert the .iso file to .img.

4) To do that, we have to use the convert option of hdiutil (For e.g., hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/ubuntu.iso)

5) One should note that OS X tends will put the .dmg ending on the output file automatically.

6) Now we have to run the diskutil list to get the current list of devices running on your Mac OS

7) Now insert your flash media(USB Stick) which contain the Ubuntu Linux .iso image to be installed.

8) After installing the USB stick we have to run diskutil list again to determine the device node assigned to your flash media (e.g. /dev/disk3)

9) Now run diskutil unmountDisk /dev/diskN (In this command we have to replace N with the disk number from the last command; in the previous example, N would be 3)

10) After unmounting we have to execute the command sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m ( In the above command replace /path/to/downloaded.img with the path where the image file is located; for example, ./ubuntu.img or ./ubuntu.dmg).

11) One can use /dev/rdisk instead of /dev/disk which may be faster.

12) While doing if you see the error dd: Invalid number '1m' you might be using GNU dd. Use the same command but replace bs=1m with bs=1M.

13) If you see the error dd: /dev/diskN: Resource busy , you should make sure that the disk is not in use. Start the 'Disk' and unmount (don't eject) the drive.

14) Now you should run diskutil eject /dev/diskN to remove your flash media when the command completes.

15) Finally restart your Mac and press alt while the Mac is restarting to choose the USB-Stick boot mode.

Your Ubuntu installation is ready to run Linux on your Mac OS.

Related Articles

How to control brightness in Ubuntu 14.04 LTS?

Are you not able to control the brightness in your Ubuntu OS? Here I have given the solution to the brightness control issue. Read this article to get the easy steps to solve the brightness issue in your laptop/desktop running Ubuntu OS.

More articles: Ubuntu Linux Linux Operating System Linux Installation


No responses found. Be the first to comment...

  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name: