Last month, Dell's service center lost my laptop, I bought a Macbook Air laptop. To buy back some of the things I have to do first is to give the machines installed on a dual system that allows Ubuntu Linux and Mac OS X are available. Subsequent article I will explain how to install Linux on a Macbook, first we need to learn how to create a Ubuntu USB boot disk for the Mac in Mac OS X systems.
Create a Bootable USB on Ubuntu system or Windows system is very easy, but in the Mac OS X system not so simple. This is the official guide on why the Ubuntu installation on Mac Ubuntu live CD installation is recommended instead of USB reasons. Taking into account my Macbook Air has neither CD drive and no DVD drive, so I prefer to create a live USB on Mac OS X under.
Create a bootable USB disk drive under Mac OS X
As mentioned earlier, created on Mac OS X for like Ubuntu or any other bootable operating system such as a bootable USB disk is a relatively cumbersome process. But do not worry, follow the steps below step instructions on the line. Let us begin to create a bootable USB disk operating it:
Step 1: Format the USB Drive
Apple is its custom standard is known, so the Mac OS X system has its own file system type it is not surprising that its file system called Mac OS Extended or HFS plug. Therefore, you need to do first thing is to use the Mac OS Extended file system to format your USB drive.
To format a USB drive, please insert the USB drive. From the Launchpad (icon on the bottom panel of a rocket-shaped) to the Disk Utility application on.
In Disk Utility, select your USB drive from the left hand side panel format.
Click the Partition tab on the right panel.
From the drop-down menu, select 1 Partition.
For this driver disk from a name you want.
Next, switch the format of the partition formatted as Mac OS Extended (Journaled)
The screenshot below will be helpful to you.
Before we start the real formatting USB disk that is the only thing you need to operate. Click the button on the right side panel options, to ensure that the partition of the pattern is GUID partition table form.
When all settings have been done, just simply click Apply button. It will pop up a warning message to be formatted USB drive, of course, is to click on the button to format the partition USB drive pulled.
Step 2: Download Ubuntu
Of course, you need to download the desktop version of Ubuntu ISO image file. Ubuntu link to the official website to download your favorite Ubuntu desktop version of the system. Because you are using a Macbook Air, I suggest you download the 64-bit version of one. Ubuntu 14.04 LTS is the latest version, I suggest you use it.
Step 3: turn into ISO format IMG format
Files you download the ISO format, but we need it to IMG format using hdiutil command tool can easily convert. Open a terminal, you can open from Launchpad or Spotlight, and then use the following command can convert ISO format into the format of the IMG:
hdiutil convert -format UDRW -o ~ / Path-to-IMG-file ~ / Path-to-ISO-file
Typically the downloaded file will be under ~ / Downloads directory. So in my system, an input command is:
hdiutil convert -format UDRW -o ~ / Downloads / ubuntu-14.10-desktop-amd64 ~ / Downloads / ubuntu-14.10-desktop-amd64.iso
You may have noticed that I did not convert the new file with the IMG extension. This is no problem, because the suffix is just a symbol, it is important that the extension of the file type is not a file. Conversion out of the file may be automatically add a .dmg suffix Mac OS X systems. Do not worry, this is normal.
Step 4: Get USB disk device number
The next thing is to get the USB disk device number. In the terminal, run the following command:
It lists all the 'disk' information systems currently available. From its size, you should be able to identify this USB drive. To avoid confusion, I recommend that you just insert a USB drive. My example, the setting number is 2 (a size of 8G USB): / dev / disk2
When get the device number, run the following command:
diskutil unmountDisk / dev / diskN
Here N is in front of you get a USB device number. So, in my example, the above command becomes:
diskutil unmountDisk / dev / disk2
The result should be executed: Successful uninstall all volume on disk2.
Step 5: Create a Bootable USB Drive in Mac OS X,
Finally we have to create a bootable USB disk This last step. We'll use the dd command, it is very powerful, you must be careful to use. Therefore, you must remember that your USB drive's device number correctly, or else make the Mac OS X system crashes. Use the following command in Terminal:
sudo dd if = / Path-to-IMG-DMG-file of = / dev / rdiskN bs = 1m
Here we use the dd (copy and conversion) to the IMG input file (if) and conversion to disk copy N in. I hope you remember the storage location that has been generated in step 3 IMG files. On my machine, the command is as follows:
sudo dd if = ~ / Downloads / Ubuntu-14.10-desktop-amd64.dmg of = / dev / rdisk2 bs = 1m
We use superuser privileges (sudo) to run the above command, you need to enter your password. Similar with Linux, when you enter the password from the keyboard, you will not see any asterisks or prompt appears, do not worry, it is customary Unix terminal.
Even after you have entered your password, you will not immediately see the output, which is normal. We need a moment of the time until processing is complete.
Step 6: Complete the whole process can start the process of USB Drive
Once the DD command processing is completed, a dialog box will pop up: you insert the disk in the machine readable.
Do not panic, everything is normal. Only now do not click initialize, to ignore or eject button. Back to the terminal, you'll see some of the latest information processing is complete. My machine is shown below:
1109 + 1 records in
1109 + 1 records out
1162936320 bytes transferred in 77.611025 secs (14984164 bytes / sec)
Now, use the following command in the terminal to bring up our USB Drive:
diskutil eject / dev / diskN
N of course mean that we previously used device number, in my example is 2:
diskutil eject / dev / disk2
Once the pop-up, click on the front Ignore button that appears on the dialog box. Now your bootable USB disk has been created, unplug it come.
Step 7: Check your newly created bootable USB disk
Once you have finished creating a live USB such a major task in Mac OS X, and it is time to test your new fruit.
Insert the bootable USB disk, reboot the system.
Apple startup, has been pressing option (or alt) key.
This requires access to the boot disk interface can be used when you enter start. I assume that you know the next steps.
For me it shows two machines with EFI boot disk:
I chose the first one, then it will directly enter Grub interface:
I hope this tutorial you want to create a bootable Ubuntu system in Mac OS X under the USB drive helps. In the next article, you'll learn how to install OS X and Ubuntu dual system. Stay tuned.