LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to get back solaris (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-get-back-solaris-672107/)

divyashree 09-24-2008 02:06 PM

how to get back solaris
 
I installed solaris 10 1st,then I installed RHEL5 .Now I am unable to access solaris,help me how will I get it back with dual booting grub ?

ilikejam 09-24-2008 02:10 PM

Hi.

We'll need to know some things...

Could you post /etc/grub/grub.conf and can you tell us what drive and partition Solaris is on?

Dave

divyashree 09-24-2008 02:18 PM

this is my grub:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,1)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-8.el5)
root (hd0,1)
kernel /vmlinuz-2.6.18-8.el5 ro root=LABEL=/ rhgb quiet crashkernel=128M@16M
initrd /initrd-2.6.18-8.el5.img
~
~
~
~
~
"/etc/grub.conf" 17L, 613C

Here in hda1 solaris is installed

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 2 1914 15366172+ bf Solaris
/dev/hda2 1915 1952 305235 83 Linux
/dev/hda3 1953 9601 61440592+ 83 Linux
/dev/hda4 9602 9729 1028160 5 Extended
/dev/hda5 9602 9729 1028128+ 82 Linux swap / Solaris

ilikejam 09-24-2008 02:32 PM

Cool cool.

Add:
Code:

title Solaris
        root (hd0,0)
        makeactive
        chainloader +1

to the end of grub.conf and you should be able to select Solaris from the grub menu.

Remove the 'hiddenmenu' and/or 'default=0' lines if the grub menu disappears too fast.

Dave

divyashree 10-05-2008 12:57 PM

Quote:

Originally Posted by ilikejam (Post 3290620)
Cool cool.

Add:
Code:

title Solaris
        root (hd0,0)
        makeactive
        chainloader +1

to the end of grub.conf and you should be able to select Solaris from the grub menu.

Remove the 'hiddenmenu' and/or 'default=0' lines if the grub menu disappears too fast.

Dave

thanks a lot,it worked


All times are GMT -5. The time now is 07:03 PM.