Skip to content
Nosce Te Ipsum
  • Home
  • About me
  • My COETAIL Blogs
    • Course 1
    • Course 2
    • Course 3
    • Course 4
  • Testimonials
    • Professional
    • Personal
Site Search

Installing Linux on MacIntel

  • March 10, 2011March 24, 2011
  • by Muhammad
Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin
Pin on Pinterest
Pinterest
Share on Reddit
Reddit
Email this to someone
email
Share on StumbleUpon
StumbleUpon
Digg this
Digg

This can be a challenging process depending on which distro you are installing. The challenge comes from the fact that Mac’s uses EFI (old PPC ones use Open Firmware) instead of old fashion BIOS. I spent some time getting Debian Squeeze onto a Mac Pro and in the process found some information which is listed below:

– All of the install process for any linux distro is same as for any box. The only part where it gets difficult is partition and boot loader. If your distro install does not let you perform manual partition and let you choose the boot loader as well as where it installs then you need to choose Expert Install when booting from the installation media.

– You should also get hold of rEFIt either on a USB or CD. You will need it later. There are various other ways I found but using rEFIt was easy and quick.

In my experience (Debian Squeeze) no matter how I tried GRUB boot loader gave issues. Even rEFIt complained. There is a way of using a MAC OS X install CD to bless the Linux partition but using LILO was easy. If you want to use Bless command it is as follows:

$ sudo bless --mount /efi --setBoot --file /efi/efi/refit/refit.efi --labelfile /efi/efi/refit/refit.vollabel

considering the partition on which you copy rEFIt files is mounted as /efi
There is a guide if you want to follow this at:
http://wiki.debian.org/InstallingDebianOn/Apple/MacBookAir/squeeze

During the installation if you want to clean the MBR use the following commands to remove all bootloaders from MBR

use dd command from a shell (it removes partition table as well):
# dd if=/dev/null of=/dev/sdX bs=512 count=1


Just remove MBR, without the partition table:
# dd if=/dev/null of=/dev/sdX bs=446 count=1

What I did was to start expert install, create first partition of max. 100MB with FAT16 system and tag it as “do not mount”. Then the second partition will be of max. 500MB with ext2 or ext3, mount will be /boot and tag it bootable. Now create a swap and then root where everything else is mounted. After basic OS and then software install when it comes to bootloader install Lilo (elilo failed to install) and got it written to the MBR. Finish the installation and Mac will reboot. Boot with rEFIt CD and choose to start the partition created (2nd icon from left on the bottom line – one just right to the shell icon). It should not report any error, will you to MBR before and after the change and will request your permission to make the change. Allow it and reboot. Voila… Lilo should boot your Linux after about 10-15 seconds wait on the first white screen.

Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin
Pin on Pinterest
Pinterest
Share on Reddit
Reddit
Email this to someone
email
Share on StumbleUpon
StumbleUpon
Digg this
Digg
Software RAID in Linux
snmp install
Muhammad
boot bootloader efi grub lilo linux mac mbr refit

Related articles

Dynamic DNS client setup for…
Install Nginx, MySQL and PHP…
Attaching an external storage with…
Setting up L2TP/IPSEC server using…
(c) Raspberry Pi
Starting with Raspberry Pi
Using GeoIP database to identify…
…after a long absence
ISOLINUX: No DEFAULT or UI…
Installing and Running MinecraftEdu on…
clean mail queue with Perl…

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Follow Me!

Follow Me On TwitterFollow Me On LinkedInFollow Me On PinterestFollow Me On About.meFollow Me On Wordpress
May 2025
M T W T F S S
« Oct    
 1234
567891011
12131415161718
19202122232425
262728293031  

2009 2010 2011 Amelie apache beijing birthday clearos crèpes debian december 2009 dubai email february firewall guide holidays ill install internet kuala lumpur linux list mac maheen mobile october 2009 outlook Pakistan raspberry raspberry pi router search Sharepoint smtp snow spring ubuntu unix VLAN VPN windows 7 winter xian Zimbra

WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.

Categories

Licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Theme by Colorlib Powered by WordPress
  • Home
  • About me
  • My COETAIL Blogs
  • Testimonials