how to install windows xp on redhat 5.4

April 12, 2011 at 22:36:01
Specs: windows xp,redhat, 2gb ram
I was havin C,D,E,F,G partitions and windows xp operating system on both C and D partitions.. I decided to install redhat linux on one partition and to remain xp on the other.. When i started installation, i deleted C partition and thus it became free space.. So i installed redhat 5.4 in free space.. And completed installation.. When started booting it listed 'redhat' and 'others'.. I thought 'others' wil be xp... When entered 'others' to boot, in a black screen it was shown 'booting 'others'
rootnoverify (hd0,4)
chainloader +1' i waited for long.. But its not booting.. What should i do to open other partitions in widows xp?? I tried reinstalling windows xp,but its not booting..
Pls help

Regards,
arun.


See More: how to install windows xp on redhat 5.4

Report •

#1
April 13, 2011 at 01:23:45
You simply might have to make changes in the /boot/grub/menu.lst, to match the correct partition for your windows partition.

And here it goes.

This is the partition listing of my computer:

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000e9317

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048      204799      101376    b  W95 FAT32

/dev/sda2 * 206848 104859647 52326400 7 HPFS/NTFS/exFAT
/dev/sda3       104872320  1953520064   924323872+   f  W95 Ext'd (LBA)
/dev/sda5       104872383  1847732039   871429828+   7  HPFS/NTFS/exFAT
/dev/sda6      1847732224  1851940863     2104320   82  Linux swap / Solaris
/dev/sda7      1851942912  1892569087    20313088   83  Linux
/dev/sda8      1892571136  1953519615    30474240   83  Linux

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
26 heads, 24 sectors/track, 3130649 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x2527a2c7

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        2048  1953521663   976759808    7  HPFS/NTFS/exFAT

As you can see, my system by default starts from the primary partition 2, which is Windows 7.
Anyway, you have to look for such a partition HPFS/NTFS/exFAT.
So in my case it's /dev/sda2.
Be aware: in fdisk, partition count starts at 1, in grubs menu.lst, partition count starts at 0.
So /dev/sda2 in fdisk is hd(0,1) in menu.lst.

Next let's take a look at the /boot/grub/menu.lst

This is menu.lst of my computer:

# Modified by YaST2. Last modification on Fr Mär 18 04:29:40 CET 2011
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 0
timeout 8
gfxmenu (hd0,6)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.4 - 2.6.37.1-1.2                                                                                 
    root (hd0,6)                                                                                                              
    kernel /boot/vmlinuz-2.6.37.1-1.2-desktop root=/dev/disk/by-id/ata-Hitachi_HDS721010CLA332_JP2921HQ2EAMUA-part7 splash=0 resume=/dev/disk/by-id/ata-Hitachi_HDS721010CLA332_JP2921HQ2EAMUA-part6 splash=silent quiet nomodeset showopts vga=0x314       
    initrd /boot/initrd-2.6.37.1-1.2-desktop                                                                                  



###Don't change this comment - YaST2 identifier: Original name: Windows 7 Ultimate Edition###
title Windows 7 Ultimate Edition
rootnoverify (hd0,1)
chainloader +1

###Don't change this comment - YaST2 identifier: Original name: MS-DOS v7.0###
title MS-DOS v7.0
    rootnoverify (hd0,0)
    chainloader +1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.4 - 2.6.37.1-1.2
    root (hd0,6)
    kernel /boot/vmlinuz-2.6.37.1-1.2-desktop root=/dev/disk/by-id/ata-Hitachi_HDS721010CLA332_JP2921HQ2EAMUA-part7 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x314
    initrd /boot/initrd-2.6.37.1-1.2-desktop

So the only thing, you might have to do is, to change the rootnoverify (hd0,4) in your case, ot rootnoverify (hd0,2) or whatever number you figured out.

Click Here on HowTo ask good Question to get best Help
Let us know, if the problem is solved !!!


Report •

#2
April 13, 2011 at 11:44:34
But it is not working.. :-( ...what to do to reinstall xp?? I can't boot the xp cd even... Its also not working...

Report •

#3
April 13, 2011 at 16:25:49
Your error was deleting the XP on Drive C. It contained the boot information for both xp partitions.
The easiest solution is to Remove the Red Hat and reinstall the XP.

Report •

Related Solutions

#4
April 13, 2011 at 20:10:01
thank u.. Let me try it...

Report •

#5
April 14, 2011 at 11:55:39
its not working

Report •

#6
April 14, 2011 at 12:17:29
And the error message is?

Click Here on HowTo ask good Question to get best Help
Let us know, if the problem is solved !!!


Report •

#7
November 22, 2011 at 22:26:15
Hiiii,

How to remove linux RHEL partation?, i want to install Windows XP but XP CD is not booting on the linux OS , after "Press any key to boot from cd" agin i am getting linux welcome desktop, even i was tryed with windows 7 also but i am geeting same issue, i was tryed 9-10 times:( BIOS settings is correct, please provide some help for this.

Thanks,


Report •

Ask Question