On Nov 26, 2007 10:03 PM, Andrew Myers <[EMAIL PROTECTED]> wrote:

> Hi,
>
> Thanks for your suggestions.
>
> I have everything on a single drive which might be part of the problem.  I
> guess I will have to try it again and see what the expect error I was
> getting is and then I can also post my grub.conf for some further help if
> I am still stuck.
>

Single drive shouldn't be an issue...

Check here:
http://murmuria.wordpress.com/2007/07/05/dual-boot-opensolaris-and-linux/
and here:
http://www.linuxquestions.org/questions/solaris-opensolaris-20/how-to-use-grub-to-boot-the-triple-os-windowslinuxsolaris-298718/

The key is that grub has to be installed in the boot record of the linux
partition  for the aforementioned procedures to work.  At least on my Ubuntu
FF x64 installation, it wasn't installed on the partition, but instead it
was on the MBR only.   When SXCE installed, it wrote the Solaris-capable
grub over it..  I had to:
1) Boot with the Ubuntu liveCD
2) #> grub
3) grub> Root(hd0,0)
4) grub> setup(hd0,0)  <-- this was what put the linux capable grub on the
boot record of the first partition (the Ubuntu partition), so that the
chainloader specified in the opensolaris grub's menu.lst would work.

This means that on my work PC:
MBR has Grub installed from OpenSolaris SXCE (it understand UFS, can get at
its menu.lst, and can load OpenSolaris).
It has the menu.lst similar to what's described in those web links. (2 or 3
definitions for OpenSolaris booting + my custom linux definition)
It can either load OpenSolaris from the *2nd* partition (via the kernel and
module directives), OR
chainload the boot record found on the *1st* partition (which is itself
another instance of GRUB that knows how to boot linux off of ext2/3)

Note that I can only confirm this works for SXCE 77 and Ubuntu 7.04 x64.
Indiana *may* be different.  Other Linux's may actually put grub in the
partition boot record as well (which would explain why some blog/forum links
on this topic don't mention having to put grub on the partition and not the
MBR via setup(hd0,#PARTITION).  Note also that my system has Sata so my
drives were actually designated sd0 and not hd0.

Hope that helps,
Mark
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to