How to Add XP to GRUB

turunturun

Member
Sep 6, 2000
171
0
0
Googled it and couldn't find help related to my specific circumstances.
I installed XP on SCSI drive ID4. Installed Kubuntu on SCSI drive ID6. Now no matter which ID I specify for boot (both in mobo bios and 2940U2W bios) it boots to Kubuntu. When hitting ESC at boot for GRUB menu, only 3 kubuntu entries are present. After googling, I found advice suggesting adding the following to .lst file:

title Windows
root (hd0,1)
chainloader +1

That is syntax for IDE drives. What should the entry read for SCSI? Maybe:

title Windows
root (hd4,0)
chainloader +1

Total guess. This is my first excursion with Linux, sorry for the noob stuff.
Thanks!
 

Forsythe

Platinum Member
May 2, 2004
2,825
0
0
Originally posted by: turunturun
Googled it and couldn't find help related to my specific circumstances.
I installed XP on SCSI drive ID4. Installed Kubuntu on SCSI drive ID6. Now no matter which ID I specify for boot (both in mobo bios and 2940U2W bios) it boots to Kubuntu. When hitting ESC at boot for GRUB menu, only 3 kubuntu entries are present. After googling, I found advice suggesting adding the following to .lst file:

title Windows
root (hd0,1)
chainloader +1

That is syntax for IDE drives. What should the entry read for SCSI? Maybe:

title Windows
root (hd4,0)
chainloader +1

Total guess. This is my first excursion with Linux, sorry for the noob stuff.
Thanks!

Well, find out what partition windows is on, it might be sd1 (s as in scsi).
But i know windows is a pita about running from the first partition on a drive.
 
Dec 29, 2005
89
0
0
like forsythe said the drive is probably called sd? (i.e. sd4) in linux and that is what you will have to call it in the grub menu. but also if you have more than one physical drive (which i believe you said you do have) then windows needs to be recognized as the primary drive or it's bootloader will not work. for an example, here is how my system is configured:

2x ide hdd

hd0 - first drive - debian
hd1 - second drive - winxp

grub entry for windows

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

(i think the boot line is unnecessary for windows, as the chainloader part should start the windows boot loader).
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
That is syntax for IDE drives. What should the entry read for SCSI? Maybe:

The ID has nothing to do with it, GRUB knows nothing about your SCSI controller. If you only have two drives they'll be usable as hd0 and hd1. Since the XP drive is ID4 and the Ubuntu drive is ID6 chances are the XP drive will be hd0 and the Ubuntu drive hd1.

like forsythe said the drive is probably called sd? (i.e. sd4) in linux and that is what you will have to call it in the grub menu

No, GRUB uses BIOS access so all drives are hd*.
 

turunturun

Member
Sep 6, 2000
171
0
0
Thanks for the responses guys. I will try this tonight.

The hd0, hd1 etc are established in the way that the device.map names them, correct? So as nman was saying the device.map would ID them by HD. I have seen people reference their SCSI drives in the GRUB file as SD1, etc. I wonder what that was all about?
Thanks again
 

turunturun

Member
Sep 6, 2000
171
0
0
Got it working gang, thanks so much for the input. I added:
title Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
boot

and that did it.... mucho gracias
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |