How to find out where grub is installed?
Andras Simon
szajmi at gmail.com
Sat Jan 17 19:30:00 UTC 2009
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?
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
More information about the fedora-list
mailing list