LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   XP Pro / FC4 dual boot (https://www.linuxquestions.org/questions/linux-newbie-8/xp-pro-fc4-dual-boot-370664/)

xasx 10-07-2005 11:04 AM

XP Pro / FC4 dual boot
 
I searched through he forums, but with my lack of knowledge of linux I was not able to help myself. Here is my situation I have two hd, a WD 30GB broken up into 3 partitions, a 250mb that I head reserved for the boot loader, 20GB for Windows, 8GB to share. Then the 15GB has just 1 partition for FC4. I installed the boot loader GRUB on the MBR.

Here is my grub.conf
# 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,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=30
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4)
root (hd0,0)
kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.11-1.1369_FC4.img
title Windows XP
rootnoverify (hd0,4)
chainloader +1


FDISK output:
sk /dev/hda: 30.0 GB, 30020272128 bytes
255 heads, 63 sectors/track, 3649 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 32 257008+ 83 Linux
/dev/hda2 33 3647 29037487+ f W95 Ext'd (LBA)
/dev/hda5 33 2582 20482843+ 7 HPFS/NTFS
/dev/hda6 2583 3647 8554581 b W95 FAT32

Disk /dev/hdb: 15.3 GB, 15301836800 bytes
255 heads, 63 sectors/track, 1860 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 1860 14940418+ 8e Linux LVM




hda5 has xp pro
hdb1 has FC4

Now the problem, FC4 loads fine, but when I try to load XP, all I get is this:
rootnoverify (hd0,4)
chainloader +1


Thank You in advance.

Ahmed 10-07-2005 11:11 AM

Modify the configuration file so that it reads:

Code:

title Windows XP Professional {or whatever you want to call it}
rootnoverify (hd0,4)
makeactive
chainloader +1

I can't guarantee that it'll work, but it works with Solaris here.

-A

xasx 10-07-2005 11:19 AM

Thx for trying, but it did not work.

xasx 10-07-2005 01:12 PM

Has anybody else run into this problem while dual-booting?

jspsandhu 10-07-2005 05:10 PM

Not Sure about this problem

But what i Did was first to install all my Win OS and then install Linux over that

I have installed WIN XP WIN 2003 FC1 and RHEL 4.0 all on one hard disk and they work gr8

The process i followed was

First I installed Win XP on D: and then 2003 on E: Left C: for boot files for Windows
F: was left for Data

Then I used hda5 for /boot and hda6 for /root

Grub simply takes over the windows boot loader and i just directed that c: that is hda1 has the boot loader for windows so when i select DOS on grub i get two options again for WIN XP and WIN 2003

installing EL again on the available space was a tricky one

There is an article on the same under my name can refer to that

But i Prefer installing wiindows first and then any linux distro that has worked always for me.

Regards
Jaspreet

fortezza 01-10-2006 04:34 PM

Quote:

Originally Posted by jspsandhu
Not Sure about this problem

But what i Did was first to install all my Win OS and then install Linux over that

I have installed WIN XP WIN 2003 FC1 and RHEL 4.0 all on one hard disk and they work gr8

The process i followed was

First I installed Win XP on D: and then 2003 on E: Left C: for boot files for Windows
F: was left for Data

Then I used hda5 for /boot and hda6 for /root

Grub simply takes over the windows boot loader and i just directed that c: that is hda1 has the boot loader for windows so when i select DOS on grub i get two options again for WIN XP and WIN 2003

installing EL again on the available space was a tricky one

There is an article on the same under my name can refer to that

But i Prefer installing wiindows first and then any linux distro that has worked always for me.

Regards
Jaspreet


That is the easiest way, but sometimes the situation prevents the end user from doing that, so they need to add Windows to the same drive after Linux. I'm still looking for a good guide for this. Installing Windows after Linux on a DIFFERENT drive is not too hard, but I am wondering how difficult it will be to do on the same drive.

After I figure it out, I'll post the answer here.

aballer218 01-10-2006 06:26 PM

Did you have Windows installed first? It sounds like you are having problems setting up your partitions correctly

aballer218 01-10-2006 06:34 PM

You may have to start over and reinstall Windows. Before you do that though, go into the setup for Fedora Core 4...when you get to the partitions screen there should be two of them that are ntfs. Don't delete the first one...but do delete the second one (probably hda5)...then create "/" and "/swap" this should get you through to the next screen. Then, back out of it and it will tell you the partitions have all ready been set, or something along those lines. Say okay and allow it to kick you out of the setup. (it will recreate a ntfs partition, that is small)Then, go into the setup again and have it automatically create the partitions it needs by deleting the current Linux partitions only. Go from there and you should be able to finish the install and the dual boot should work


All times are GMT -5. The time now is 06:18 PM.