Question:

How to install Ubuntu 13.04 in Macbook Air?

Answer:

Download the Mac image from Ubuntu website and then follow the instructions below:

Step 1: Convert ISO into DMG:

~ hdiutil convert -format UDRW -o /Users/drpaneas/Downloads/raring-desktop-amd64+mac.img /Users/drpaneas/Downloads/raring-desktop-amd64+mac.iso

Step 2: Check your /dev/diskN

~ diskutil list

/dev/disk0

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *121.3 GB disk0

1: EFI 209.7 MB disk0s1

2: Apple_HFS Macintosh HD 100.7 GB disk0s2

/dev/disk1

#: TYPE NAME SIZE IDENTIFIER

0: FDisk_partition_scheme *15.9 GB disk1

1: Windows_NTFS 15.9 GB disk1s1

Step 3: Unmount the USB-disk



~ diskutil unmountDisk /dev/disk1

Unmount of all volumes on disk1 was successful

Step 4: Copy the DMG into the drive

~ sudo dd if=/users/drpaneas/Downloads/raring-desktop-amd64+mac.img.dmg of=/dev/rdisk1 bs=1m

One more thing, in order to be able to boot from other media you’re going to need rEFIT. Download and install it.

Once you’ve done with rEFIT (partition inspector), reboot your Macbook and hold ALT key in order to boot from the USB flash drive and begin the Ubuntu 13.04 installation.