Thursday, April 2, 2009

Triple Boot with OpenSolaris, Fedora and Ubuntu

After too many trial-n-errors, finally I was able to put these three OSes in one harddisk. They have to be installed in the following order:

OpenSolaris - Has to be the first partition. Don't know if it's due to the fact that the boot loader has to be under 1024-cylinder limit thing. The installation never stated what the real problem is, it only says it couldn't create the partition or worse, it let you install the system but it won't boot after your're done.

Fedora 10 - It's pretty uneventful to install this. Create a partition to mount to / and swap area (double the RAM size). Just to be safe, after installation, save /boot/grub/menu.lst file in another machine (ftp, vsftp setup on Fedora is another topic, not straightford at all)

Ubuntu 8.10 - Create a partition in the remaining free space and mount it to /. It will ask if you want o import Fedora. Tick that to agree.

After installing Ubuntu, go to System -> Administration to unlock root. Double click on root to change the password. After that,

su
password: xxxx
vi /boot/grub/menu.lst

The Fedora boot entry should already be included. Add the following to include OpenSolaris's boot menu:

title OpenSolaris
root (hd0,0)
savedefault
makeactive
chainloader +1

Also remember to change timeout from 10 to 20 or more.

Reboot Ubuntu.