Fedora Linux Support Community & Resources Center
  #1  
Old 21st July 2010, 01:18 PM
kabhinav Offline
Registered User
 
Join Date: Jul 2010
Posts: 3
linuxchrome
A general GRUB question

hi, i just wanted to know that during a dual boot installation with windows xp, if fedora is installed after windows, where does the GRUB go on the hard disk? In the /boot partition or the MBR of the hard disk?

thanks
Reply With Quote
  #2  
Old 21st July 2010, 01:20 PM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,092
linuxfedorafirefox
Re: A general GRUB question

It can be put in a partition or the MBR. By default it goes in the MBR.
Reply With Quote
  #3  
Old 21st July 2010, 04:21 PM
kabhinav Offline
Registered User
 
Join Date: Jul 2010
Posts: 3
linuxchrome
Re: A general GRUB question

so if i put it in the /boot partition, how do i boot into fedora??
Reply With Quote
  #4  
Old 21st July 2010, 04:34 PM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,092
linuxfedorafirefox
Re: A general GRUB question

The MBR boot application must start the grub boot.

If grub is in the MBR then the other OS must have it's boot record in its partition,
then grub can use the chainloader ability to start that other boot record.

I do not have the commands on hand to put the other OS boot into its partition..

There are several threads available (via search) on multiboot configuration.
Reply With Quote
  #5  
Old 21st July 2010, 05:09 PM
Zanpactou Offline
Banned
 
Join Date: Oct 2009
Posts: 358
linuxopera
Re: A general GRUB question

Quote:
Originally Posted by kabhinav View Post
so if i put it in the /boot partition, how do i boot into fedora??
You wouldn't unless your /boot partition is on a separate disk to the Windows partition because then you could in theory, swap between the two disks using the bios, swapping their boot order.

There must be a boot loader present on the mbr of the first boot device in the bios' boot order or a boot loader installed on the very first physical partition of the first boot device.

You could get the installer to install grub to the root or boot partitions but if Windows is installed on your machine, you would need to install another boot loader to chain load Fedora from wherever it is installed afterwards.
Software for Windows such as Acronis Disk Director contain boot loader software which allow you to boot basically anything and control the boot loader from in Windows.
It's obviously not free software like grub though.

Thanks,
Zanpactou
Reply With Quote
  #6  
Old 21st July 2010, 07:20 PM
kabhinav Offline
Registered User
 
Join Date: Jul 2010
Posts: 3
linuxchrome
Re: A general GRUB question

thanks for all your replies.

so tell me if i've got everything right... grub by default is installed on the MBR, so if windows was installed before fedora, it's boot loader will be overwritten.
now, grub auto detects windows and loads it through chain loading (something i've confirmed from the /etc/grub.conf file).
but if i install the grub in the /boot partition only, then i'll have to use some other software within windows to boot into fedora.
and to do so this software must point to the /boot partition of fedora which contains the kernel image and other related files. right??

thanks a lot again

Last edited by kabhinav; 21st July 2010 at 07:25 PM.
Reply With Quote
  #7  
Old 21st July 2010, 07:31 PM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,092
linuxfedorafirefox
Re: A general GRUB question

No auto-detection involved - you have to edit the /boot/grub/grub.conf file to add
other boot options.

The "other software" is still the MS boot - it is just that it needs to be put in the partition with Windows. Grub can chain to that if it is configured to do so.

You might want to read:

http://www.gnu.org/software/grub/man...ode/index.html

for details on how grub works, and how to use it in different environments (diskless, CD/DVD, USB, ...)
Reply With Quote
  #8  
Old 21st July 2010, 07:43 PM
SiliconSlick's Avatar
SiliconSlick Offline
Registered User
 
Join Date: Aug 2009
Location: College Station, TX
Posts: 501
linuxfedorafirefox
Re: A general GRUB question

If you installed grub in /boot instead of the MBR you can use XP's bootloader to start Linux. For one of many articles/examples on doing that see:

http://www.linux.com/archive/articles/113945

Or google "NTLDR linux"

SS
Reply With Quote
Reply

Tags
general, grub, question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
General question about grub in Fedora tommytt Using Fedora 7 15th July 2010 02:05 AM
General Question ashrafzia Programming & Packaging 1 19th September 2006 03:09 AM
I have a general question glenngds2006 Using Fedora 2 8th July 2006 02:58 AM
general VIM question ace_wolk Using Fedora 1 24th May 2006 01:49 AM


Current GMT-time: 06:12 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat