Don't install GRUB

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Don't install GRUB

Postby Sullivan096 » Jul 12th, '16, 20:29

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??
Sullivan096
 
Posts: 7
Joined: Jul 11th, '16, 23:52

Re: Don't install GRUB

Postby benmc » Jul 12th, '16, 22:25

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.
benmc
 
Posts: 1213
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: Don't install GRUB

Postby Sullivan096 » Jul 12th, '16, 23:19

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??
Sullivan096
 
Posts: 7
Joined: Jul 11th, '16, 23:52

Re: Don't install GRUB

Postby Ken-Bergen » Jul 12th, '16, 23:22

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.
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: Don't install GRUB

Postby Sullivan096 » Jul 12th, '16, 23:28

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.
Sullivan096
 
Posts: 7
Joined: Jul 11th, '16, 23:52

Re: Don't install GRUB

Postby benmc » Jul 12th, '16, 23:40

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.
benmc
 
Posts: 1213
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: Don't install GRUB

Postby Ken-Bergen » Jul 12th, '16, 23:52

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).
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: Don't install GRUB

Postby Sullivan096 » Jul 12th, '16, 23:56

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 ??
Sullivan096
 
Posts: 7
Joined: Jul 11th, '16, 23:52

Re: Don't install GRUB

Postby Ken-Bergen » Jul 13th, '16, 00:11

/dev/sda1 is correct if that's where you installed Mageia.
As for grub2 or plain grub what does your Fedora installation use?
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: Don't install GRUB

Postby gohlip » Jul 13th, '16, 06:28

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.
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50

Re: Don't install GRUB

Postby Sullivan096 » Jul 13th, '16, 13:08

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.
Sullivan096
 
Posts: 7
Joined: Jul 11th, '16, 23:52

Re: Don't install GRUB

Postby doktor5000 » Jul 13th, '16, 17:25

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
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: Don't install GRUB

Postby Sullivan096 » Jul 13th, '16, 18:08

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.
Attachments
journalctl.txt
(239.41 KiB) Downloaded 135 times
Last edited by isadora on Jul 13th, '16, 20:23, edited 1 time in total.
Reason: Placed command-output in between [CODE]-tags for better readability ;)
Sullivan096
 
Posts: 7
Joined: Jul 11th, '16, 23:52

Re: Don't install GRUB

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

@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).
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


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron