In my earlier post , I had just given a brief overview as to how you can recover your favorite OS after you install windows.
A bit more in detail now,
The problem with windows is that it furnishes a single boot loader , which means that if you have Solaris/Linux installed on your machine prior to windows installation it will wipe out a part of menu.lst( more on it in a while) . So grub is not initialized and you dont get the option.
As mentioned earlier you need to pop in the Solaris disk and then enter grub ,make changes and boot .But this will only boot the Hard disk<no> / partition you specify.
In order to make this permanent and automatic… Insert the disk ,for the first time.. Follow the procedure in my previous post ,then..
Open up the terminal
# vim /boot/grub/menu.lst
navigate to the end of the file and add the following.
[here in my case solaris was installed on Hard disk<0>, and partition ‘c’, it wil be different/same in your case,look into that first. ] .This will bring up only the solaris kernel on the grub screen. (Obvious since you’ve just updated menu.lst to show this)
To have windows on the grub screen adopt the same method described so far to locate the partition on which windows is installed. then ,
[Again in my case it was present on HD-0 and partition 1, title <something> will give you a display name thats all, so you can have anything you want.)
Once this is set up ,save menu.lst and then reboot.
You will see both the kernel displayed ,choose Solaris 🙂
Let me know if anyone of you still have any issues… Will be glad to help 🙂
PS: All this works under the presumption that you have actually installed windows on separate partition and on which Solaris was, or else you’ve just wiped out Solaris from your machine… (DONT REMOVE SOLARIS!!)