[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

5.8

grub.conf / dual boot redhat 9 and WinXP

Asked by helpmealot in Linux Setup

Tags: grub, boot

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!
[+][-]09/11/03 05:09 PM, ID: 9341195Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/11/03 06:04 PM, ID: 9341371Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/11/03 06:28 PM, ID: 9341463Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/12/03 07:59 AM, ID: 9346340Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/12/03 04:08 PM, ID: 9349567Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/12/03 04:31 PM, ID: 9349688Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/12/03 04:46 PM, ID: 9349757Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/12/03 05:24 PM, ID: 9349912Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/12/03 05:33 PM, ID: 9349947Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/12/03 05:39 PM, ID: 9349970Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/12/03 05:52 PM, ID: 9350005Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/12/03 06:18 PM, ID: 9350111Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/12/03 06:27 PM, ID: 9350167Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/13/03 05:51 AM, ID: 9352566Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/13/03 08:08 AM, ID: 9353121Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/13/03 08:11 AM, ID: 9353139Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/13/03 05:22 PM, ID: 9354829Accepted Solution

View this solution now by starting your 30-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/03 05:33 PM, ID: 9354873Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/15/03 11:44 AM, ID: 9365118Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/15/03 02:26 PM, ID: 9366281Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/15/03 02:52 PM, ID: 9366453Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/29/04 02:13 AM, ID: 10479502Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/09/04 02:29 PM, ID: 12021688Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81