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
[email protected]

Reply via email to