LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-24-2008, 03:06 PM   #1
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,363

Rep: Reputation: 135Reputation: 135
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 ?
 
Old 09-24-2008, 03:10 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
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
 
Old 09-24-2008, 03:18 PM   #3
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,363

Original Poster
Rep: Reputation: 135Reputation: 135
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
 
Old 09-24-2008, 03:32 PM   #4
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
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
 
Old 10-05-2008, 01:57 PM   #5
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,363

Original Poster
Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by ilikejam View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Cool distro of the day: Damn Small Solaris (yes, I said Solaris) LXer Syndicated Linux News 0 02-26-2008 02:20 AM
LXer: Compiz on Solaris x86 - Eye Candy for Solarisís Desktop LXer Syndicated Linux News 1 05-30-2007 03:31 PM
LXer: Hp Puts Solaris on More X64 Servers, Partners for Solaris Emulation LXer Syndicated Linux News 0 02-07-2007 08:21 AM
great solaris website for newbies http://solaris-x86.org/ feetyouwell Solaris / OpenSolaris 2 12-06-2006 01:14 AM
LXer: Sun Brings Green Back to Run Java, Solaris, Other Software LXer Syndicated Linux News 0 05-07-2006 12:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration