will Mageia6 allow to install Grub2 on PBR?

This forum is dedicated to testing early releases and cauldron : Howtos, tips, tricks and user global feedback and thoughts...

Helpful tip :
For bugs tracking we use : https://bugs.mageia.org = The Mageia Bug Tracker
In this bug tracker you'll find already reported bugs and you'll be able to report those you have found....

will Mageia6 allow to install Grub2 on PBR?

Postby kozaki » Jul 24th, '16, 15:21

As when installing in early July, latest mcc still allows to install Grub2 bootloader on MBR only.

Just a note as this might be on purpose atm. But it also forces testers to either
- overwrite their working bootloader configuration
- postpone its installation upon having Mageia6 installed and then do it on command line
- cancel the distro install
Last edited by kozaki on Jul 24th, '16, 17:43, edited 1 time in total.
Seeding Mageia 5 (212 GB since 2016-02-06); Mageia 6 dev1 (363 GB) and sta1 install/LiveDVD (101 GB since 2016-07-03, also on LT).
My GPG: 0xAA75254B.
User avatar
kozaki
 
Posts: 31
Joined: Dec 16th, '15, 16:36
Location: London > . < Paris

Re: [feature] allow to install Grub2 on PBR

Postby doktor5000 » Jul 24th, '16, 16:07

For the installation, did you boot in UEFI or legacy mode ?

In any case, this is the wrong place to propose features. The feature process for Mageia 6 already closed long ago. Also see https://wiki.mageia.org/en/Features_policy
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [feature] allow to install Grub2 on PBR

Postby kozaki » Jul 24th, '16, 17:43

It's a PC-BIOS install. Clarification appreciated. Actually it was a question but lacking the "?" mark (hence the absence of "request" in post's title).

For
I had no such option when installing Netinstall on July 4. And drakboot still does not offer me the option to install a bootloader on PBR for Mageia6 Cauldron.
Image

Now, #18761 reports this option *is offered* (e.g. see comments 8 and 9).

PS On boot install, please do you know where I can check whether Mageia6 Installer will support LVM? For I couldn't:
1. Installer recognizes existing vg and can format a lv: http://pic.al/kLd
2. also recognizes a separate, logical boot partition: http://pic.al/jLd
3. then fails to install with this screen: http://pic.al/hLd

EDIT: was unclear the logical partition is /boot
Last edited by kozaki on Jul 25th, '16, 01:31, edited 1 time in total.
Seeding Mageia 5 (212 GB since 2016-02-06); Mageia 6 dev1 (363 GB) and sta1 install/LiveDVD (101 GB since 2016-07-03, also on LT).
My GPG: 0xAA75254B.
User avatar
kozaki
 
Posts: 31
Joined: Dec 16th, '15, 16:36
Location: London > . < Paris

Re: will Mageia6 allow to install Grub2 on PBR?

Postby gohlip » Jul 24th, '16, 18:48

I've forgotten (though I've installed Mageia several times and I always used grub 2) whether Mageia installer allows to install grub 2 to partition (pbr).
And I always make all my OS's set grub to its own partition (I have my own dedicated OS-independent grub2).
But let's assume it did not. But we can, after installation set it to the way you want it.

After installation, boot up the OS that you want to set grub to mbr.
At that OS terminal,
Code: Select all
sudo grub-install /dev/sda

or
Code: Select all
# grub2-install /dev/sda

Of course "sudo update-grub" or "# grub2-update" or "#grub-mkconfig -o /boot/grub/grub.cfg" to include Mageia in its grub

Then boot up Mageia OS and at terminal
Code: Select all
# grub2-install --force /dev/sdxy
(where /dev/sdxy is Mageia partition).

ps: there will be lots of warning (embedding, unreliable, ...etc) but installation will proceed successfully.

[edit] - For lvm, you will need a separate /boot outside lvm
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50

Re: will Mageia6 allow to install Grub2 on PBR?

Postby kozaki » Jul 25th, '16, 01:45

@gohlip yeah similar habits in this location.

I've forgotten (though I've installed Mageia several times and I always used grub 2) whether Mageia installer allows to install grub 2 to partition (pbr).

Not here (as shown in the screenshot in my previous post) whether at install or running drakboot.

Yeah I use
Code: Select all
grub-install --target=i386-pc --debug --force /dev/sdNX
to force Grub2 install on its OS root partition. Any error or warning is sure to show up this way.
Please let me recall my question: will Mageia6 allow to install Grub2 on PBR --during install? For I wonder: Is all the intended public aware of the mandatory steps to do so without a GUI option (i.e. bypass the bootloader install step is engaging, then shift to a console or chroot in Mageia, and then make the main Bootloader which might be syslinux, OSX or Windows aware of the new OS)?
In yes *then* it will be more straightforward for both users and forum super users, like e.g. « Don't install GRUB » .

[edit] - For lvm, you will need a separate /boot outside lvm

Done, and still Mageia unable to install (as shown on the image screens linked in my previous post)...
Even so, it's GRUB Legacy which does not support LVM. GRUB users do not have this limitation.
Seeding Mageia 5 (212 GB since 2016-02-06); Mageia 6 dev1 (363 GB) and sta1 install/LiveDVD (101 GB since 2016-07-03, also on LT).
My GPG: 0xAA75254B.
User avatar
kozaki
 
Posts: 31
Joined: Dec 16th, '15, 16:36
Location: London > . < Paris

Re: will Mageia6 allow to install Grub2 on PBR?

Postby gohlip » Jul 25th, '16, 04:19

Please let me recall my question: will Mageia6 allow to install Grub2 on PBR --during install?

Okay, maybe you are right. As I said I cannot recall and I do not use lvm.
And maybe I did redid grub to its partition after the installation (which is not a big deal, to me).

So, if someone else wants to take a jab at this issue, be my guest.
Good luck and take care.

[ps & edit] - One of the reasons I do not remember is I have quite a number of other distros in my systems and I do test out some installers (calamares for example)
and I do agree installers should allow for installation of bootloader (or not at all) to partition (default to mbr is fine). Calamares started out with lots of issues (cannot install to partition or none, swap changes, partitions rearranged) and because the developers are very responsive to feedback, it is (IMO) now very very good. It allows for partition labelling and command line interface in future versions.

As a side note, swap uuid must never be changed by installer. Debian installers do that. And Mageia (not sure if this has been changed - no feedback, no response) does not handle uuid changes ...er, 'well' ? despite making changes to fstab and /etc/default/grub.
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50


Return to Testing : Alpha, Beta, RC and Cauldron

Who is online

Users browsing this forum: No registered users and 1 guest

cron