Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 04-10-2004, 12:09 PM   #1
LQ Newbie
Registered: Apr 2004
Distribution: Fedora Core (Red Hat 10)
Posts: 7

Rep: Reputation: 0
Unhappy I need help because I am trying to set up a dual boot system with win XP and Fedora

Hello. I need Desperate
help on installing Fedora Core. If I am running windows XP and I have already repartitioned my hard drive, and I want to be able to use Linux in 1,3,or5 run levels, what do I do for my boot loader, and I DON't wanna screw up my XP partition? Pengy:
Old 04-10-2004, 02:21 PM   #2
Registered: May 2003
Location: Netherlands
Distribution: Fedora Core 2
Posts: 41

Rep: Reputation: 15
First of all , back up all your important data of your XP .. cause if you're new to linux its really easy to screw up a lot !! and if your XP chrashes , then it wont be a big problem .

I'm running a dualboot Fedora Core 1 and Windows XP for al long time now and it works fine.Here are The steps I took !

My XP was installed on a 20 GIG disk and I used partitionmagic to shrink it to 5 , the rest would be for linux ..

Boot Fedora from CD and start the install, just follow the basic steps , until you reach the partition part , this is tricky , DON'T chose automatic partion , cause it might mess up your XP part. Just manually configure your linux partitions , dont forget the Swap . Continue the install and at some point you will get to the bootloader part .Here it will show a DOS installation , which actually is your XP install (you can easily rename this during or after install in /boot/grub.conf file) and continue the Install , and that's all !
Grub will be installed to your MBR and thus overwrite your existing XP MBR (no problem cause Grub boots your XP) and if you ever run into trouble perhaps because your linux chrashes (?) and you would like to switch back to only XP (?) you run the XP installation cd (diskettes) and in recovery mode , recover the MBR, and XP is back ..

I dont know if its possible but if Fedora offers LILO as bootloader (I know Red Hat 8 or 9 does) you can choose to use LILO and leave your MBR alone and use XP bootloader , by installing LILO on a floppy .. I did this when I was starting Linux but it actually doesnt matter which you use you only see the bootloader a few seconds .. If you would like the XP loader then google a bit , I found a howto a while ago on a SUSE site : google for NT + LINUX + DUALBOOT + LILO + HOWTO

I hope i've been helpful here , I'm no linux guru so .. no guarantees but it worked for me
Old 04-10-2004, 09:04 PM   #3
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Rep: Reputation: 44
What Jingle said applies for me too, with one difference.

When I shrunk the XP partition I did not apply any kind of formatting to the newly freed up disk space. Then during install I just told fedora to use empty disk space, accepted the installers recommended partions (ie /boot/ /swap/ etc) and everything went fine.


Old 04-11-2004, 09:24 AM   #4
LQ Newbie
Registered: Apr 2004
Location: Clarkston, MI, USA
Distribution: Ubuntu
Posts: 13

Rep: Reputation: 0

If you wish to use the NT Loader to dual boot the system you will need to do the following:

When you get to the point that Anaconda asks where you wish to install the bootloader, make certain you chose your FC boot partition, e.g. /dev/hda2, and NOT the MBR. You can use either GRUB or LILO, it doesn't matter. After the install and before you re-boot make sure you make a bootdisk.

Now, when you re-boot do so with the bootdisk so you can boot into FC. Once booted, log in as 'root' and insert a blank floppy then copy out the boot sector like so:

mount /dev/fd0
dd if=/dev/hda2 of=/mnt/floppy/bootsect.lnx bs=512 count=1

(hda2 may not be the actual partition you need to copy, I use this as an example)

You can now ls /mnt/floppy to verify you have a 512 byte file named "bootsect.lnx" and then:

umount /dev/fd0

Next, boot into XP and copy the bootsect.lnx file to the root directory of the C: drive. Edit your BOOT.INI file and add a line:

C:\bootsect.lnx = "Fedora Core"

Save the file and re-boot. You will see the NT Loader menu offering you either Windows XP or FC. If you choose FC it will jump you into the GRUB or LILO bootloader. If you added your Windows partition in your Linux bootloader during the install you will see a choice for FC or DOS/Windows. If you scroll and choose Windows, it will put you back into the NT Loader menu screen.

I know this is a little bit of work, but it's the only way I know how to do dual boot and maintain the Microsoft MBR intact. You must use the floppy to copy out the Linux bootsector because you cannot write directly to an XP NTFS volume. Good luck.

- JD


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora Core 3 + Win XP Dual Boot azrael808 Linux - Software 19 01-17-2006 12:15 PM
How do you make a dual boot Mandrake 10/Win XP system? silentwhispers Mandriva 4 11-09-2004 04:59 PM
questions regarding dual-boot (fedora and Win XP) nulinuser Linux - Newbie 11 07-05-2004 08:00 PM
how do I do a dual boot system, with one HD for Red Hat9, and one HD for Win 98? chrisseattle Red Hat 1 03-24-2004 05:55 PM
Installing RedHat 9 onto an existing Win XP system as dual boot Michael2003 Linux - Newbie 9 07-16-2003 04:50 PM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:34 AM.

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