Hi,

I have openSolaris installed on sda4 alongside several linux on sda2 
(extended), PC-BSD on sda3 and Windows 7 on sda1. In addition I have 4 more 
Linux on sdc2 (extended). During Solaris install I used grub to hide sda2 in 
order to hide swap and stuff. Solaris installed its GRUB on MBR, I used GRUB CD 
to unhide sda2 post install. Solaris GRUB picked up Windows and went on 
commenting several ext4 partitions on sdc2. I edited the 
/rpool/boot/grub/menu.lst and added sda2 and sdc2 Linux titles in it.

Here is my /rpool/boot/grub/menu.lst -

[code]
splashimage /boot/grub/splash.xpm.gz
background 215ECA
default 25
timeout 30
#---------- ADDED BY BOOTADM - DO NOT EDIT ----------
title OpenSolaris Development snv_134
findroot (pool_rpool,3,a)
bootfs rpool/ROOT/opensolaris
splashimage /boot/solaris.xpm
foreground d25f00
background 115d93
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=graphics
module$ /platform/i86pc/$ISADIR/boot_archive
#---------------------END BOOTADM--------------------

title Windows 7 Ultimate Edition x64
        rootnoverify (hd0,0)
        chainloader +1

title FreeBSD 8.1 i386
        rootnoverify (hd2,0)
        chainloader +1

title PC-BSD amd64
        rootnoverify (hd0,2)
        chainloader +1

title CentOS-base (2.6.18-194.el5) (on /dev/sda6)
        root (hd0,5)
        kernel /boot/vmlinuz-2.6.18-194.el5 ro root=/dev/sda6 rhgb quiet
        initrd /boot/initrd-2.6.18-194.el5.img

title PCLinuxOS
        root (hd0,7)
        configfile /boot/grub/menu.lst

title Simply Mepis
        root (hd0,9)
        configfile /boot/grub/menu.lst

title Chakra Linux
        root (hd0,11)
        configfile /boot/grub/menu.lst

title Fedora 13 x86_64
        root (hd0,13)
        configfile /boot/grub/menu.lst

title Mandriva Spring 2010.1 x86_64
        root (hd0,15)
        configfile /boot/grub/menu.lst

title Calculate Linux x86_64
        root (hd0,17)
        configfile /boot/grub/menu.lst

title Arch Linux
        root (hd0,18)
        configfile /grub/menu.lst

title openSUSE 11.3 x86_64
        root (hd0,22)
        configfile /boot/grub/menu.lst

title caeLinux amd64
        root (hd0,24)
        kernel /vmlinuz root=/dev/sda25 ro quiet splash
        initrd /initrd.img

title Ubuntu Studio 10.04 amd64
        root (hd0,26)
        kernel /vmlinuz root=/dev/sda27 ro quiet splash
        initrd /initrd.img

title Linux Mint 9 amd64
        root (hd0,28)
        kernel /vmlinuz root=/dev/sda29 ro quiet splash
        initrd /initrd.img

title openSUSE 11.2 - 2.6.31.14-0.4
        root (hd0,30)
        configfile /boot/grub/menu.lst

title Debian 506 amd64
        root (hd2,4)
        configfile /boot/grub/menu.lst

title Gentoo Linux 2.6.34-gentoo-r12
        root (hd2,6)
        configfile /boot/grub/menu.lst

title Kubuntu amd64 10.10
        root (hd0,34)
        kernel /vmlinuz root=/dev/sda35 ro quiet splash
        initrd /initrd.img

title Slackware64-13.1
        root (hd0,32)
        kernel /boot/vmlinuz root=/dev/sda33
        boot

title Salix
        root (hd2,7)
        chainloader +1

title vector Linux 6.0
        root (hd2,13)
        kernel /boot/vmlinuz root=/dev/sdc14
        boot

title Frugalware-x86_64-1.3
        root (hd2,9)
        kernel /boot/vmlinuz root=/dev/sdc10
        boot

title Scientific-Linux 5.5
        root (hd2,11)
        configfile /boot/grub/menu.lst
#---------- ADDED BY BOOTADM - DO NOT EDIT ----------
title Solaris Development snv_134 X86
findroot (pool_rpool,3,a)
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
module$ /platform/i86pc/$ISADIR/boot_archive
#---------------------END BOOTADM--------------------
[/code]

Later I updated the grub but it wont boot Linux from sda2. I installed SUSE 
GRUB with GRUB CD, which now boots Solaris and others. I now have a recusive 
GRUB menu. Did some research and found out that it is better to use Solaris 
GRUB to chainload or boot other OS. I will like to try Solaris GRUB to boot 
Linux and the rest. 

Best,

David
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to