Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to create a bootable USB key with Linux (debian) and that can be booted on Macintel hardware.

I have read that MAC's EFI can only boot GPT GUID formatted disks. I'm desperately trying to find a good tutorial which explains how to create such a key.

Here what I have done so far:

  • create a GUID partition on te key using Linux GNU parted
  • create a HFS+ or ext3 partition on the key, with the boot flag on
  • install a Linux .iso with unetbootin

While all steps were successfull and in some cases I could even boot on a PC, the step of booting on Macintel software failed (on a macbook). I need to precise that I holded the "alt" key while booting the mac and the only visible bootable disk was the hard disk.

PS: I have tried with rEFIt as well. In one case I had a "Windows" icon but it then failed to boot with a message like "no system found"

share|improve this question
add comment

migrated from stackoverflow.com Jan 23 '11 at 21:37

This question came from our site for professional and enthusiast programmers.

2 Answers

up vote 7 down vote accepted
+50

From Boot Linux from USB on MacBook Pro 17″ :

It works! Can now boot Linux on an unmodified MacBook Pro (5,2) from a single USB stick (or external hard drive).

I created a small 25MB partition as the first partition, formated it as Mac OS X Journaled and installed rEFIt to it, then followed that partition with a 100 MB boot partition, and then a root partition on a thumb drive (if using an external hard drive you could create swap as well, but I don’t do that on thumb drives so they don’t get worn out).

Install linux normally (debootstrap is how I do it) onto the second and third partitions. Make sure Grub is installed to the MBR of the drive and points to the /boot partition as the second partition. Then take the USB drive to a MacBook Pro and insert it.

Turn on the MBP and hold down the Alt/Option key until you see a boot menu offering Mac OS X or rEFIt. Choose rEFIt. After that you’ll be give a menu to choose OS X again or Linux. Here, choose Linux.

Tada, now comes the Grub boot screen and then on into the Linux of your choice. Congrats and enjoy…

Some other useful articles that contain detailed instructions:

share|improve this answer
    
Looks promising. I can't wait to come home and test that! –  ascobol Feb 9 '11 at 9:35
add comment

I have found that a standard Ubuntu/Fedora and even Debian install disc, live CD or USB key will boot fine on a Mac. With a CD you may need to hold down the c key to boot. But I have no problems with USB installs.

I would warn that I only have Linux installed on my MacBook now. I installed Ubuntu with a live CD a while ago, now rocking Fedora. Once there is no more OS X, any Linux distribution will boot without much trouble.

I'm not sure what happens when you boot a USB key and OS X is still on the machine though. I would recommend looking up key combinations to hold down to boot from USB – c might be enough.

share|improve this answer
4  
Being unable to boot from a USB stick unless you follow careful procedures is a well known problem with some mac hardware. It's more than just "burn the image as an image" or "use unetbootin" or "hold the right key combination down at boot". –  DanBeale Jan 26 '12 at 15:05
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.