LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Dual booting Windows XP + Fedora 4 (https://www.linuxquestions.org/questions/linux-hardware-18/dual-booting-windows-xp-fedora-4-a-401092/)

kcpaige89 01-09-2006 02:40 AM

Dual booting Windows XP + Fedora 4
 
I have tried many different ways, even some suggested in the forums on Dual booting these 2 OSs.

ATM i have copied the linux.bin into my C:/ and my boot.ini file looks like this:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS

[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Home Edition" /fastdetect /NoExecute=OptIn
C:\CMDCONS\BOOTSECT.DAT="Microsoft Windows Recovery Console" /cmdcons
C:\linux.bin="Fedora Core 4"

When I click on Fedora Core 4 @ the OS choice menu, nothing happens.

I have 2 HDDs, HDA1/2 where my windows drive is and HDB1-11 where my /boot is the first partition /swap is the second and /hom is the third and the others are FAT32s (vfat) to share between FC4 and XP.

I don't know what is wrong with it, can anyone help?

TruongAn 01-09-2006 02:54 AM

I haven't seen anyone trying to use that way to boot linux.
Why don't you use grub or lilo?
I don't think the windows boot.ini file can load linux.
When you install FC4, it would install grub and configure it for you so that you? what had happend with it?

I cannot help you with this kind of booting method.
If you want to install and use grub, I think I can help

stunter 01-09-2006 06:00 PM

I have WinXP and Fedora Core 4 installed in a dual boot machine. I use grub and it works fine.

stunter

michaelk 01-09-2006 06:26 PM

Was grub originally installed to your /boot partition?
And did you create the linux.bin file correctly?

kcpaige89 01-09-2006 09:24 PM

Yes, Grub is installed on the first sector of my Second harddrive (/boot). I did copy the linux.bin file correctly, i did it a second and third time and none worked.

I do not know how to make Grub the bootloader so i was just gonna try and use the NTLDR of windows. http://www.geocities.com/epark/linux...w2k-HOWTO.html is the place i learned to do it, the only problem it is not working correctly.

How would i use the grub bootloader, which is the one i originally tried to use. I thought the Linux.bin would point to grub to load linux.
any help?

TruongAn 01-10-2006 04:05 AM

To install grub, you need a linux console (you can obtain a console using the FC4 installion rescue option.)
Simply type grub.
When you are in grub command line,
type:
Code:

root (hd1,0)
setup (hd0)

This will installed grub on the master boot record of the first disk (I think your BIOS seeking the OS in that disk) and put its config file in your second hard drive.

kcpaige89 01-10-2006 07:12 PM

Isn't there compatability issues by putting grub on the MBR... I thought if you did that it erases the windows bootloader and then getting into windows is very hard.

TruongAn 01-11-2006 11:17 AM

Grub can load windows
Add these line to the /boot/grub/grub.conf file

Code:

title Window
rootnoverify (hd1,0)
chainloader /boot.ini


Marc L. 01-11-2006 04:17 PM

In my config it's:

title Windoze-whatever
root(hdN,M)
chainloader +1

N and M being the disk and partition indices, respectively.

TruongAn 01-12-2006 12:47 AM

Try both way.
I have uninstalled windows for months may be I have forgotten something.
I remember that chainloader /boot.ini is for Windows NT, 2000 and XP and chainloader +1 is for Windows 9x


All times are GMT -5. The time now is 10:53 PM.