LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (http://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   grub menu.lst Won't boot Windows XP (http://www.linuxquestions.org/questions/solaris-opensolaris-20/grub-menu-lst-wont-boot-windows-xp-657786/)

tschima 07-23-2008 05:02 PM

grub menu.lst Won't boot Windows XP
 
Hi,

I've got Solaris XDE b91, Linux Mint 5 and WinXP installed on one machine w/two HDDs. The linux fdisk -l looks like this:

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x553ddffc

Device Boot Start End Blocks Id System
/dev/sda1 * 2 14593 117210240 bf Solaris

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
102 heads, 51 sectors/track, 187768 cylinders
Units = cylinders of 5202 * 512 = 2663424 bytes
Disk identifier: 0x000476fe

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13255 34476229+ 7 HPFS/NTFS
/dev/sdb2 13256 187768 453908313 5 Extended
/dev/sdb5 13256 53569 104856688+ 7 HPFS/NTFS
/dev/sdb6 53570 107139 139335544+ 7 HPFS/NTFS
/dev/sdb7 107140 108677 4000312+ 83 Linux
/dev/sdb8 108678 112522 10000819+ 83 Linux
/dev/sdb9 112523 113291 2000143+ 83 Linux
/dev/sdb10 113292 114444 2998927+ 83 Linux
/dev/sdb11 114445 115213 2000143+ 82 Linux swap / Solaris
/dev/sdb12 115214 187768 188715529+ 83 Linux

and the Solaris menu.lst looks like this:

#---------------------END BOOTADM--------------------

title Windows
rootnoverify (hd1,0)
map (hd0,hd1)
map (hd1,hd0)
chainloader +1

Well, that's the Windows portion of menu.lst. Anyway, Solaris boots just fine, Linux boots, the menu.lst in linux boots Windows or the Solaris grub. I tried copying the same line from the linux menu.lst because it boots Windows, but it still doesn't work. Any ideas? Why would they behave differently anyway? Thanks.

Terry

aus9 07-23-2008 07:43 PM

I hope you can spot a typo in the map lines?

use

map (hd0) (hd1)....and its opposite....where there is one space between ) and ( please

tschima 07-23-2008 08:35 PM

Thanks so much for that, no I couldn't spot the problem. And thanks for the helpful web sites.

T


All times are GMT -5. The time now is 05:26 AM.