Dual Boot Soalris and Ubuntu

After much agony I have managed to set up my Ultra20 to be a dual boot of Ubuntu Feisty Fawn and Solaris Developer Express. The issue is that the Ubuntu GRUB doesn't play nice with the Solaris file system, and if you use the Solaris GRUB you have another problem: Ubuntu Feisty Fawn uses another form of identifying its partitions not the usual (hd0,0) or something like that. instead you have this long uid or something that the Solaris GRUB doesn't handle. Enough of the problems as there are many more, on with the fix.

Here are the steps:
\*I used an 80Gb HD and just split it down the middle, 40 for Solarais, 40 for Ubuntu.

1. Install Solaris to one partition, You will have to additionally add a root partition, swap space and /export/home partitions in this partition.

2. Boot and make sure Solaris is fine.

3. Insert Ubuntu CD and restart

4. Install Ubuntu to the unused partition, taking care not to overlap or delete any of your Solaris partitions.

5. Now boot again. Hopefully this time the Ubuntu GRUB boots. (Don't worry, we will add Solaris to the menu in a second)

6. Open /boot/grub and make a back up of menu.lst

7. Edit menu.lst and add the following to the boot options:


title Solaris-DevEx
root (hd0,1)
chainloader +1
makeactive
boot

\*note: your Solaris partition may not be (hd0,1) it may be (hd0,0) or something else

8. Save the new grub configuration and reboot.

9. Enter the GRUB list by hitting "esc" when prompted. You should now have an option for Sol Dev-Ex, select this.

10. Now the Solaris GRUB kicks in and you can start Solaris.

You can now enjoy Ubuntu and Solaris on the same machine. Hopes this helps, it took me some time, many many reboots and reinstalls, and a lot of coffee to get this right.

Good Luck
Tony

Comments:

Many thanks! Also got this to work with Fedora Core 7...

Posted by Thankful on October 10, 2007 at 07:14 AM PDT #

Also work with opensolaris developer preview and unbuntu

Posted by guest on November 12, 2007 at 09:35 AM PST #

Worked with opensolaris 2008.05 and ubuntu 8.04, thank you!

Posted by harold on May 19, 2008 at 01:21 AM PDT #

Thanks man! Worked perfectly. Now have Ubuntu 8.04 and OpenSolaris 8.05 working happily on the same drive.

Posted by Mourngrym on May 28, 2008 at 01:42 AM PDT #

Just to let you know it also works with a ZFS root.

Posted by JC on July 28, 2010 at 06:23 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

I am a tech geek and have a passion for technology. Currently I work in the software division of Sun Microsystems supporting XML tooling, and Python support in the NetBeans IDE.

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today
Bookmarks