Installing RC2 on the mactel platform.

From Sabayon Wiki
Revision as of 06:13, 24 August 2006 by Goatee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This HOWTO will guide you in the installation of SabayonLinux on an Intel Mac wiping the whole hard drive and using all the available space for our beloved Operating System. You can install Mac OSX and even Windows XP on a USB drive (with GPT) if you want, but that's not covered here.

NOTE: with the current RC2 DVDs (not the miniEditions!) you have to do two extra steps. 

STEP A: Starting MAC OSX Install Disk 1. 
Insert your Mac OSX Install Disk 1 and keep the "C" key pressed until the system load the Installer. 
We are going to wipe the whole hard drive and change the partition table format to MS-DOS (MBR) instead of GPT. 
When the Installer is loaded, lauch the Disk Utilty, erase all the partitions and under Options, choose "MS-DOS partition table" instead of "GPT (GUID Partition Table)". 
NOTE: you can do this step even on the LiveDVD/LiveCD, but that's the way I've tried 

STEP B: Booting SabayonLinux CD/DVD. 
Like we did for the Mac OSX Install Disk 1, keep the "C" key pressed at boot until the system loads our beloved CD/DVD boot prompt. 
NOTE: you can eject CDs/DVDs by pressing both right and left mouse buttons at boot until the media gets out. 
Then, choose the parameters that you want (press F2,F3,F4 for more info) and then start the boot procedure. 

STEP C: Updating Sabayon Linux Installer by hand (Internet connection required) 
NOTE: if you are running SabayonLinux >RC2 or the RC2 miniEditions skip this step. 
Once you're on your favourite Desktop Environment, open a terminal and type: 


sudo su

cd /tmp 
tar xjf usr-lib-anaconda.tar.bz2 
rm -rf /opt/anaconda/usr/lib/anaconda/* 
mv -f anaconda/* /opt/anaconda/usr/lib/anaconda/ 
rm -rf anaconda 

The Installer is now updated and ready to Install into your Intel Mac. 

STEP C2: Updating GRUB to support Intel Macs boot (Internet connection required). 
NOTE: if you are running SabayonLinux >RC2 or the RC2 miniEditions skip this step. 


sudo su

cp /mnt/livecd/boot/grub /tmp -Rp 
mount -t tmpfs none /mnt/livecd/boot/grub/ 
mv /tmp/grub/* /mnt/livecd/boot/grub/ 
cd /mnt/livecd/boot/grub/ 
rm -rf stage2 

At this point, if you have x86 CD/DVD just do (on the same shell!): 


mv stage2-x86 stage2

or, if you are running x86-64: 


mv stage2-x86_64 stage2

STEP D: Starting the Installer 
Just double click on Install on Disk, choose the partition layout that you like most (I suggest to not use the Autopartitioning and proceed with the manual configuration). 
Start the installation and wait, until it finishes. 

Now, just reboot and enjoy our Tux-only MacTel. 

If you are running an Intel Mac with an Intel Video Card. To enable OpenGL acceleration you need to update X.Org to 7.1. To do that, after the installation, open a terminal and type: 


su (then type your password)

rm -f /etc/portage/package.mask 
emerge --sync 
emerge -C nvidia-glx ati-drivers (we don't need those) 
emerge xorg-x11 

Wait, wait wait wait... 
and then just reboot. 
Check that in /etc/X11/xorg.conf, in the line where there's "do not remove vesa" text, the text in the quotes is "i810".