which grub to edit?

ne... guhvies at gmail.com
Fri Jun 29 08:19:34 UTC 2007


On 6/29/07, thufir <hawat.thufir at gmail.com> wrote:

[snip]

> By trial and error, /boot/grub/grub.conf from FC3 (hdb) is being used.  This
> fits with FC3 having been most recently installed.
>
> Should I add some sort of map to get FC7 booting?  I'm not sure what this would
> do, but....
You could add a stanza for FC7 to grub.conf

>
> At present, FC7 isn't booting.  How many chainloader +1 statements are needed?
None if you are not using *BSD or MS products on the same machine

> I've tried a few variations.
>
> Any and all thoughts welcome.  I'd like to boot back into Fedora 7.  FC3 is
> nostalgic, but, ....
Decide which system is like to be the longest lasting. Boot into that.
If it is FC7, you can add a stanza to the FC3 grub.conf to boot it.
Amend the grub.conf to be able to boot both systems. My grub.conf for
the machine I am typing on is in my FC3 install. I am currently booted
into FC7. Take pointers from it and amend yours to suit. If you decide
to use your FC7 grub, you will need to install that. Read up on the
grub man/info page on that.

=======< edited FC3 grub.conf >=======

title FC3 (2.6.11-1.35_FC3)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.11-1.35_FC3 ro root=LABEL=/ vga=795 noprobe
        initrd /boot/initrd-2.6.11-1.35_FC3.img
title FreeBSD
        rootnoverify (hd1,0)
        chainloader +1
title CentOS 4.1
        root (hd0,2)
        kernel /boot/vmlinuz-2.6.9-11.EL ro root=/dev/sda3 vga=795 noprobe
        initrd /boot/initrd-2.6.9-11.EL.img
title FC5
        root (hd2,1)
        kernel /boot/vmlinuz-2.6.20-1.2316.fc5smp ro root=/dev/sdc2
vga=795 noprobe
        initrd /boot/initrd-2.6.20-1.2316.fc5smp.img
title FC6
        root (hd2,5)
        kernel /boot/vmlinuz-2.6.20-1.2952.fc6 ro root=/dev/sdb6 vga=795 noprobe
        initrd /boot/initrd-2.6.20-1.2952.fc6.img
title FC7
        root (hd2,6)
        kernel /boot/vmlinuz-2.6.21-1.3228.fc7 ro root=/dev/sdb7 vga=795 noprobe
        initrd /boot/initrd-2.6.21-1.3228.fc7.img
title openSuSE 10.1
        root (hd2,2)
        kernel /boot/vmlinuz-2.6.16.27-0.9-smp ro root=/dev/sdb3 vga=795 noprobe
        initrd /boot/initrd-2.6.16.27-0.9-smp
title FC5 Xen
        root (hd2,1)
        kernel /boot/xen-3.0.2-2.gz
        module /boot/vmlinuz-2.6.16-xen ro root=/dev/sdc2 vga=795 noprobe 3
        module /boot/initrd-2.6.16-xen.img
#title FC7 Install
#       root (hd2,1)
#       kernel /boot/vmlinuz-fc7 ro vga=795 noprobe
##      kernel /boot/vmlinuz ro root=/dev/sdc2 vga=795 noprobe
#       initrd /boot/initrd-fc7.img
#title FC4
#       root (hd2,0)
#       kernel /boot/vmlinuz-2.6.15-1.1830_FC4 ro root=/dev/sdc1 vga=795 noprobe
#       initrd /boot/initrd-2.6.15-1.1830_FC4.img
===========< end edited FC3 grub.conf >============

As you can see I have quite a few installs on this machine.
HTH
ne...
-- 
Registered Linux User # 125653 (http://counter.li.org)
Certified: 75% bastard, 42% of which is tard.
http://www.thespark.com/bastardtest
Now accepting personal mail for GMail invites.




More information about the fedora-list mailing list