Triple boot using Grub (Windows XP, Solaris 10, Oracle Enterprise Linux (based on Red Hat 4))
- From: Sameer <dolpheen@xxxxxxxxx>
- Date: Thu, 05 Jul 2007 01:40:44 -0700
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
.
- Prev by Date: Re: Assembler?
- Next by Date: Re: Bash etc.
- Previous by thread: Libraries
- Next by thread: Clean up for kill -9?
- Index(es):
Relevant Pages
|