If you haven't done so yet, please read the section called “Bootloader main options” first.
A GRUB2 based system may be added to the Mageia boot menu as follows:
Boot into the system in question and in order to determine the grub version, in a terminal run the command:
If this returns "GNU GRUB version 0.97" (possibly with a custom suffix), then it is using GRUB (otherwise called GRUB legacy) not GRUB2 and your system should be correctly identified by Mageia during installation and added automatically to the menu.
If this returns (GRUB) 1.98 or 1.99 or 2.xx, then you are using GRUB2.
Make a note of the version and enter this command to identify the root partition:
This will output something like :
Filesystem Size Used
Avail Use% Mounted on
In your new running Mageia system, open a terminal and as root edit the file /boot/grub/menu.lst. as follows:
Add the following entry for your (e.g. Ubuntu) system possibly as the second stanza:
If the GRUB2 version is 2.xx then change the last line to :
kernel
/boot/grub/i386-pc/core.img
If you needed
to use "grub2-install" earlier then change /grub/
to /grub2/
in the last line.
Save the file and re-boot. You should now see your "Ubuntu" entry in the menu and be able to boot from it.
If you didn't read the general part about using an existing bootloader yet, do so now. See the section called “Using an existing boot loader”