Grub.confDual Boot Redhat 9 and WinXP

xiaoxiao2021-03-06  41

Http://www.experts-exchange.com/opuerating_systems/linux/linux_setup/q_20736369.html

Hello,

MY GUESS ISKED HUNDREDS OF TIMES AND WILL THUNDS OF TIMES AND WILL THUSBEONE :) enjoy.

Here Is My Hard Drive Configuration (View in monotype font for better ie

============================================================================================================================================================================================================= ============================================================================================================================================================================================================= =======

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,725info: 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 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,237unallocated log 35,965.8 none - 16,402,365,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 masterdisk 2 (45GB) IS connection 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 the 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 THISTEM?

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

==============

# Grub.conf generated by Anaconda

#

# Note That You Do Not Have to Run Grub After Making Changes To this file

# NOTICE: You Have A / Boot Partition. This Means That

# All kernel and ionrd 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-scsiinitrd /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

==============

转载请注明原文地址:https://www.9cbs.com/read-82960.html

New Post(0)