Grubs really aren't very attractive...

Bodhi Zazen bodhi.zazen at
Sun Apr 22 14:13:37 UTC 2012

Grub2 is a bit of a change.

The advantage, IMO, is that grub 2 works much better out of the box and the need for manual configuration is much less.

The disadvantage is that it is more complex to manually configure, as you found out, and the syntax has changed.

The best single source of information on gurb2, IMO, is still:

although that page does not cover all the options (insmod).

grub2 is modular, somewhat like the kernel, you can see all the modules in the /boot/grub directory. You use or load them with insmod.

To be honest, I think you are doing this the hard way ;)

What is it you do not like about the defaults such that you are chainloading ?

I personally also highly suggest you post documentation of this sort on the Fedora wiki rather then a mailing list as this seems more documentation rather then a question.

----- Original Message -----
From: "Tom Horsley" <horsley1953 at>
To: "Fedora Test List" <test at>
Sent: Friday, April 20, 2012 11:14:28 PM
Subject: Grubs really aren't very attractive...

I've just spend most of an evening getting a stand alone
GRUB2 partition to work (if you can call it that) and
I consider myself lucky I managed that much :-).

Here's the fascinating fruit of my labors - a grub.cfg
that can multi boot fedora 16, fedora 17, and memtest:

set default="0"
set timeout=10

menuentry "Boot Fedora 16" {
    set root='hd0,msdos3'
    chainloader +1

menuentry "Boot Fedora 17" {
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    multiboot /boot/grub2/i386-pc/core.img

menuentry "Boot Memtest" {
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    linux16 /memtest/memtest86+-4.20.bin

This is using the grub2 that ships with fedora 17 Beta.

Note that the word "kernel" doesn't appear anywhere.
With the latest grub2 improvements, you apparently
must tell it what kind of kernel, so there are
different commands like linux, linux16, multiboot,

Also note that fedora 16 doesn't use multiboot.
It simply refused to work on the fedora 16 partition.
Apparently the f16 grub2 isn't compatible with
the multiboot standard they run on and on about
in the info file without ever actually managing
to say what the heck it is :-). So I'm still
chainloading to boot fedora 16.

I previously had grub1 installed in the MBR.

To get grub2 (after various failed attempts),
the magic seemed to be:

rsync -a /boot/grub2/ /mainboot/grub2/

That gets all the modules and wot-not copied into
the /mainboot partition I'm using as a stand alone

I don't know if the following is actually necessary,
but it didn't work right till I did it this way.
(The disk is sdb at this point because sda was the
live USB stick I needed to use after breaking
the boot with previous install attempts :-).

mv /boot /origboot
mv /mainboot /boot
grub2-install /dev/sdb1
mv /boot /mainboot
mv /origboot /boot

edit /mainboot/grub2/ and fix
the sdb names to say sda (which is what the
disk will be when booting without the USB stick).

And that's how I got a stand alone grub2 partition
fixed up to boot multiple versions of linux.

Simple :-).
test mailing list
test at
To unsubscribe:

More information about the test mailing list