LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux GRUB and Solaris 10 1/06 GRUB (https://www.linuxquestions.org/questions/linux-newbie-8/linux-grub-and-solaris-10-1-06-grub-424164/)

zillah 03-12-2006 01:34 PM

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 ?

Emerson 03-13-2006 05:59 AM

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

zillah 03-13-2006 07:01 AM

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 ?

zillah 03-27-2006 03:04 PM

Any comment ?

Emerson 03-27-2006 04:42 PM

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.

zillah 03-27-2006 04:55 PM

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.

imitheos 03-28-2006 01:49 PM

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.

zillah 03-28-2006 02:34 PM

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'.

geram 03-29-2006 03:29 AM

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


All times are GMT -5. The time now is 06:18 AM.