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 :D Thanks for any help :D |
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 |
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 |
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 |
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. |
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.
|
|
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 :D |
All times are GMT -5. The time now is 10:13 AM. |