Adding Fedora15 to F16alpha grub2 menu

Joachim Backes joachim.backes at
Thu Aug 25 07:14:38 UTC 2011

On 08/25/2011 08:25 AM, Thomas Mittelstaedt wrote:
> Am Mittwoch, den 24.08.2011, 22:40 -0600 schrieb Petrus de Calguarium:
>> I have installed F16α and with it grub2 to the MBR of /dev/sda. I am
>> experimenting happily with F16, but I am unable to add F15 to the
>> grub2 boot menu.
>> I have edited /etc/grub.d/40_custom and run grub2-mkconfig -o
>> /boot/grub2/grub.cfg, but my F15 entry never shows up in the menu,
>> even though it is in grub.cfg.
>> When I start the computer and select the (c)ommand line in grub, I am
>> able to enter:
>> set root=(hd0,7)
>> linux /boot/vmlinuz- root=/dev/sda7 ro quiet etc
>> etc etc etc etc rd.xxxx=0 etc etc etc
>> initrd /boot/initramfs-
>> and then type boot, I am able to boot F15 without problem.
>> Entering the same into the grub.cfg file doesn't work.
>> How can I get a F15 menu entry in grub.cfg?
>> --
>> test mailing list
>> test at
>> To unsubscribe:
> Well, F16 has grub2 according to your mail. I recently upgraded my main
> machine to grub2 as well and I have the following entry to boot my
> Fedora 15, which still has legacy grub, on a separate partition via:
> ### BEGIN /etc/grub.d/40_custom ###
> # This file provides an easy way to add custom menu entries.  Simply
> type the
> # menu entries you want to add after this comment.  Be careful not to
> change
> # the 'exec tail' line above.
> menuentry "Fedora (2.6.40-4.fc15.i686)" {
>          recordfail=1
>          if [ -n ${have_grubenv} ]; then save_env recordfail; fi
>          insmod ext2
>          set root=(hd0,3)
>          search --no-floppy --fs-uuid --set
> 93f664e9-9013-47b4-b5d8-1239af7c0605
>          linux /vmlinuz-2.6.40-4.fc15.i686 ro
> root=/dev/mapper/vg_myfedora15-lv_root rd_LVM_LV=vg_myfedora15/lv_root
> rd_LVM_LV=vg_myfedora15/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM
> LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
>          initrd /initramfs-2.6.40-4.fc15.i686.img
> }

my grub.cfg (using chainloader) entry for F15 (after installing grub2 in 
F15 and installing then in F15 the grub2 bootloader to /dev/sda7):

menuentry 'Fedora 15' --class fedora --class gnu-linux --class gnu 
--class os {
	set root=(hd0,7)
	chainloader +1

This works on my box

Kind regards

Joachim Backes <joachim.backes at>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4750 bytes
Desc: S/MIME Cryptographic Signature
Url : 

More information about the test mailing list