LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-07-2006, 12:25 PM   #1
woms14
LQ Newbie
 
Registered: Sep 2006
Posts: 29

Rep: Reputation: 15
Problem Dual Booting WinXP and FC6


Hi,
On hda(master) I have win xp installed fine. On a slave I just put in, which is completely new, I installed fc6, and made sure to install grub on hda. When the installation rebooted after loading everything off the 5 cds, after my bios loaded, a screen came up saying grub 1.5 loading... and then I got a grub error. I couldn't get into either fedora or winxp, so I put in my windows disc and fixed the mbr. So now I can get into windows, but not fedora. How can I fix this, so I can fix grub to be able to load into both? Thanks.

Ken
 
Old 11-07-2006, 12:43 PM   #2
czechknight93
Member
 
Registered: Aug 2003
Location: Weatherford, OK
Distribution: openSUSE 10.1
Posts: 95

Rep: Reputation: 15
I had this problem when I was trying Mandriva 2006. What I had to do, which is a bit of a pain, is the following:

My system was composed of 3 20GB hard drives. Win2k was on the first 2 and Mandriva was on the third. The install went fine, but I always got a GRUB error and nothing would boot. I even had this problem with SUSE 10.1. So, what I did was I installed GRUB to the hard drive with Mandriva (in your case it would be the one with Fedora). Put it in the MBR of that drive. Next, I had to tell my BIOS to boot to that hard drive. I decided to do this because I could boot to any other media except my primary master drive, which contained Win2k. So, I told the BIOS to boot to the secondary master, which was my third hard drive, and viola, GRUB appeared with it's usual appearance. I was then able to boot to Linux or Winows.

Maybe this will help you out. Good luck!
 
Old 11-07-2006, 12:54 PM   #3
czechknight93
Member
 
Registered: Aug 2003
Location: Weatherford, OK
Distribution: openSUSE 10.1
Posts: 95

Rep: Reputation: 15
Sorry, Mandriva uses Lilo for it's bootloader, but the concepts should be the same. I think it was SUSE that used GRUB. Besides, I see GRUB every day, so that's what's stuck in my head.

Last edited by czechknight93; 11-07-2006 at 12:55 PM.
 
Old 11-07-2006, 08:47 PM   #4
harley51
Member
 
Registered: Nov 2003
Location: Downey Ca
Distribution: Fedora 11
Posts: 232

Rep: Reputation: 30
Try this it works

Fedora Core 6 Install

This by all means may not work for everybody.

I run an Intel D865perl motherboard with 2.6 gig Intel processor with 1 gig of ram. Two 250 gig
hard drives. The first hard drive is for Windows XP. Second hard drive is for Fedora and data
backups.

Drive 2 the first 40 gig is Fedora and the second 210 gig is for files backups and Norton ghost 2006
images. Which I never doing anything without a current image file it will save your butt.

Install Fedora Core 6 on the second hard drive and use the automatic partitioning tool but don't
put grub on your Master MBR put it on the first sector on your second drive. When you get to the
Boot Loader Configuration screen make sure you check the Configure advanced boot loader
options. The next screen will give the option where to put Grub Boot Loader. It should say like
hda or hdb. Hda is usually your XP Drive. From their finish loading. Put it on hdb.

Now duel booting using XP boot manager (My Preference. I don't like third party boot managers.)

Use your rescue CD to boot to Fedora.
Hit enter at the boot prompt.
Hit enter for English
Hit enter for us
Setup network select no
At the rescue screen select continue
At the next rescue screen hit enter
Now you have a prompt sh-3.00#
At the prompt type in chroot /mnt/sysimage
If hdb2 is Not your boot partition, change it as appropriate. Type: df then determine which hda#
Run the command dd if=/dev/hdb2 of=boot.lnx bs=512 count=1
You should see
1+0 records in
1+0 records out
Type ls and you should see a file named boot.lnx
Put a blank floppy disk in your a: drive
Type mcopy boot.lnx a:
It should have copied the file to your a: drive

Now reboot to Windows

Copy boot.lnx to your root directory
Right click on your boot.ini file select properties and uncheck read only click ok
Double click your boot.ini file and add one line at the end it should read
C:\boot.lnx="Fedora Core 6". Then save it. When you reboot your XP boot
manager will come up and you can chose Fedora it jumps to the Grub Boot manager on your
second drive.

My file looks like this

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(0)(1)\windows
[operating systems]
multi(0)disk(0)rdisk(0)partition(0)(1)\windows="Microsoft Windows XP Pro SP2"
/fastdetect /NoExecute=OptIn
c:\boot.lnx="Fedora Core 6 Project"

You call it anything you want
 
Old 11-07-2006, 08:54 PM   #5
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 68
I suggest you try again. Put fedora cd back in, type 'linux rescue' at prompt, then
Code:
#chroot /mnt/sysimage
#grub-install /dev/hda
#reboot
Remove cd and try booting fedora.

If it fails again, try the above suggestions.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot WinXP/Debian, grub error booting WinXP ChemBot Linux - General 5 02-22-2007 04:13 PM
Problem of dual booting WinXP & Fedora core5 in two primary hard drives biswajit12 Fedora - Installation 5 11-07-2006 09:06 AM
Dual booting Linux and WinXP arzer Linux - Newbie 10 10-19-2006 09:08 AM
Dual-booting MEPIS and WinXP, I want Grub to default to WinXP jjf Linux - Newbie 8 01-19-2006 03:27 AM
Dual booting Slackware 9.1 + WinXP leeman_s Slackware 3 10-02-2003 10:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:16 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration