Triple boot using Grub (Windows XP, Solaris 10, Oracle Enterprise Linux (based on Red Hat 4))



Dear All,
Previously i was having a machine with dual boot OS's: Windows XP SP2
and Solaris 10.
I am having about 13 GB of free space on the HDD.
Now i have installed the new Oracle Enterprise Unbreakable Linux
(currently being distributed free by Oracle, yesterday i received two
dvd's from Oracle) into this free space.
Now it is a dual boot with Oracle Linux and Windows XP. Linux asked
about other OS's while setting up OS and grub but i can't provide
Solaris partition information at that time.

At present the Logical Volume Management (GNome: system-config-lvm
1.0.19 ) programs shows this information about Solaris partition.

Partition 3
/dev/sda3
Size:9.77 GB
Partition Type: Unknown
Mount Point: Unmounted
File System: No File System
Not initializable:Foreign Boot Partition
Mount Point when rebooted: None

The Grub's grub.conf contents are as follows:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this
file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,3)
# kernel /boot/vmlinuz-version ro root=/dev/sda4
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=2
timeout=5
splashimage=(hd0,3)/boot/grub/splash.xpm.gz
hiddenmenu
title Enterprise (2.6.9-42.0.0.0.1.ELsmp)
root (hd0,3)
kernel /boot/vmlinuz-2.6.9-42.0.0.0.1.ELsmp ro root=LABEL=/ rhgb
quiet
initrd /boot/initrd-2.6.9-42.0.0.0.1.ELsmp.img
title Enterprise-up (2.6.9-42.0.0.0.1.EL)
root (hd0,3)
kernel /boot/vmlinuz-2.6.9-42.0.0.0.1.EL ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.9-42.0.0.0.1.EL.img
title Windows XP Professional SP2
rootnoverify (hd0,0)
chainloader +1

I have saved the Solaris's grub file menu.lst on windows partition
(now solaris is not accessible) and its contents are:


#pragma ident "@(#)menu.lst 1.1 05/09/01 SMI"
#
# default menu entry to boot
default 0
#
# menu timeout in second before default OS is booted
# set to -1 to wait for user input
timeout 5
#
# To enable grub serial console to ttya uncomment the following lines
# and comment out the splashimage line below
# WARNING: don't enable grub serial console when BIOS console serial
# redirection is active!!!
# serial --unit=0 --speed=9600
# terminal serial
#
# Uncomment the following line to enable GRUB splashimage on console
splashimage /boot/grub/splash.xpm.gz
#
# To chainload another OS
#
# title Another OS
# root (hd<disk no>,<partition no>)
# chainloader +1
#
# To chainload a Solaris release not based on grub
#
# title Solaris 9
# root (hd<disk no>,<partition no>)
# chainloader +1
# makeactive
#
# To load a Solaris instance based on grub
#
# title Solaris <version>
# root (hd<disk no>,<partition no>,x) --x = Solaris root slice
# kernel /platform/i86pc/multiboot
# module /platform/i86pc/boot_archive
#
# To override Solaris boot args (see kernel(1M)), console device and
# properties set via eeprom(1M) edit the "kernel" line to:
#
# kernel /platform/i86pc/multiboot <boot-args> -B
prop1=val1,prop2=val2,...
#
#---------- ADDED BY BOOTADM - DO NOT EDIT ----------
title Windows XP Professional SP2
rootnoverify (hd0,0)
chainloader +1

title Solaris 10 11/06 s10x_u3wos_10 X86
root (hd0,2,a)
kernel /platform/i86pc/multiboot
module /platform/i86pc/boot_archive
#---------------------END BOOTADM--------------------
#---------- ADDED BY BOOTADM - DO NOT EDIT ----------
title Solaris failsafe
root (hd0,2,a)
kernel /boot/multiboot kernel/unix -s
module /boot/x86.miniroot-safe
#---------------------END BOOTADM--------------------


# Unknown partition of type 15 found on /dev/rdsk/c1d1p0 partition: 2
# It maps to the GRUB device: (hd0,1) .



Now I am asking how to update the Oracle Linux's grub.conf file so as
to make the system triple boot.

I tried by adding

title Solaris 10 11/06 s10x_u3wos_10 X86
root (hd0,2,a)
kernel /platform/i86pc/multiboot
module /platform/i86pc/boot_archive

at the end, but when chosen in the menu at the time of boot, it says
'No such partition exists'

How to refer /dev/sda3 (Solaris partition) in the grub.conf ( root
(hd0,2,a) ???) ?

Please help me in creation of grub.conf.
Can i make it triple boot?

Thanks in advance.

-Sameer Shinde

.



Relevant Pages

  • Re: Dual Boot of Solaris 10u7/Vista
    ... First 250 GB partition will be left unallocated for Solaris and second ... 250 GB partition will be NTFS format. ... windows MBR so you would have to get grub back somehow. ... Backup is accomplished in normal Windows mode, but restore requires boot ...
    (comp.unix.solaris)
  • Re: Solaris 10 / Express / 11 without GRUB?
    ... I have a box that I'd like to install Solaris Express on. ... The kernel no longer uses real mode drivers when booting under GRUB. ... I suppose it's possible to put all the boot stuff in a separate boot ...
    (comp.unix.solaris)
  • Re: Dual Boot of Solaris 10u7/Vista
    ... elaborate meaning of "make partition active". ... I'll consider running boot repair should this happen again. ... grub is the "grand unified boot loader" and is used by linux and ... used by solaris installations. ...
    (comp.unix.solaris)
  • Re: sunmanagers Digest, Vol 8, Issue 7 ... Slow Boot Up
    ... Just checking if we have the same cause for slow boot up? ... Solaris 8 Problem After Patches Installed ... Using PuTTY to send Control-? ... After installation of Solaris 8 on E250 I had to install Raptor GFX Open ...
    (SunManagers)
  • Re: sparc 10 hanging
    ... could mount the disk and edit a file to reset the time ... Which is apparently updated every time anything is written to the boot ... So, since they are so similar between SysV (Solaris) and BSD, I ... would expect the entry in the equivalent file for SunOs 4.1.3 (a BSD ...
    (comp.sys.sun.hardware)