LinuxQuestions.org
Visit Jeremy's Blog.
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 03-12-2006, 01:34 PM   #1
zillah
Member
 
Registered: Oct 2004
Posts: 535

Rep: Reputation: 30
Linux GRUB and Solaris 10 1/06 GRUB


I have two Hard disks, on Primary master I installed windows (XP and 2003).

On the Primary Slave I installed FC4 and Mandrake 10, and Solaris V10 1/06 (with grub) on hdb1.

I configured FC4 bootloader (installed into MBR) to point to the location of Solaris [hdb1 or as GRUB read it (hd1,0)], and Mandrake 10.

I can boot FC4 and Manadrake without any problem.

The last OS that I have installed is Solaris 10 (1/06 support GRUB),I used Solaris CD1,and when CD has installed every thing , the system rebooted.

I have not touch FC4 Bootloader which resides into MBR.


When Solaris option is selected form the Linux GRUB menu, I received another GRUB menu (Solaris GRUB menu) then I chose form Solaris GRUB menu this :
'Solaris 10 1/06 s10x_u1wos_19a X86'

I received this error:

Code:
Booting 'Solaris 10 1/06 s10x_u1wos_19a X86'

root (hd0,0,a)

Error 22: No Such partition

Press any key to continue
Note: Still I have not installed Solaris CD2, 3,4

What should I do to fix the GRUB boot ?

Do I need to fix Linux GRUB or Solaris GRUB ?
 
Old 03-13-2006, 05:59 AM   #2
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,147

Rep: Reputation: Disabled
You need to fix Solaris Grub indeed. (I'd use only one Grub though).
root (hd0,0,a) - this means: first disk, first partition, first slice - you have to correct this entry
 
Old 03-13-2006, 07:01 AM   #3
zillah
Member
 
Registered: Oct 2004
Posts: 535

Original Poster
Rep: Reputation: 30
Quote:
You need to fix Solaris Grub indeed.
But how can I fix it ?

Quote:
(I'd use only one Grub though).
How can I avoid installing Solaris's GRUB , is there an option during installation let you not to install Soalris GRUB ?

Quote:
root (hd0,0,a) - this means: first disk, first partition, first slice - you have to correct this entry
Where can i find that entry to correct it ?

What I did , I added entry into Linux GRUB pointing to solaris partition , whic is : (hd1,0),,,,is this right configuration ?
 
Old 03-27-2006, 03:04 PM   #4
zillah
Member
 
Registered: Oct 2004
Posts: 535

Original Poster
Rep: Reputation: 30
Any comment ?
 
Old 03-27-2006, 04:42 PM   #5
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,147

Rep: Reputation: Disabled
This is simple. Press e when at Solaris GRUB menu. Edit this 'root (hd0,0,a)' line to match your actual disk layout. Boot. From within Solaris edit the menu.lst file to correct this entry. Later you can copy a section from this file into Linux GRUB menu.lst so Solaris can be booted directly from there.
 
Old 03-27-2006, 04:55 PM   #6
zillah
Member
 
Registered: Oct 2004
Posts: 535

Original Poster
Rep: Reputation: 30
Quote:
This is simple. Press e when at Solaris GRUB menu. Edit this 'root (hd0,0,a)' line to match your actual disk layout. Boot.
I tired that before I posted (post#4), but it did not work.
 
Old 03-28-2006, 01:49 PM   #7
imitheos
Member
 
Registered: May 2005
Location: Greece
Posts: 420

Rep: Reputation: 90
Quote:
Originally Posted by zillah
I tired that before I posted (post#4), but it did not work.
What did you put as a value ?

When you press "e" to edit you need to choose the correct layout as Emerson suggested.

The solaris partition is on the second disk so hd0 -> hd1.
What is the solaris partition ? e.g if it is the third partition then the right command will be
(hd1,2,a)

If you don't know then you can use an alternate method. GRUB supports a more generic command which is (hd1,a)
This will search all the partitions that are mentioned in the MBR and find which one has an "a" subpartition (or
slice/partition if you prefer the BSD terminology)

So, put (hd1,a) and see if it works.
 
Old 03-28-2006, 02:34 PM   #8
zillah
Member
 
Registered: Oct 2004
Posts: 535

Original Poster
Rep: Reputation: 30
Quote:
The solaris partition is on the second disk so hd0 -> hd1.
You meant here hdb instead of hd0,,,,,didn't you,,,because grub reads hdb as hd1 ?

Quote:
So, put (hd1,a) and see if it works.
I have not tried the one that you have mentioned, but when I read Emerson's post , it push me to try all the possibilty that I can use for editing (except yours). The one that has gone through successfuly was:

(hd1,0)without using letter 'a'.

Last edited by zillah; 03-28-2006 at 02:36 PM.
 
Old 03-29-2006, 03:29 AM   #9
geram
LQ Newbie
 
Registered: Nov 2005
Posts: 7

Rep: Reputation: 0
I have the same problem.
I installed solaris 10, but I don't
know how to make an entry to linux grub so I
can boot solaris.
Does anyone know a corret syntax?
(Don't mind in which disk I installed solaris; I already know)
Thanks
 
  


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
How to use grub to boot the triple OS: windows,linux,solaris? chuanweizuo Solaris / OpenSolaris 6 09-22-2006 06:10 AM
How do I use GRUB to boot linux at grub prompt? Trillseker Linux - Newbie 3 12-11-2005 08:26 PM
How do I use GRUB to boot linux at grub prompt? Mustbox Linux - General 2 02-15-2005 01:01 PM
boot stops at GRUB GRUB linux never boots coffeedemon Slackware 4 11-09-2004 02:20 PM
How do I use GRUB to boot linux at grub prompt? Trillseker Linux - General 5 06-19-2003 06:23 PM

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

All times are GMT -5. The time now is 02:59 AM.

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