How to install on a MacBook Air 3,2 without an external CD drive?

9,057

Solution 1

I had a similar problem on an old Macbook 1.1 with a broken cd-drive. I remember that all the approaches shown in the forums did not work. Try to do the following (it worked for me), the main difference is to format the flash drive as EXT:

  • install refit

  • format your flash drive as EXT4. In the following commands note that you'll need to sudo.

  • install grub on the flash drive as follows: say the device is /dev/sdb and you mount it as /media/usbdrive, then run

    sudo grub-install --root-directory=/media/usbdrive /dev/sdb
    
  • copy the ubuntu iso to /media/usbdrive:

    sudo cp ubuntu-10.10-desktop-i386.iso /media/usbdrive/
    
  • now you want to create the config file for grub inside /media/usbdrive/boot/grub/. Create a file called grub.cfg with your favorite editor (you'll need to sudo): gksudo gedit /media/usbdrive/boot/grub/grub.cfg and paste the following 5 lines inside.

    search --set -f /ubuntu-10.10-desktop-i386.iso
    loopback loop /ubuntu-10.10-desktop-i386.iso
    linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/ubuntu-10.10-desktop-i386.iso persistent debug=
    initrd (loop)/casper/initrd.lz
    boot
    
  • Do a sudo sync to commit all changes to the usb drive.

  • That's it! Reboot, with your usb plugged-in and when refit comes up select the usb drive (in my case, it takes a while to boot (you will not see grub or anything just wait a ), probably it is uncompressing the iso, not sure.

  • Hope it works!

Solution 2

Rich, try https://help.ubuntu.com/community/How%20to%20install%20Ubuntu%20on%20MacBook%20using%20USB%20Stick

I just picked up the Air (3,2) yesterday and am in the same situation as you. It would be nice if we could co-work on this to solve it all and write up a guide together that explains the process step by step for others.

Feel free to mail me at snowdrop at wtactics dot org if you want to get in touch and exchange experiences: This far I have gotten a very diffuse and spread impression about how all of this will go...

Share:
9,057

Related videos on Youtube

rich
Author by

rich

Updated on September 17, 2022

Comments

  • rich
    rich over 1 year

    I've got a new MacBook Air which I'd like to install Ubuntu on. It has no internal optical drive, I have no external one.

    I do have the ability to partition the disk and also have a USB flash drive and USB external hard drive. None of these I've been able to successfully boot the Ubuntu installer with though.

    So... how can I install Ubuntu on a MacBook Air 3,2? Thanks in advance.

  • cweiske
    cweiske over 12 years
    This leads to a "missing operating system" error on a macbook air 4,2 :/