grub failing to start windows

two physical hard drives, one with XP and the other with Solaris 10.

Grub shows Windows as an option, but can not start it.

I edited the menu.lst trying each of

rootnoverify(hd0,0)

rootnoverify(hd1,0)

rootnoverify(hd0,1)

and nothing works. I did the update after editing.

the end of the menu.lst says there is unknown partition of type 15 mapped to (hd0,1)

pls help.

stephen

[436 byte] By [stephen_ba] at [2007-11-27 1:52:03]
# 1
Hello.How does your menu.lst exactly look like (you may remove comment lines)?What happens if you select "Windows" in the Grub boot menu?Thanks.Martin
Martin_Rosenaua at 2007-7-12 1:20:32 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2

Martin,

can you tell me how can I copy the file to a floppy?

when I enter Solaris in console mode (still unable to fix the X server) I do not see /floppy

there is /dev/rdiskette though.

I tried to mount that but my mounting is not very good.

or if you can tell me how to copy to the XP drive that will be even better.

otherwise I have to copy by hand and then type in.

or how can I read the Solaris drive from XP? it does not show as a drive at all.

forgive my Unix :-(

stephen_ba at 2007-7-12 1:20:32 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 3

Hello.

Typically you mount a floppy under Solaris using:

mount -F pcfs /dev/rdiskette /mnt

(/mnt is the name of the directory where to mount the diskette)

Don't forget to unmount the diskette before removing it.

You can read Solaris drives from XP using the "Read UFS" tool (ufsreadbin.zip) from http://sourceforge.net/project/showfiles.php?group_id=169514

Martin

Martin_Rosenaua at 2007-7-12 1:20:32 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 4

Martin,

the mount did not work. it says "Block device needed"

anyway I copied by hand:

******************************************

title Solaris 10 11/06 s10x_u3wos_10 X86

root (hd0,0,a)

kernel /platform/i86pc/multiboot

module /platform/i86pc/boot_archive

title Solaris failsafe

root (hd0,0,a)

kernel /boot/multiboot kernel/unix -s

module /boot/x86.mini root-safe

title Windows

rootnoverify (hd0,0)

chainloader +1

#Unknown partitition of type 15 found on /dev/rdsk/c0d0p0 partition: 2

# it maps to the GRUB device (hd0,1)

**********************************************

I can see there are two disks in /dev/rdsk as there are slices starting with c0 and c1. c1 has a lot more slices and I think it is the XP drive which is 4 times bigger than the Solaris drive.

again, I tried editing the menu.lst as

(hd1,0)

(hd0,1)

and it did not work.

thank you very much.

stephen_ba at 2007-7-12 1:20:32 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 5

Hello.

It was my fault. The diskette drive is /dev/diskette (for mount; /dev/rdiskette for other tools such as formating).

A partition type of 15 indicates an "extended" partition in the Win95 style.

Are you sure that the Windows XP partition is located on the same disk as GRUB (Windows cannot be booted from another disk) and - if yes - that it is bootable (primary partition etc...) at all?

Martin

Martin_Rosenaua at 2007-7-12 1:20:32 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 6
Windows is on a separate hd from Solaris.GRUB is on the Solaris hd.Is there a way to handle that?
stephen_ba at 2007-7-12 1:20:32 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...