Pavan,

Thanks for assistance.

The Grub entry  'root (hd0,2) was indeed working before my upgrade to 137.

When I specify 'root (hd0,1)', even with chainloader +1, I get 'Invalid system disk' error (something similar)

The last 10 characters of /dev/sda2 are not '*SWAP*'

s...@alcapone-3:~$ sudo dd if=/dev/sda2 bs=4096 count=1 | od -c | tail
1+0 records in
1+0 records out
4096 bytes (4.1 kB) copied, 0.000517105 s, 7.9 MB/s
0001540   h   d       2   5   5       s   e   c       6   3  \0  \0  \0
0001560  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
*
0001700  \0  \0  \0  \0  \0  \0  \0  \0 231   c  \0  \0 227   c  \0  \0
0001720 002  \0  \0  \0 377  \0  \0  \0   ?  \0  \0  \0 001  \0  \0  \0
0001740  \0  \0 020 016  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
0001760  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0 276 332   \   T
0002000  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
*
0010000

Any thing else to try? Thanks.

-Siva


On Tuesday 27 April 2010 06:12 PM, pavan chandrashekar wrote:
Sivakumar Shanmugasundaram wrote:
Pavan,

Here is the fdisk -l output. OpenSolaris partition is the active
partition.

hmmm...

Then, your grub entry should really be:

------------------
root (hd0,1)
chainloader +1
boot
------------------

and not:

root (hd0,2)

I think GRUB starts counting the partitions from 0.

If even this does not resolve the matter, check if the solaris partition
has been used as SWAP by Linux.

Try:

dd if=/dev/sda2 bs=4096 count=1 | od -c

and see if the last 10 characters in the output of "od -c" is SWAP_SPACE
or SWAPSPACE2

Pavan


s...@alcapone-3:~$ sudo fdisk -l

Disk /dev/sda: 250.1 GB, 250056000000 bytes
255 heads, 63 sectors/track, 30400 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00022e93

Device Boot Start End Blocks Id System
/dev/sda1 1 7 56196 12 Compaq diagnostics
/dev/sda2 * 8 25504 204804652+ 82 Linux swap / Solaris
/dev/sda3 25505 30400 39327120 5 Extended
/dev/sda5 25505 25747 1951866 82 Linux swap / Solaris
/dev/sda6 25748 30400 37375191 83 Linux

-Siva

On Tuesday 27 April 2010 04:37 PM, pavan chandrashekar wrote:
Sivakumar Shanmugasundaram wrote:
I have been switching between OpenSolaris and Ubuntu (Lucid Lynx).
I had installed OpenSolaris first and then Ubuntu. So, Ubuntu's
Grub2 became my boot manager.
It was working fine, till I did a upgrade to OpenSolaris build 137
(internal bits). A reboot from OpenSolaris worked. But, after a hard
reboot, with GRUB2 failed.
After choosing 'OpenSolaris' from my Grub menu ("root (hd0,2);
chainloader +1; boot), all I see now is the blinking cursor instead
of OpenSolaris' grub.
Any help on how to get back to OpenSolaris (I am stuck with Ubuntu
now). Thanks.

When it was working, what build of OpenSolaris were you using?

Try making the partition on which OpenSolaris resides as the active
partition, and see if things work.

A partition map - output of "fdisk -l" from the linux installation
will help understand the problem better.

Pavan

_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to