Fedora Linux Support Community & Resources Center
  #1  
Old 11th November 2007, 08:31 PM
scaramoche Offline
Registered User
 
Join Date: Nov 2007
Posts: 15
dual booting with dual drives? help

Ok here is where i am

F8 is on master drive
winxp on secondary drive

I am able to see and navigate xp hard drive via KDE and terminal.
this was done using 'fuse'
i also updated fstab and it seems to be working ok

I then added the line
title Windows
root (hd1,0)
makeactive
chainloader +1
to grub.conf
but when i try loading into windows by hitting tab on splash screen it will not go? it's as if, which makes sense, the driver to interpret the ntfs partition hasnt loaded? how do i get F8 to load my windows drive?
Reply With Quote
  #2  
Old 11th November 2007, 08:49 PM
scaramoche Offline
Registered User
 
Join Date: Nov 2007
Posts: 15
just checked again, cant seem to find any additional info. anyone?
Reply With Quote
  #3  
Old 11th November 2007, 08:53 PM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
Hello scaramoche,

When XP is not on the first drive, it can behave that way. Try modifying your grub.conf with map lines like this:
Code:
title Windows
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
Note: You don't need makeactive for XP. You need rootnoverify with XP instead of root because it prevents GRUB from trying to mount a filesystem that it cannot mount.

After making the suggested changes to grub.conf, save, reboot, press any key at the Fedora splashscreen, see the GRUB menu. You should be able to select "Windows" from the menu and XP will boot.

Last edited by stoat; 11th November 2007 at 10:06 PM.
Reply With Quote
  #4  
Old 11th November 2007, 09:07 PM
scaramoche Offline
Registered User
 
Join Date: Nov 2007
Posts: 15
hum...tried, but just got no ntfs loader? so i tried booting from the drive, xp loads fine. is it possible im using another loader?
Reply With Quote
  #5  
Old 11th November 2007, 09:12 PM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
I imagine you meant to say "NTLDR is missing". That means that (hd1,0) is not your XP partition. You only think it is. Take a moment to copy and paste the result of these two terminal commands run as root:
Code:
/sbin/fdisk -l
cat /etc/grub.conf
Reply With Quote
  #6  
Old 11th November 2007, 09:19 PM
scaramoche Offline
Registered User
 
Join Date: Nov 2007
Posts: 15
here ya go

[root@localhost ~]# /sbin/fdisk -l

Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xcadccadc

Device Boot Start End Blocks Id System
/dev/sda1 * 1 25 200781 83 Linux
/dev/sda2 26 4865 38877300 8e Linux LVM

Disk /dev/sdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x98099809

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 4864 39070048+ 7 HPFS/NTFS

Disk /dev/dm-0: 37.6 GB, 37681627136 bytes
255 heads, 63 sectors/track, 4581 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 2080 MB, 2080374784 bytes
255 heads, 63 sectors/track, 252 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x30307800

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/sdc: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd59b069c

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 19457 156288321 7 HPFS/NTFS
[root@localhost ~]# cat /etc/grub.conf


and

# 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/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.23.1-49.fc8)
root (hd0,0)
kernel /vmlinuz-2.6.23.1-49.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.23.1-49.fc8.img
title Fedora (2.6.23.1-42.fc8)
root (hd0,0)
kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.23.1-42.fc8.img
title Other
rootnoverify (hd1,0)
chainloader +1
title Windows
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
[root@localhost ~]#

Last edited by scaramoche; 11th November 2007 at 09:22 PM.
Reply With Quote
  #7  
Old 11th November 2007, 09:28 PM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
Drive sda is 40GB and completely filled by an ext3 boot partition and an LVM physical volume.
Drive sdb is 40GB and almost completely filled by a single NTFS partition.
Drive sdc is 160GB and completely filled by a single NTFS partition.

You should try this in your grub.conf (it does no harm to try things in the grub.conf):

title Windows
rootnoverify (hd2,0)
map (hd0) (hd2)
map (hd2) (hd0)
chainloader +1

Last edited by stoat; 11th November 2007 at 09:54 PM.
Reply With Quote
  #8  
Old 11th November 2007, 09:39 PM
scaramoche Offline
Registered User
 
Join Date: Nov 2007
Posts: 15
Resolved!

Wonderful!
That did the trick, I guess i need to look at the info and see why i kept thinking my other 40g was hd1 not hd2?

Thanks for the help. Love the linux community
Reply With Quote
  #9  
Old 11th November 2007, 09:44 PM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
Well, actually sometimes GRUB gets them mixed up. You may be right in your mind, but sometimes you have "play along" with GRUB. You can also go back and clean up your grub.conf a little (remove that old "Other" section).
Reply With Quote
Reply

Tags
booting, drives, dual

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 Hard Disk & dual OS - booting problems Derek18 Installation and Live Media 5 16th September 2009 06:09 PM
Weird issue regarding dual booting accross two internal Hard Drives ajamison Installation and Live Media 0 19th August 2007 06:58 AM
Dual Boot XP FC4 Two physical Drives but not booting pespinoza EOL (End Of Life) Versions 24 10th April 2006 10:36 PM
dual booting two hard drives with fc4 and fc3 firefox EOL (End Of Life) Versions 0 5th July 2005 07:39 PM


Current GMT-time: 12:14 (Wednesday, 22-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