How to change the order of grub display

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

How to change the order of grub display

Postby nigelc » Aug 16th, '16, 06:47

The order of the kernels has been changed. Boot Mageia 5 used to be at top of the screen.
I had not booted the system for while and had not noticed it.
This is how it looks on the grub menu:
Code: Select all
Boot Mageia  (safe mode)
desktop 4.1.15-2.mga5)
Boot Mageia5
desktop 4.4.13-1.mga5
desktop 4.4.16-1.mga5


This is the MCC

Code: Select all
 linux-nonfb (/boot/vmlinuz)
 failsafe (/boot/vmlinuz)
 desktop 4.1.15-2.mga5 (/boot/vmlinuz-4.1.15-desktop-2.mga5)
*linux (boot/vmlinuz)
 desktop 4.4.13-1.mga5 (/boot/vmlinuz-4.4.13-desktop-1.mga5)
 desktop 4.4.16-1.mga5 (/boot/vmlinuz)-4.4.16-desktop-1.mga5)

I Think the failsafe one was down further.
cheers.
nigelc
 
Posts: 266
Joined: Aug 28th, '11, 09:35

Re: How to change the order of grub display

Postby gohlip » Aug 16th, '16, 08:47

have you tried
Code: Select all
# grub-mkconfig -o /boot/grub/menu.lst
or
Code: Select all
# grub-mkconfig -o /boot/grub2/grub.cfg
First command is for grub-legacy and the latter for grub 2.

If unsure which grub version you're on
Code: Select all
$ grub-install -v
or
Code: Select all
$ grub-install -V
Former on grub-legacy and latter for grub 2.

ps: grub 1.9x is grub 2 and grub 0.9x is grub-legacy
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50

Re: How to change the order of grub display

Postby nigelc » Aug 16th, '16, 09:32

There is no grub-mkconfig.

Code: Select all
whereis grub-mkconfig
grub-mkconfig:

urpmq --fuzzy grub-mkconfig
No package named grub-mkconfig


I think it is grub legacy.

cheers
nigelc
 
Posts: 266
Joined: Aug 28th, '11, 09:35

Re: How to change the order of grub display

Postby gohlip » Aug 16th, '16, 10:24

have you tried
Code: Select all
# grub-mkconfig -o /boot/grub2/grub.cfg


Should be
Code: Select all
# grub2-mkconfig -o /boot/grub2/grub.cfg
for grub 2. Sorry (I always missed this in Mageia. Other distro commands use only grub-mkconfig, regardless grub or grub 2).

I think it is grub legacy.

"grub-mkconfig" is not a package. It is a command. packages are 'grub' and grub2'
But since command grub-mkconfig won't work, it should be grub 2. Repeat - use "# grub2-mkconfig -o /boot/grub2/grub.cfg"
Package grub2 or grub is always installed by default in Mageia.
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50

Re: How to change the order of grub display

Postby plspls » Aug 16th, '16, 10:37

don't worry order of the kernel is not important as long as it boot

important is one kernel is selected but does not matter which
plspls
 
Posts: 95
Joined: Aug 14th, '16, 11:38


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest