Page 1 of 1

Don't install GRUB

PostPosted: Jul 12th, '16, 20:29
by Sullivan096
The mageia 6 installer default to install grub2.
I can't found a selection to stop this action.

Is there a cli installer or mageia ??

I want to boot into mageia by using fedora GRUB, What should i do?
How to stop mageia install GRUB??

Re: Don't install GRUB

PostPosted: Jul 12th, '16, 22:25
by benmc
Hello Sullivan096,

If you cannot change the grub choice to grub legacy it means that you are installing in UEFI mode.
To install Grub legacy , you must initiate your install in bios legacy, or CSM mode, not UEFI

regards

edit: I note from your other post that your HDD is in MBR partition format, so the UEFI install will fail.

Re: Don't install GRUB

PostPosted: Jul 12th, '16, 23:19
by Sullivan096
Actually, I download the Mageia iso file, than use rufus to make a Live USB.

than boot into LiveUSB, it show the screen that "Mageia boots in Legacy mode"

and i click install Mageia 5, the main problem is that there is not options for me to disable the grub install. Here:
https://wiki.mageia.org/en/File:EFI-solo5_1.png

because i have another grub in /boot partition.

When i finish Mageia installation, I couldn't use Mageia's grub2 to boot into fedora, screen show kernel panic, not syncing: VFS: Unalbe to mount root fs on unkown-block(0,0).
I couldn't use fedora grub boot into Mageia too?
so what should i do??

Re: Don't install GRUB

PostPosted: Jul 12th, '16, 23:22
by Ken-Bergen
If you don't install grub then you can't boot Mageia.
If you want to use Fedora as the main boot loader install the Mageia grub to the / partition of your Mageia installation.
Then make a menu entry in the Fedora grub that chain loads to the Mageia grub.

Re: Don't install GRUB

PostPosted: Jul 12th, '16, 23:28
by Sullivan096
How to make a menu entry in the Fedora grub??
And When i start the machine, which grub would start first??
However thank for reply.

Re: Don't install GRUB

PostPosted: Jul 12th, '16, 23:40
by benmc
Sullivan096 wrote:The mageia 6 installer default to install grub2.


This is correct if you have booted the installer system in UEFI mode, and you cannot change it.
If you have booted the installer system in bios legacy or CSM mode, you can choose another bootloader i.e. grub legacy.

Re: Don't install GRUB

PostPosted: Jul 12th, '16, 23:52
by Ken-Bergen
Sullivan096 wrote:And When i start the machine, which grub would start first??
The Fedora boot loader will have been written to /dev/sda which is the only boot-able device your BIOS will see while the Mageia boot-loader will be written to /dev/sda(X).

Re: Don't install GRUB

PostPosted: Jul 12th, '16, 23:56
by Sullivan096
Ken-Bergen wrote:
Sullivan096 wrote:And When i start the machine, which grub would start first??
The Fedora boot loader will have been written to /dev/sda which is the only boot-able device your BIOS will see while the Mageia boot-loader will be written to /dev/sda(X).


So if i install Mageia on /dev/sda1, then on this part: bootloader option,
https://wiki.mageia.org/en/File:EFI-solo5_1.png

I should chose grub2 on /dev/sda1 ?? is it correct ??

Re: Don't install GRUB

PostPosted: Jul 13th, '16, 00:11
by Ken-Bergen
/dev/sda1 is correct if that's where you installed Mageia.
As for grub2 or plain grub what does your Fedora installation use?

Re: Don't install GRUB

PostPosted: Jul 13th, '16, 06:28
by gohlip
Sullivan096 wrote:The mageia 6 installer default to install grub2.

I want to boot into mageia by using fedora GRUB, What should i do?
How to stop mageia install GRUB??


After installation of Mageia, go to Fedora terminal
Code: Select all
# grub2-install /dev/sda

then to make sure Mageia's entry is there
Code: Select all
# update-grub2


And then to prevent Mageia's grub2 becoming 'default' after another grub version update (only grub version update will do this, not 'update-grub')
Go to Mageia's terminal
Code: Select all
# grub2-install --force /dev/sdax
where /dev/sdax ('x' is a number) is Mageia's partition.
ps: there will be lots of warning (embedding, unreliable, ...) but installation will complete without errors. Don't worry.

[edit] - changed "sudo grub2-install......" and other commands to " # grub2-install...."
'sudo' is not default in Mageia unless sudoer and wheel is specifically implemented by user.

Re: Don't install GRUB

PostPosted: Jul 13th, '16, 13:08
by Sullivan096
Well, Thank everyone.

Finally i can use the fedora grub2 to boot into Mageia 6.

But the booting time is quite long , and there are some error like LSB etc.
Seems Mageia couldn't support boot up by other grub perfectly.

Re: Don't install GRUB

PostPosted: Jul 13th, '16, 17:25
by doktor5000
Sullivan096 wrote:But the booting time is quite long , and there are some error like LSB etc.
Seems Mageia couldn't support boot up by other grub perfectly.

What does quite long in particular mean, and what errors do you see, can you please be more specific?
If in doubt, attach the configuration that was added in Fedora's grub for Mageia here and once Mageia is booted the output as root of

Code: Select all
systemd-analyze blame
journalctl -ab

Re: Don't install GRUB

PostPosted: Jul 13th, '16, 18:08
by Sullivan096
I upload the " journalctl -ab " file here. Thank.
And their are some failed part, like:

Code: Select all
[root@localhost ~]# journalctl -ab | grep Failed
Jul 13 23:40:01 localhost systemd[1]: Failed to start Load legacy module configuration.
Jul 13 23:40:01 localhost systemd[1]: fedora-loadmodules.service: Failed with result 'exit-code'.
Jul 13 23:40:04 localhost systemd[1]: Failed to start Show Plymouth Boot Screen.
Jul 13 23:40:04 localhost systemd[1]: plymouth-start.service: Failed with result 'core-dump'.
Jul 13 23:40:06 localhost systemd[1]: Failed to start Show Plymouth Boot Screen.
Jul 13 23:40:06 localhost systemd[1]: plymouth-start.service: Failed with result 'core-dump'.
Jul 13 23:40:20 localhost bluetoothd[850]: Failed to obtain handles for "Service Changed" characteristic
Jul 13 23:40:21 localhost systemd[1]: Failed to start Irda Support.
Jul 13 23:40:21 localhost systemd[1]: irda.service: Failed with result 'resources'.
Jul 13 23:40:22 localhost systemd[1]: Failed to start LSB: Bring up/down networking.
Jul 13 23:40:22 localhost systemd[1]: network.service: Failed with result 'exit-code'.
Jul 13 23:40:38 localhost systemd[1]: Failed to start LSB: Connection tracking state replication.
Jul 13 23:40:38 localhost systemd[1]: ct_sync.service: Failed with result 'exit-code'.
Jul 13 23:40:47 localhost org.a11y.Bus[2570]: ** (process:2657): WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files


I am a newbie of Linux, thank.

Re: Don't install GRUB

PostPosted: Jul 25th, '16, 01:57
by kozaki
@Sullyvan you shared the journal but somehow not the first command as asked by doktor5000, which is: `systemd-analyze blame`

Mageia6 is still in Beta stage, which focuses on further debugging rather than system speed. That noted, I can boot Mageia 6 in 15-25 seconds on an old Celeron monocore with 2gb RAM (whether from the main Grub or chainloading to Mageia6's). It's Plasma that's a boot time killer. More boot time tests in this post (you're welcome to add your boot time results).