[ug-bosug] A few issues

USM Bish bish at airtelbroadband.in
Fri May 11 11:01:11 PDT 2007


On Fri, May 11, 2007 at 09:39:56AM +0530, Abhishek wrote:
>
> Another major problem is that  Grub seems to have screwed up
> the Windows startup. I have two disks. Windows is on the 160
> Gb one and  the entire other 80 Gb is  for Solaris. The Grub
> menu shows me Windows, but when i go ahead with the startup,
> all i get is a blank screen with a cursor. I had to manually
> unplug the  other HDD to  startup windows. (my  personal fix
> for this is  now going to be installing Ubuntu  on the other
> disk,  along with  Solaris  -  and see  if  the Ubuntu  grub
> manages to do a better job. ;-) )
>

The above  description, gives the impression  that Solaris (80
gb is  your primary master  as seen  by the BIOS)  and Windows
(160 gb) is perhaps the primary slave or some other.

Windows can  only boot from  a primary master. If  the windows
HDD is a slave or secondary  master, you would have to map the
device to be seen as a  primary master. To check if Windows is
seen as (hd0) by grub, from the grub command line type:

root (hd0,0)

... if  this shows  as Windows  type then  windows is  seen as
the  primary master.  Unless the  windows boot  record on  the
partition  is corrupted,  it  should work.  However, if  'root
(hd1,0)'  shows windows,  then  you need  to  map the  devices
around.

I am not  sure of Solaris grub, but under  linux, I have faced
this problem  before and  I got things  working by  adding the
following to grub.conf in linux grub:

map (hd0) (hd1)
map (hd1) (hd0)

(This needs to be added before any root command).

Ref: http://www.gnu.org/software/grub/manual/grub.html
[ Para 4.2.6 ]

Just a guess ... may work. Try it out.

Bish






More information about the ug-bosug mailing list