Hi,

Try the following commands at the GRUB prompt

find   /rpool/boot/grub/menu.lst
find /boot/grub/menu.lst

What do these show ?

Vikram



----- Original Message ----
From: James Cornell <[EMAIL PROTECTED]>
To: sanjay nadkarni (Laptop) <[EMAIL PROTECTED]>
Cc: [email protected]
Sent: Tuesday, August 5, 2008 1:16:35 PM
Subject: Re: [indiana-discuss] grub don't boot OpenSolaris 2008.05 after one 
reboot

sanjay nadkarni (Laptop) wrote:
> Luca Morettoni wrote:
>  
>> Hi, I have installed and used OpenSolaris on a single installation for a
>> long time. Now on my laptop I buy a new big HD (320G) to be shared with
>> WinXP and OpenSolaris.
>> First I have installed WinXP on a 60G partition, then I installed
>> OpenSolaris with any problem, at the end of installation I reboot the
>> system, ALL work fine, I see grub menu and I choose to boot
>> opensolaris... the system is ok (remember, I don't touch nothing on the
>> disk), but when I reboot again the problem, I get the grub menu (GRUB> )
>> and nothing start...
>> Any hints?
>>
>>  
>>    
> Admittedly this is a bit of puzzle since you were able to boot it 
> successfully once.   Is it possible that when you rebooted the second 
> time, the BIOS is picking up the wrong disk ? i.e. are there two disks 
> on this system ?  Can you check the boot order via the bios ?
>
>
> -Sanjay
>
>
> _______________________________________________
> indiana-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
>  
So I've not seen this, but maybe the boot order changed for some 
reason.  I don't see why the mbr would had been clobbered, even if the 
Solaris ramdisk was corrupted since the grub files are not dependent on 
the state of the ramdisk, which is the only real potentially breakable 
part of Solaris initialization.  It's possible the grub.conf got messed 
up though, which would result in the grub prompt being the only thing 
showing up.  You can boot the Windows and OpenSolaris systems through 
grub console.  You'd boot Windows something like this:

rootnoverify (hd0,0)
chainloader +1
boot

OpenSolaris is a little more trickey because it uses boot environments 
so you'd need to do something like this:

findroot (pool_rpool,1,a)
bootfs /rpool/RPOOL/opensolaris-5
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
module$ /platform/i86pc/$ISADIR/boot_archive
boot

* Type 'help' and there's a command to show devices, forgot what
* Tab complete works for some functions but not others, you could for 
example try bootfs /rpool/ROOT/[tab]

James
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to