LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 07-23-2008, 05:02 PM   #1
tschima
Member
 
Registered: Apr 2006
Location: Wisconsin
Distribution: LinuxMint, knoppix, Solaris
Posts: 109

Rep: Reputation: 15
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
 
Old 07-23-2008, 07:43 PM   #2
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
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
 
Old 07-23-2008, 08:35 PM   #3
tschima
Member
 
Registered: Apr 2006
Location: Wisconsin
Distribution: LinuxMint, knoppix, Solaris
Posts: 109

Original Poster
Rep: Reputation: 15
Thanks so much for that, no I couldn't spot the problem. And thanks for the helpful web sites.

T
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help w/ GRUB, menu.lst, dual boot Windows XP ryanryan Linux - Newbie 11 04-05-2007 08:26 PM
Right way to edit /boot/grub/menu.lst ? eeried Linux - Software 2 02-07-2007 08:59 AM
Grub will not let me add Windows XP to menu.lst BillyGalbreath Linux - General 7 12-27-2005 02:39 PM
Lost boot/grub/menu.lst MRDucks Linux - Newbie 12 12-17-2005 01:44 PM
need to access /boot/grub/menu.lst and /boot/grub/device.map neouto Linux - Newbie 8 09-04-2005 11:45 AM


All times are GMT -5. The time now is 02:15 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration