LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-22-2008, 07:18 PM   #1
edgartech
Member
 
Registered: Feb 2008
Posts: 33

Rep: Reputation: 15
[help] configuring grub on fedora 8


hello, i have windows xp and fedora 8 dual boot... my question is, how can i configure grub so i can load to windows??... thankz
 
Old 02-22-2008, 07:21 PM   #2
rayfordj
Member
 
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 488

Rep: Reputation: 78
you'll want to use the rootnoverify and chainloader options

i've not done it in a while so it may not be 100% off the top of my head but...

Code:
title Windows XP
     rootnoverify (hd0,2)
     chainloader +1
assuming hd0,2 is the partition (sda3 or hda3) with Windows so you'll need to insert the correct value for your installation.
 
Old 02-22-2008, 07:44 PM   #3
edgartech
Member
 
Registered: Feb 2008
Posts: 33

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rayfordj View Post
you'll want to use the rootnoverify and chainloader options

i've not done it in a while so it may not be 100% off the top of my head but...

Code:
title Windows XP
     rootnoverify (hd0,2)
     chainloader +1
assuming hd0,2 is the partition (sda3 or hda3) with Windows so you'll need to insert the correct value for your installation.
im a n00b how do you use this?
 
Old 02-22-2008, 07:56 PM   #4
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Just edit /boot/grub/menu.lst.From the command line:
su -
gedit /boot/grub/menu.lst

Put in the quoted lines (you may need to modify (hd0,2) - if windows is the first partition, then you'd need (hd0,0) instead) under the Fedora entry (remember to leave a blank line between the two).

save and exit.
 
Old 03-04-2008, 09:49 AM   #5
Phoxis
Member
 
Registered: Feb 2008
Location: India, Kolkata
Distribution: Fedora 16
Posts: 59

Rep: Reputation: 16
you would notice a line "default" in the grub.conf file
Code:
1]open konsole
2]get superuser by typing "su" and providing the password
3]cd /boot/grub
4]kwrite grub.conf
you would notice a line "default" in the grub.conf file

Now see after how many entries is your windows entry.
I mean check the title number (count, on which number you have your windows entry may be titled as "Others" (if you havent changed))

Example:
If you have got two more titles before your windows title then your windows should be the Third Entry

so to boot windows by default make the default value to 2. Because the 1st entry is considered the Zero th entry.
so make it "default=2"
and save.

Please respond if it helped and, if you did not understand anything, please say, and please let us see your grub.conf file

Last edited by Phoxis; 03-04-2008 at 10:01 AM.
 
  


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
configuring grub joel2001k Linux - Software 7 03-07-2007 10:29 AM
Configuring Grub arimus25 Linux - Software 2 03-04-2004 03:46 PM
configuring the grub tonan Linux - General 1 11-08-2003 02:51 AM
Configuring Grub Leviathan Mandriva 5 10-17-2003 03:57 AM

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

All times are GMT -5. The time now is 12:54 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