Re: How to find out where grub is installed?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2009-01-17 at 20:30 +0100, Andras Simon wrote:
> I have F7 (and an unused XP) installed and I'd like to install
> F10 without bothering F7. I have separate partitions for boot,
> root, usr that I left empty for just this purpose when I installed
> F7. From the recent "Grub and two distros" thread I
> understand (or so I hope) that a good method to proceed is to
> have grub installed in the respective Fedora versions' boot partitions,
> and, additionally, in the drive's MBR, which will chainload these.
> 
> My first question is: how do I find out whether the present grub
> is installed in the MBR or not. I'm guessing it's not, but how do
> I find out?
Well the machine always boots initially from the MBR. So if your machine
boots and only has Linux on it the main grub boot would start in the
MBR. In order to have the grub boot in another partition you would have
to have another system booting and transferring control to the grub boot
in that sector. XP can do that but since you say XP is not being used
that is not what is happening.
Bottom line your grub is most probably currently in the MBR.
> 
> grub.conf looks like this:
> 
> # 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,1)
> #          kernel /vmlinuz-version ro root=/dev/sda6
> #          initrd /initrd-version.img
> #boot=/dev/sda
> default=0
> timeout=5
> splashimage=(hd0,1)/grub/splash.xpm.gz
> hiddenmenu
> title Fedora (2.6.23.17-88.fc7)
> 	root (hd0,1)
> 	kernel /vmlinuz-2.6.23.17-88.fc7 ro root=LABEL=root1 rhgb quiet
> 	initrd /initrd-2.6.23.17-88.fc7.img
> title Fedora (2.6.23.15-80.fc7)
> 	root (hd0,1)
> 	kernel /vmlinuz-2.6.23.15-80.fc7 ro root=LABEL=root1 rhgb quiet
> 	initrd /initrd-2.6.23.15-80.fc7.img
> title Fedora (2.6.23.14-64.fc7)
> 	root (hd0,1)
> 	kernel /vmlinuz-2.6.23.14-64.fc7 ro root=LABEL=root1 rhgb quiet
> 	initrd /initrd-2.6.23.14-64.fc7.img
> title Other
> 	rootnoverify (hd0,0)
> 	chainloader +1
> 
> and the first few partitions are
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *           1        1275    10241406    7  HPFS/NTFS
> /dev/sda2            1276        1288      104422+  83  Linux
> /dev/sda3            1289        1301      104422+  83  Linux
> 
> sda2 is F7's boot partition, sda3 will hopefully be F10's.
> 
> Andras
> 
--
=======================================================================
My life is a patio of fun!
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux