LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 10-01-2009, 05:30 PM   #1
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Rep: Reputation: 68
Dual Boot with Grub


Dual booting with WinXP and Fedora 11.

Hard Drive 0 sda1 WindowsXP

Hard Drive 1 sdb1 /boot Fedora 11

Isn't the command grub-install /dev/sda what you do to write grub to boot from sda ?

I ran that command from fedora 11 but it still wants to boot from WindowsXP


The two hard drives are not set up master, slave , they CS selected on a Dell
Here is my menu.lst file.
I do have a separate /boot partition sdb1
WindowXP is on sda
Fedora 11 is on sdb
With this menu.lst, I did a, grub-install --recheck /dev/sda , and when I do a reboot I get a Error 21.

------------------------------------------------------------------------

# 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/sdb3
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
#hiddenmenu
title Fedora (2.6.30.8-64.fc11.i586)
root (hd1,0)
kernel /vmlinuz-2.6.30.8-64.fc11.i586 ro root=UUID=aab20ab4-9875-44d9-b8bb-57d8101d299b rhgb quiet
initrd /initrd-2.6.30.8-64.fc11.i586.img
title Fedora (2.6.30.5-43.fc11.i586)
root (hd1,0)
kernel /vmlinuz-2.6.30.5-43.fc11.i586 ro root=UUID=aab20ab4-9875-44d9-b8bb-57d8101d299b rhgb quiet
initrd /initrd-2.6.30.5-43.fc11.i586.img
title Fedora (2.6.29.6-217.2.8.fc11.i586)
root (hd1,0)
kernel /vmlinuz-2.6.29.6-217.2.8.fc11.i586 ro root=UUID=aab20ab4-9875-44d9-b8bb-57d8101d299b rhgb quiet
initrd /initrd-2.6.29.6-217.2.8.fc11.i586.img
title WindowsXP
rootnoverify (hd0,0)
chainloader +1
 
Old 10-01-2009, 05:41 PM   #2
somedude
Member
 
Registered: Nov 2003
Distribution: Mint, openSUSE, Mandriva, Knoppix, puppy, Arch
Posts: 68

Rep: Reputation: 16
Do you mean it tries to boot XP by default, or just that it doesn't even load Grub?

Last edited by somedude; 10-01-2009 at 05:47 PM. Reason: Didn't read the post thoroughly.
 
Old 10-01-2009, 05:55 PM   #3
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Original Poster
Rep: Reputation: 68
Well right now it comes back with a Grub Error 21 .
 
Old 10-01-2009, 06:03 PM   #4
somedude
Member
 
Registered: Nov 2003
Distribution: Mint, openSUSE, Mandriva, Knoppix, puppy, Arch
Posts: 68

Rep: Reputation: 16
This is what Mr. Google came up with:
http://ubuntuforums.org/showthread.php?t=62717

You may want to try supergrub.
 
Old 10-01-2009, 06:03 PM   #5
sploot
Member
 
Registered: Sep 2009
Location: Phoenix, AZ
Distribution: Gentoo, Debian, Ubuntu
Posts: 121

Rep: Reputation: 27
It comes back with the error when you try to load windows or linux or both?
 
Old 10-01-2009, 06:10 PM   #6
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
have you set BIOS to boot from Fedora HDD?
 
Old 10-01-2009, 06:19 PM   #7
somedude
Member
 
Registered: Nov 2003
Distribution: Mint, openSUSE, Mandriva, Knoppix, puppy, Arch
Posts: 68

Rep: Reputation: 16
I found this interesting post:
http://www.mepis.org/node/7330#comment-23817
 
Old 10-02-2009, 05:31 PM   #8
bibh_lnxq
Member
 
Registered: Nov 2004
Location: Leiden, Netherlands
Distribution: SuSE; Fedora;Slackware
Posts: 58

Rep: Reputation: 15
Given what anaconda tells you in the comment at the top of grub.conf, I would suggest to edit grub.conf by adding the line

boot=/dev/sdb

after

title Fedora (2.6.30.8-64.fc11.i586)
root (hd1,0)
kernel /vmlinuz-2.6.30.8-64.fc11.i586 ro root=UUID=aab20ab4-9875-44d9-b8bb-57d8101d299b rhgb quiet
initrd /initrd-2.6.30.8-64.fc11.i586.img

And see if that helps. At least then you have the relative path to /vmlinuz and /initrd
 
  


Reply



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
Grub stopping with dual HD dual boot arrangement CraigM Linux - Newbie 6 12-12-2007 11:17 AM
GRUB dual boot problem: Boot "other" (windows) just restarts GRUB! stevod333 Linux - Software 13 04-06-2006 05:26 AM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
Dual boot, dual drives. Where to put GRUB? rgbrock1 Linux - Newbie 5 10-02-2004 10:56 AM
Trying to dual-boot XP and RH9 with GRUB...GRUB stops right after BIOS EvilYoda Linux - Newbie 5 06-20-2003 03:38 PM

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

All times are GMT -5. The time now is 02:56 PM.

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