Dual boot Linux and Yosemite

My first question is HOW do I get my MacBook Air set up to dual boot? Please don't assume I have not done the research. I have found plenty of how to guides and it seems like Yosemite is against me every step of the way. I went to Ubuntu's website on how to make a bootable thumb drive and got the error dd: file does not exist (paraphrased)


I also went here on how to dual boot and I am still getting no where...there was an article on how to install rEFIT I looked at and I just can't seem to get any of these avenues to work. Can someone help me out here?


I am not stupid but if you are willing to explain where I might be missing something by all means please slow it down and explain it like you are talking to someone who has no clue what a computer is. I am just getting more and more frustrated so I am assuming there is a small detail I am over looking.


My next question is once I am set up for dual boot how do I install the other OS and by that I mean what kind of file do I need .iso, .img, or .dmg?


I have seen all 3 being used in the various guides I have looked at but it seems that .dmg and .img tend to win out on the majority of applications but again I might be missing something on why one is used over the other.

MacBook Air (13-inch Mid 2013), OS X Yosemite (10.10), dual boot Linux/Ubuntu

Posted on Nov 5, 2014 6:12 PM

Reply
1 reply

Nov 9, 2014 10:03 PM in response to sailorhodges

I have partially worked through this problem, on my 11 inch Macbook Air , mid 2011

http://www.rodsbooks.com/refind/yosemite.html provides the general information.

Installation of the tools were necessary for the work through:

http://www.rodsbooks.com/gdisk/

http://gedit.en.softonic.com/mac

Note that the Yosemite installs adds an additional Recovery Partition , even though it is NOT displayed by the MAC "Disk Utility".

Holding down the "Option" key during a bootup, does display both Recovery Partitions.

Under MAC Maverick, my Linux/Ubuntu partition was also thus displayed as "Windows" and could be used to choose a Ubuntu boot.

But for reasons unclear, this boot choice was not displayed after the Yosemite upgrade.

However the Ubuntu partition is OK, as further related below.

Some of my particular problems may be due to the upgrade "abuse" the partitions have suffered over the years.

At this stage run the he Mac "Partition Inspection" to understand your disk.

My GPT partition table is currently:

Current GPT partition table:

# Start LBA End LBA Type

1 40 409639 EFI System (FAT)

2 409640 154061023 Mac OS X HFS+

3 154061024 155330559 Mac OS X Boot

4 155330560 156598271 Mac OS X HFS+

5 157869786 228772129 Unknown

6 228772130 236974814 Linux Swap

Previously there were two parititons like 3), with only one having the detail "Mac OS X Boot ":

Partition at LBA 154061024:


The older Recovery Partition lacking this spec was deleted using:

$ sudo gdisk /dev/disk0

and menus therein CAREFULLY. You may be able to find space elsewhere if you want to avoid such deleting.

But after the delete, I used the "Disk Utility" to create a new HFS+ partition, for coming installation for REFIND

Then I followed the yosemite.html
option of installing ReFind to its own hfs+ partition:

Within my Dowloads folder there was unzipped folder:

refind-bin-0.8.3/

within which I ran:

$ sudo ./install.sh --ownhfs /dev/disk04

4) now has the ReFind installation.


Following Yosemite.html an edit was necessary.

$ sudo /Applications/gedit.app/Contents/MacOS/gedit /Volumes/EFI/System/Library/CoreServices/refind.conf

Simply clicking on gedit was not sufficient since Root/Adm permission was necessary to edit the refind.conf.

The mandatory change is:

dont_scan_volumes "Recovery HD"

TO:

dont_scan_volumes foo,bar

Save and reboot.

Upon display of the REFIND menu, use the last-bottom Partition Inspector choice to rebuild the hybrid MBR

For some Systems, these changes may suffice for the setup of alternate MAC and Linux boot.

For my MacBook, the MAC boot option did not initially display, but it was displayed after hitting ESC to do a refresh scan

Later it sufficed to set a 1 second delay in the above refind.conf file, to seamlessly bring up the MAC boot option.


For reasons still obscure, the simple choice I had under Maverick for choosing MAC or Linux was not retained,

though your System may be OK at this point

However confirming the integrity of 5) Ubuntu was achieved using the first Refind menu choice to bring up powerful GRUB: http://www.gnu.org/software/grub/manual/grub.html

> ls

displayed the several partitions.

> ls (hd0,gpt5)/

confirmed my linux file system therein.

The regular Ubuntu bootup choices were then acquired with:

> configfile (hd0,gpt5)/boot/grub/grub.cfg

Sadly I have not yet worked out a simpler Ubuntu boot yet. For some of you, it may suffice to simple hold the "option" key down upon reboot,

and your Linux partition may be displayed. Hopefully, I'll later have a more cheering report.

MarvS






This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Dual boot Linux and Yosemite

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.