Page 1 of 1

How to install Mageia with Ubuntu 11.04?

PostPosted: Jul 31st, '11, 15:35
by AndreSantos
Hi there!

I have a dual boot installation: my Windows 7 and my Ubuntu 11.04. I want to install Mageia 1 aside them, making my system a "tri-boot".

But, Ubuntu 11.04 (my main system) uses GRUB 2 to manage the boot process. And, when I tried to install Mandriva 2010, it became a mess, 'cause Mandriva uses Grub Legacy, and it didn't recognized my Ubuntu. It was a pain to make it all right again, and I needed to uninstall Mandriva to do so.

Now I want to install Mageia, but I want to leave Grub 2 to manage the boot. How can I install it without destroying my system?

Thanks a lot!

(Sorry for my BAD english. I'm new at this :D)

Re: How to install Mageia with Ubuntu 11.04?

PostPosted: Jul 31st, '11, 20:19
by djennings
I have never tried it but I think it would work if you install the Mageia Grub1 to the partition you are using for Mageia instead of the MBR and then create a menu entry in your Grub2 to chainload to the Mageia Grub1.

To Install Grub to the Mageia partition:- In the Mageia installer during setup of grub select the device as /dev/sdax instead of /dev/sda (where x is the partition number)

To configure a new menu item in Grub2 to chainload to Grub1 see here https://help.ubuntu.com/community/Grub2#Creating%20the%20Custom%20Menu

Re: How to install Mageia with Ubuntu 11.04?

PostPosted: Aug 3rd, '11, 10:51
by bigdavesr
Grub2 and legacy do not mix very well.I ran into it when ubuntu went to grub2. Its e asy to fix though. First install ubunto .Then install mageia. You will loose grub for ubuntu but dont worry about it. Reboot with ubuntu alternate cd. It will ask you what to use as your boot loader. Usualy sda1 if you loaded it to sdo. Then select reinstall grub. When thats done restart computer. It may show mageia and it may not. If it does you cant boot it yet. Boot ubuntu. Once into ubuntu you wiil need to open your mageia file system as root and go to /boot/grub menue1st. Yoy will see a line as follows:initrd (hd0,1)/boot/initrd.imgChange that line to the following:initrd /boot/initrd.img. Save and close natilus. The next step is to run sudo update-grub2 in a terminal. When you restart you can then run ubuntu and mageia in grub2.

Re: How to install Mageia with Ubuntu 11.04?

PostPosted: Aug 3rd, '11, 11:56
by doktor5000
Way too much hassle, if you ask me.
With djennings' link you have to create one file for the Mageia entry in ubuntus grub and you're done, also when it comes to kernel updates on Ubuntus side.