zugunder wrote:Hi,
I'd like to try one more distro on my laptop (Xubuntu) and I am curious what exactly I should do in order to be able to use the existing bootloader (from Mageia3).
So, as of now, I have a Mageia bootloader managing Mageia 3 and Win7 on the same (and only) hard drive.
As far as I understand, I need to make a new set of partitions (I am thinking of /, /home and swap) and to install another distro there.
Not bad, But I'd agree with Ken-Bergen's suggestion about the swap and home partitions... One thing, you might want to wait until after the installation of the 2nd Linux to create your actual user account there. It may be that their gui will let you specify the same user UID number as your Mageia user to facilitate easy data file sharing... Certainly that can be done on the command line with useradd.
My question is - will it be better to skip bootloader installation completely or to install it to the new distro's root partition?
I would definitely install their bootloader to their root partition. This will make it possible to chainload their bootloader if you don't want to edit or update Mageia's every time Xubuntu updates the kernel.
Will it be automatically recognized by Mageia's grub or will I have to specify it (via MCC or config files) manually?
That might depend on whether your Mageia3 is using grub {legacy} or grub2 such as David_Batson describes. If grub2, it might get picked up automatically when you update Mageia's grub. with something like:
- Code: Select all
grub-mkconfig -o /boot/grub/grub.cfg
for which your Xubuntu will probably simplify with a script named "update-grub"
If you are using grub2, I'm hoping somebody else will advise you. I make a point of using grub legacy where ever possible. Which includes my Mageia3. Where I see no evidence of any automatically updated grub entries in the /boot/grub/menu.lst file. Instead the current vmlinuz & initrd files are references with symlinks. Such as:
- Code: Select all
JtWdyP -> ~
> ls -l /boot/vmlinuz
lrwxrwxrwx 1 root root 31 Sep 17 15:40 /boot/vmlinuz -> vmlinuz-3.8.13.4-desktop-1.mga3
JtWdyP -> ~
>
And my other Linux are referenced like so:
- Code: Select all
title openSUSE 12.2 (x86_64)
root (hd0,4)
configfile /boot/grub/menu.lst
title Linux sda6
root (hd0,5)
chainloader +1
Where the Linux I used to have on /dev/sda6 had grub2 installed to it's root partition when the Mageia installer created these. If you are using grub legacy, and If you installed the Xubuntu bootloader to Xubuntu's root partition then with the correct "root" line the chainloader entry would likely work for you.
Though don't simply copy it from Xubuntu's /boot/grub/grub.cfg as grub2 uses slightly different logic on drive/partition numbering. They still start at zero when they number the hard drive, But they now start with a one when they number the partitions. So while grub legacy refers to my /dev/sda6 partition as (hd0,5) grub2 would say (hd0,6) Or even (hd0,msdos6) Though what dos has to do with an ext3 partition I'll never know.
Sorry, I've never done that before and am not aware of grub functions in detail.
Don't be sorry. We are all still learning.
