Advertisement

09.11.2003 at 02:59PM PDT, ID: 20736369
[x]
Attachment Details

grub.conf / dual boot redhat 9 and WinXP

Asked by helpmealot in Linux Setup

Tags: ,

Hello,

My guess is that this question has been asked hundreds of times and will thus be an easy 250 points for someone :)  Enjoy.

Here is my hard drive configuration (view in monotype font for better readability)

===========================================================================================================
Partition Information for Disk 1:    28,623.6 Megabytes
Volume         PartType    Status    Size MB    PartSect  #   StartSect  TotalSects
===========================================================================================================
               Linux Ext3  Pri,Boot    101.9           0  1          63     208,782
               Linux Ext3  Pri      20,528.4           0  2     208,845  42,042,105
*:SWAPSPACE2   Linux Swap  Pri       1,992.4           0  3  42,250,950   4,080,510
               ExtendedX   Pri       6,000.8           0  0  46,331,460  12,289,725
Info: MBR Partition Table not in sequential order.
               EPBR        Log       6,000.8        None --  46,331,460  12,289,725
E:LINUX CDS    FAT32       Log       6,000.8  46,331,460  0  46,331,523  12,289,662


===========================================================================================================
Partition Information for Disk 2:    43,974.8 Megabytes
Volume         PartType    Status    Size MB    PartSect  #   StartSect  TotalSects
===========================================================================================================
               Unallocated Pri           7.8        None --          63      16,002
               ExtendedX   Pri,Boot 43,967.0           0  0      16,065  90,044,325
               EPBR        Log       8,001.1        None --      16,065  16,386,300
F:             NTFS        Log       8,001.1      16,065  0      16,128  16,386,237
               Unallocated Log      35,965.8        None --  16,402,365  73,658,025


===========================================================================================================
Partition Information for Disk 3:    190,779.7 Megabytes
Volume         PartType    Status    Size MB    PartSect  #   StartSect  TotalSects
===========================================================================================================
C:             NTFS        Pri,Boot 49,999.1           0  0          63 102,398,247
               ExtendedX   Pri      140,780.5           0  1 102,398,310 288,318,555
               EPBR        Log      140,780.5        None -- 102,398,310 288,318,555
D:             NTFS        Log      140,780.5 102,398,310  0 102,398,373 288,318,492

Additional information:
Disk 1 (30gb) is connected to the Primary IDE controller and set to Master
Disk 2 (45gb) is connected to the Primary IDE controller and set to Slave
Disk 3 (200gb) is connected to a separate PCI controller (Promise Ultra100 TX2).  Disk3 is the only device on this controller and is configured as "Single"

Windows XP is installed on Disk3.
Disk 1 has a FAT32 partition for holding Linux setup CD images, and Disk1 holds the Linux installation itself.

When I setup Linux, I had it install GRUB to the MBR of disk1.  I reconfigured the system BIOS to boot from disk1 instead of disk3.  Thus, when the computer boots, I'm presented with the GRUB menu from which I can choose which OS to boot.  Unfortunately, if I choose "Windows" it does not boot.  It spits out:

"Booting Windows
rootnoverify (hd0, 4)
chainloader +1"

and then sits there.

Linux boots fine from this menu.

I am still able to get into Windows by changing the BIOS setting to boot from disk3 instead of disk1.  This is cumbersome, and is what this question is about:
How do I reconfigure GRUB so that it boots windows properly on this system?

Here is the /boot/grub/grub.conf file:

==============
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,1)
#          kernel /vmlinuz-version ro root=/dev/hda3
#          initrd /initrd-version.img
#boot=/dev/hda
default=2
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Linux (2.4.20-8smp)
      root (hd0,1)
      kernel /vmlinuz-2.4.20-8smp ro root=LABEL=/ hdd=ide-scsi
      initrd /initrd-2.4.20-8smp.img
title Linux-up (2.4.20-8)
      root (hd0,1)
      kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdd=ide-scsi
      initrd /initrd-2.4.20-8.img
title Windows
      rootnoverify (hd0,4)
      chainloader +1
==============

I am confident the problem lies with the line: "rootnoverify (hd0,4)" but I am unsure what values to put in there.  So, how do I tweak the above grub.conf file so that I can boot Windows XP and Linux?

Thanks!Start Free Trial
 
Loading Advertisement...
 
[+][-]09.11.2003 at 05:09PM PDT, ID: 9341195

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.11.2003 at 06:04PM PDT, ID: 9341371

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.11.2003 at 06:28PM PDT, ID: 9341463

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.12.2003 at 07:59AM PDT, ID: 9346340

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.12.2003 at 04:08PM PDT, ID: 9349567

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.12.2003 at 04:31PM PDT, ID: 9349688

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.12.2003 at 04:46PM PDT, ID: 9349757

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.12.2003 at 05:24PM PDT, ID: 9349912

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.12.2003 at 05:33PM PDT, ID: 9349947

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.12.2003 at 05:39PM PDT, ID: 9349970

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.12.2003 at 05:52PM PDT, ID: 9350005

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.12.2003 at 06:18PM PDT, ID: 9350111

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.12.2003 at 06:27PM PDT, ID: 9350167

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.13.2003 at 05:51AM PDT, ID: 9352566

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.13.2003 at 08:08AM PDT, ID: 9353121

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.13.2003 at 08:11AM PDT, ID: 9353139

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.13.2003 at 05:22PM PDT, ID: 9354829

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Linux Setup
Tags: grub, boot
Sign Up Now!
Solution Provided By: churcher
Participating Experts: 5
Solution Grade: A
 
 
[+][-]09.13.2003 at 05:33PM PDT, ID: 9354873

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.15.2003 at 11:44AM PDT, ID: 9365118

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.15.2003 at 02:26PM PDT, ID: 9366281

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.15.2003 at 02:52PM PDT, ID: 9366453

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.29.2004 at 02:13AM PST, ID: 10479502

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.09.2004 at 02:29PM PDT, ID: 12021688

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32