Mac Boot Camp Ubuntu Howtogeek

  

The primary version of this doc is located here:https://help.ubuntu.com/community/MacBook

All the information here should be moved over.

The instructions for non-destructive, dual boot Mac/Ubuntu setup can be found on Ubuntu Community pages. I've have followed that instruction and installed Ubuntu 11.04 on MacBook Pro side by side with OSX. Both systems work fine.

Mac Boot Camp Ubuntu Howtogeek Free

The purpose of this is to allow for Triple Booting on an Intel Mac using OS X 10.4.6+, Ubuntu Linux, and XP SP2. You will need a slipstreamed XP-SP2 CD and an Ubuntu Dapper Drake 6.06 Live CD (which is just the regular installation disc). I've tested this on a 20' 2.0Ghz iMac, but I am assuming it will work on all available Intel iMac platforms thus far. This also seems to work on the MacBook and 15' MacBook Pro. Haven't tested on a Mac Pro yet. Some resolvable issues with the 17' MacBook Pro... notes below.

This guide also works for the newly released Edgy Eft (Ubuntu 6.10).To install edgy, you will either need a network connection or the DVD version.

Open up a terminal and type the following command (changing values for the drive sizes you want). Keep in mind that these partition sizes are final after they are set!

Take the device that your Mac OS is installed on, in this case disk0s2, and resize it into 3 new partitions.Syntax is like this:

i.e.

Restart and verify by running diskutil list that the partitions were made correctly.

Now, download and install rEFIt by following their instructions.

Restart and boot off of the XP-SP2 slipstreamed disc. Select and then quick format the drive marked as C: as fat32 if you want read-write access or NTFS if you want the increased speed and security; it should be the last drive. If it isn't then you have a typo in your partition code. If you do not format the drive with the installer, Windows might not boot. Do NOT remake the partitions at this point or you will hose up the whole thing. Set up Windows as you would normally - you can use Boot Camp to create a driver CD for Windows.

Boot off of the Ubuntu installation disc. The majority of the Ubuntu install walkthrough came from this site.

Open Applications-Accessories-Terminal and type:

In Edgy, you may need to do this instead:

As the installer will not accept an ext2 filesystem mounted at '/'.

Double click the installer on the Desktop and fill out each box correctly.

When it comes time to set up the partitions, do so manually. Because we only are able to have four primary partitions setup for the MBR mirror and Apple has already taken the first spot with the EFI System Partition, we will need to only mount the / drive to /dev/sda3, nothing else, not even a swap. This will cause an error to get thrown about decreased performance or installations errors from the lack of a swap... it will be fine and will actually install faster (I had 1 gig of RAM, so I can't guarantee anything under that). I recommend formatting the partition.

After awhile it will toss an error when it tries to install GRUB and throw a bunch of errors in an output screen; click past that.(If you do not get an error, see the Talk page)

Open Terminal and type:

Create and make a swap file. The following command will make an empty 2 gig file at /swapfile: (beware it might take some time)

Make the file a swap file:

Set Ubuntu to use the swap:

And enable it at boot time by editing /etc/fstab with a text editor like nano and adding the following line (each item is separated by tabs):

Example command to type:

Open a new Terminal window that isn't chrooted into the Ubuntu installation. Install lilo and some kernel updates:

If you are using the CD version of edgy, you will need a network connection to install the above packages.Edgy users should do this in the chrooted terminal.UPDATE: Edgy users dont need to do this download. Follow this guide which is super easy and uses grub. https://help.ubuntu.com/community/MacBookYou will need to run instead of the above:

When that finishes, we will make the /etc/lilo.conf config file by hand with a text editor) (edgy users still in the chroot):Example command to type:

Contents of file:

Edgy users need to add:

To the end of the lilo.conf file. This is because the GUI booting crashes Ubuntu.

Open a new Terminal window that isn't chrooted into the Ubuntu installation:

Edgy users need to use 'sudo parted /dev/sda' instead of 'sudo parted'. This should be executed in a normal terminal

Switch back to the chrooted terminal:

Edgy users may need to do:

If lilo complains about a CHS/LBA mismatch.

Reboot, use the rEFIt partition tool to make sure the MBR and GPT maps are in sync.You should now be Triple Booting! There are proprietary ATI drivers out there for Intel Macs running Linux, so check out their site. For more info about setup after initial installation, try this site, which provided the majority of the walkthrough for the Linux installation.

This *SHOULD* be the end. If you have issues or errors when running lilo continue to the bottom of the page...

[edit]

Problem Freezing on the rEFIt penguin watermark, first time booting Ubuntu from HD
If you run into this problem after everything above, try booting in Windows and OS X a couple of times, and maybe also try shutting down the computer before booting Linux again. I did this, and LILO fixed itself (don't ask me how) so now I can boot into whatever I like.
This fix was an idea in Brian W. Carver's Triple Boot Debian tutorial. -AC
End section about frozen first boot

Issues on 17' MBP
I've had issues with this portion on a 17' MacBook Pro... not sure if it is because of partition table issues or architecture yet...Solution was to run:

Then reboot into rEFIt, sync with partition manager; then boot off CD once again and run:

WARNING: This may kill your MBR at this point...

Instead of lilo (not lilo -P fix) I used following commands and sync with rEFIt after that:

Exit out of the chrooted terminal and unmount all partitions:

Reboot, use the rEFIt partition tool to make sure the MBR and GPT maps are in sync.
End section about 17' MBP issues

As usual, the typical disclaimer... Kainewynd2

See the Talk page if you just get a blank screen when trying to boot Edgy.

Creating the Swap File[edit]

'dd' always work faster with a larger block size. So when creating your '/swapfile' do it in 1 MiB blocks.

Takes only 20.5 sec on my 2007 Macbook.

Retrieved from 'https://wiki.onmac.net/index.php?title=Triple_Boot_via_BootCamp_Ubuntu&oldid=7029'

What you need to install Windows 10 on Mac

  • MacBook introduced in 2015 or later
  • MacBook Air introduced in 2012 or later
  • MacBook Pro introduced in 2012 or later
  • Mac mini introduced in 2012 or later
  • iMac introduced in 2012 or later1
  • iMac Pro (all models)
  • Mac Pro introduced in 2013 or later

The latest macOS updates, which can include updates to Boot Camp Assistant. You will use Boot Camp Assistant to install Windows 10.

64GB or more free storage space on your Mac startup disk:

  • Your Mac can have as little as 64GB of free storage space, but at least 128GB of free storage space provides the best experience. Automatic Windows updates require that much space or more.
  • If you have an iMac Pro or Mac Pro with 128GB of memory (RAM) or more, your startup disk needs at least as much free storage space as your Mac has memory.2

An external USB flash drive with a storage capacity of 16GB or more, unless you're using a Mac that doesn't need a flash drive to install Windows.

A 64-bit version of Windows 10 Home or Windows 10 Pro on a disk image (ISO) or other installation media. If installing Windows on your Mac for the first time, this must be a full version of Windows, not an upgrade.

  • If your copy of Windows came on a USB flash drive, or you have a Windows product key and no installation disc, download a Windows 10 disk image from Microsoft.
  • If your copy of Windows came on a DVD, you might need to create a disk image of that DVD.

How to install Windows 10 on Mac

To install Windows, use Boot Camp Assistant, which is included with your Mac.

1. Use Boot Camp Assistant to create a Windows partition

Download

Open Boot Camp Assistant, which is in the Utilities folder of your Applications folder. Then follow the onscreen instructions.

  • If you're asked to insert a USB drive, plug your USB flash drive into your Mac. Boot Camp Assistant will use it to create a bootable USB drive for Windows installation.
  • When Boot Camp Assistant asks you to set the size of the Windows partition, remember the minimum storage-space requirements in the previous section. Set a partition size that meets your needs, because you can't change its size later.

2. Format the Windows (BOOTCAMP) partition

When Boot Camp Assistant finishes, your Mac restarts to the Windows installer. If the installer asks where to install Windows, select the BOOTCAMP partition and click Format. In most cases, the installer selects and formats the BOOTCAMP partition automatically.

3. Install Windows

Unplug any external devices that aren't necessary during installation. Then click Next and follow the onscreen instructions to begin installing Windows.

4. Use the Boot Camp installer in Windows

After Windows installation completes, your Mac starts up in Windows and opens a ”Welcome to the Boot Camp installer” window. Follow the onscreen instructions to install Boot Camp and Windows support software (drivers). You will be asked to restart when done.

  • If the Boot Camp installer never opens, open the Boot Camp installer manually and use it to complete Boot Camp installation.
  • If you have an external display connected to a Thunderbolt 3 port on your Mac, the display will be blank (black, gray, or blue) for up to 2 minutes during installation.

How to switch between Windows and macOS

Restart, then press and hold the Option (or Alt) ⌥ key during startup to switch between Windows and macOS.

Mac Boot Camp Ubuntu Howtogeek Windows 7

Learn more

If you have one of these Mac models using OS X El Capitan 10.11 or later, you don't need a USB flash drive to install Windows:

  • MacBook introduced in 2015 or later
  • MacBook Air introduced in 2015 or later3
  • MacBook Pro introduced in 2015 or later3
  • iMac introduced in 2015 or later
  • iMac Pro (all models)
  • Mac Pro introduced in late 2013

To remove Windows from your Mac, use Boot Camp Assistant, not any other utility.

For more information about using Windows on your Mac, open Boot Camp Assistant and click the Open Boot Camp Help button.

1. If you're using an iMac (Retina 5K, 27-inch, Late 2014) or iMac (27-inch, Late 2013) or iMac (27-inch, Late 2012) with a 3TB hard drive and macOS Mojave or later, learn about an alert you might see during installation.

Mac Boot Camp Ubuntu Howtogeek Download

2. For example, if your Mac has 128GB of memory, its startup disk must have at least 128GB of storage space available for Windows. To see how much memory your Mac has, choose Apple menu  > About This Mac. To see how much storage space is available, click the Storage tab in the same window.

Mac Boot Camp Ubuntu Howtogeek Windows 10

3. These Mac models were offered with 128GB hard drives as an option. Apple recommends 256GB or larger hard drives so that you can create a Boot Camp partition of at least 128GB.