Friday, March 19, 2010

Sabayon 5.2 (soon to be released) on macbook 5.2

For the record I want to explain how to get 5.2 (as soon its out) can be installed successfully on a macbook 5.2 .

I take it one knows about refit, if not RTFM.

The first thing todo when booting the LiveDVD is edit the boot parameters and append: maxcpus=1 . Otherwise the kernel will panic (acpi issue).
Alternatively you can just disable all acpi but this will not do any good for day2day usage of the macbook.

Ok we start installer and we create 1 partition /dev/sda3 I used ext4, works just fine.
In the installer you need to check a box for advanced grub options and
select to NOT install it in MBR but in /dev/sda3 instead.
Personally I think this step actually is a bit buggy because after a
succesfull installation and syncing partition tables in refit you will
get a message that there is no operating system found if you try to
boot the linux partition. This is because it seems that grub2 actually
didn't install there at all.

To fix this I booted live again to manually install grub here are the
excact steps todo it:

open a terminal, become root

- mkdir sabayon && mount /dev/sda3 sabayon
- mount -o bind /proc sabayon/proc
- chroot sabayon
- grub2-install /dev/sda3 --force (I guess its this step where it went /dev/null during installation process)
- equo update && equo install grub (this will auto generate the shiny
sabayon grub2 theme and detect the kernels)
- exit

Now reboot and there it is. Keep in mind that you still might need to append the maxcpus=1 flag to your line, to perm edit that line you can have a look in /boot/grub/grub.cfg

No comments: