LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-10-2004, 12:27 PM   #1
Jestrik
Member
 
Registered: Dec 2003
Location: Hampshire, UK
Distribution: gentoo, Debian Sarge, Slack 9.1
Posts: 206

Rep: Reputation: 30
I know this gets asked a million and one times but...


I have tried searching amongst this site but no hope

I want to dual boot fedora core 1 and xp pro. I have fedora on a 40gb hdd (master) and xp pro on another 40gb hdd (and set to slave) (therefore both on the same channel)

I have the entry in the grub loader as (i renamed it to say WinXP) and then the other entry being for fedora. When i select the xp entry i just prints what's in the grub.conf file under the xp entry.
What do I need to change in the grub.conf, b/c atm it points to the right hdd but just won't load xp.

It's incredibly annoying to have to keep pulling out the molex on my linux hdd and possibly damaging if done too many times

Thanks for any help
 
Old 01-10-2004, 01:19 PM   #2
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
Post some specifics, please, your /boot/grub/grub.conf and give your partitioning scheme.

# How are the hard drives partitioned
fdisk -l

Multiboot with GRUB Mini-HOWTO
 
Old 01-10-2004, 02:27 PM   #3
Jestrik
Member
 
Registered: Dec 2003
Location: Hampshire, UK
Distribution: gentoo, Debian Sarge, Slack 9.1
Posts: 206

Original Poster
Rep: Reputation: 30
GRUB.CONF FILE

# 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/hda2
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
title Fedora Core 1 (2.4.22-1.2115.nptl)
root (hd0,0)
kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ hdg=ide-scsi rhgb
initrd /initrd-2.4.22-1.2115.nptl.img
title WinXP Pro
rootnoverify (hd1,0)
chainloader +1
-----------------------------------------------------------------------------------------------

and here's what fdisk -l gave me...



[root@host root]# fdisk -l

Disk /dev/hdc: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 * 1 3060 24579418+ c Win95 FAT32 (LBA)
/dev/hdc2 3061 14593 92638822+ 7 HPFS/NTFS

Disk /dev/hda: 40.0 GB, 40020664320 bytes
16 heads, 63 sectors/track, 77545 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 203 102280+ 83 Linux
/dev/hda2 204 75465 37932048 83 Linux
/dev/hda3 75466 77545 1048320 82 Linux swap

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

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 638 5124703+ 7 HPFS/NTFS
/dev/hdb2 639 4462 30716280 7 HPFS/NTFS
/dev/hdb3 4463 4865 3237097+ 7 HPFS/NTFS
 
Old 01-10-2004, 02:30 PM   #4
Jestrik
Member
 
Registered: Dec 2003
Location: Hampshire, UK
Distribution: gentoo, Debian Sarge, Slack 9.1
Posts: 206

Original Poster
Rep: Reputation: 30
oh btw, hdb1 is just windows xp, hdb2 is program files and hdb3 is swap.
and hda1 is /boot, hda2 is linux and hda3 is swap, and as for hdc1, that's just a partition for putting files in linux (fat) and the other partiton (hdc2 is for xp files (ntfs)
Cheers
 
Old 01-10-2004, 03:06 PM   #5
WingNut
Member
 
Registered: Jun 2002
Location: Texas
Distribution: Slackware 10.1
Posts: 105

Rep: Reputation: 15
I believe that XP and Win 2K have a lot in common when it comes to booting. You alctualy have to activate XP's boot loader. Grub, and lilo for that matter, will call the Windows boot loader and boot to Win from there. I believe that if you run searches for dual booting with win 2k it will translate almost verbatim for XP. Its been a long time since I set up dual booting and I'm not at my machine so I can't post any config files for you.

I will however run a few searches for you and post any good links back here. I think your grub config is probably fine. Don't mess with it until you find out what you need on the windows side.

Last edited by WingNut; 01-10-2004 at 03:07 PM.
 
Old 01-10-2004, 03:12 PM   #6
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
Everything appears to be correct. Did you install another drive after installing grub? If so, you may have some stuff missing so you might have to reinstall grub so it is aware of the new partitions.
 
Old 01-10-2004, 03:13 PM   #7
WingNut
Member
 
Registered: Jun 2002
Location: Texas
Distribution: Slackware 10.1
Posts: 105

Rep: Reputation: 15
here is a decent looking site.

http://www.geocities.com/epark/linux...w2k-HOWTO.html
 
Old 01-12-2004, 06:47 AM   #8
Jestrik
Member
 
Registered: Dec 2003
Location: Hampshire, UK
Distribution: gentoo, Debian Sarge, Slack 9.1
Posts: 206

Original Poster
Rep: Reputation: 30
I don't think i plugged in a new hdd, b/c xp was already installed and then i installed fedora on another hdd and it detected xp when it was installing fedora and put it in the grub.conf automatically. The only thing I think that may have changed since installing fedora is that I plugged in the 120GB hdd from another computer into this one. Could this be my problem, if so how could I reinstall grub?

Cheers for any help

p.s. I shall i shall try that site tonight that you pointed to WingNut
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
It's probably been asked a million times... ckiraly Linux - General 3 10-15-2004 10:47 PM
A Million Questions jeffChuck Slackware - Installation 10 07-19-2004 07:23 PM
newbie question you have heard a million times testament1 Linux - Distributions 7 06-24-2004 02:58 AM
1 Million Posts Contest! trickykid Linux - General 6 06-20-2004 08:49 AM
Here to ask the $5 million Question!! crumb Linux - Distributions 9 07-17-2003 05:05 PM


All times are GMT -5. The time now is 07:24 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration