Fedora Linux Support Community & Resources Center
  #1  
Old 5th March 2005, 10:24 PM
meslick Offline
Registered User
 
Join Date: Feb 2005
Posts: 101
FC3+WindowsXP dual-boot without Infecting Drive C:

Hello:

I'm unable to boot Windows XP in grub. When I try it says : 'Booting 'Windows XP' \ rootnoverify (hd1,0) \ chainloader +1' and then hangs. I've tried adding other stuff to the grub.conf like 'makeactive' and 'root' instead of rootnoverify but all it does is hang. If I use 'makeactive' it makes no difference but if I use 'root' instead of 'rootnoverify' then I get the message 'root (hd1,0) \ Filesystem type unknown, partition type 0x7' since of course this filesystem is NTFS.

My machine was originally a Windows XP only machine but recently I added a 2nd hard drive and put on this hard drive FC3 with GRUB as bootloader. If I want to boot Windows XP I change the BIOS to boot from drive C: and if I want to boot FC3 I change the BIOS to boot from drive D:. I'm trying to have it so that I can boot Windows XP from GRUB without making any modifications to drive C: because eventually I have to leave this machine without having infected it with Linux as the owner says.

Here's my info ( fdisk -l / cat device.map / cat grub.conf ) :

[root@localhost grub]# fdisk -l
Disk /dev/hdb: 30.0 GB, 30020272128 bytes
16 heads, 63 sectors/track, 58168 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 203 102280+ 83 Linux
/dev/hdb2 204 2284 1048824 82 Linux swap
/dev/hdb3 2285 58168 28165536 83 Linux

Disk /dev/hdc: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 * 1 14946 120053713+ 7 HPFS/NTFS


[root@localhost grub]# cat device.map
# this device map was generated by anaconda
(fd0) /dev/fd0
(hd0) /dev/hdb
(hd1) /dev/hdc


[root@localhost grub]# cat 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/hdb3
# initrd /initrd-version.img
#boot=/dev/hdb
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.10-1.766_FC3)
root (hd0,0)
kernel /vmlinuz-2.6.10-1.766_FC3 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.10-1.766_FC3.img
title Fedora Core (2.6.10-1.766_FC3smp)
root (hd0,0)
kernel /vmlinuz-2.6.10-1.766_FC3smp ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.10-1.766_FC3smp.img
title Fedora Core (2.6.9-1.667smp)
root (hd0,0)
kernel /vmlinuz-2.6.9-1.667smp ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-1.667smp.img
title Fedora Core-up (2.6.9-1.667)
root (hd0,0)
kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-1.667.img
title Windows XP
rootnoverify (hd1,0)
chainloader +1

>------------

If you could help me out I would really appreciate it. But the most important thing is to make no modifications to drive C: and yet still boot Windows XP using GRUB. It's a pickle.

Teak

Last edited by meslick; 5th March 2005 at 11:42 PM.
Reply With Quote
  #2  
Old 6th March 2005, 12:30 AM
shams Offline
Registered User
 
Join Date: Oct 2004
Posts: 881
you can use ntldr to boot to fc3,install the grub to your / partition ( or /boot patition if present) then do:
dd if=/dev/hdbx of=bootsect.lnx bs=512 count=1 (here x is your boot or / partition)
theny copy bootsect.lnx to a floppy then boot to xp and copy it to your C drive, open dos window and do:
notepade boot.ini
add this line to boot.ini:
C:\bootsect.lnx="FedoraLinux"
you should restore your ntldr to add this lines and reboot.
Reply With Quote
  #3  
Old 6th March 2005, 02:44 AM
Psquared Offline
Registered User
 
Join Date: Aug 2004
Location: Memphis, TN
Posts: 506
If you want GRUB on D: to load XP on C: it sounds to me like you need to make D: your primary active partition in the system BIOS and/or switch the cables. You may also need to change the jumpers on the drive. When you get through you can switch it back.
Reply With Quote
Reply

Tags
dualboot, fc3, windowsxp

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot - WindowsXP & Fedora rodesignweb Using Fedora 9 1st October 2007 05:42 PM
dual boot Fedora/ WindowsXP on Dell box linuxlinux Installation and Live Media 2 5th September 2006 05:34 AM
default boot : windowsXP egneus Installation and Live Media 8 22nd April 2006 02:05 AM
dual boot with windowsXP lnthai2002 Using Fedora 1 13th May 2005 02:17 AM


Current GMT-time: 03:54 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat