Hello,
On one machine, when booting and entering in grub menu to choice the OS, it points on the 4th one and not on the 1st one.
How can I manage this ?
Thank
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire interdisciplinaire Carnot de Bourgogne 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE Tel: +33 (0)380395988 ===========================================================================
On Sun, 16 Jun 2019 16:10:21 +0200 "Patrick Dupre" pdupre@gmx.com wrote:
On one machine, when booting and entering in grub menu to choice the OS, it points on the 4th one and not on the 1st one.
How can I manage this ?
I've never had that happen. Bizarre! If it happened to me I would check /etc/default/grub to be sure that the grub defaults are what I want, and then run grub2-mkconfig -o grub.cfg in the directory where grub.cfg is.
On 16.06.2019 16:29, stan via users wrote:
On Sun, 16 Jun 2019 16:10:21 +0200 "Patrick Dupre" pdupre@gmx.com wrote:
On one machine, when booting and entering in grub menu to choice the OS, it points on the 4th one and not on the 1st one.
How can I manage this ?
I've never had that happen. Bizarre! If it happened to me I would check /etc/default/grub to be sure that the grub defaults are what I want, and then run grub2-mkconfig -o grub.cfg in the directory where grub.cfg is.
Check if you have GRUB_DEFAULT=saved in /etc/default/grub and what entry is printed: grub-editenv list ?
On Sun, 16 Jun 2019 16:10:21 +0200 Patrick Dupre wrote:
On one machine, when booting and entering in grub menu to choice the OS, it points on the 4th one and not on the 1st one.
No doubt the "default" boot is set in the grub environment file. Investigate the grub2-editenv tool to list and edit the environment. Here's what "list" shows for me:
zooty> sudo grub2-editenv - list kernelopts=root=UUID=fb156e65-9621-4242-b334-0994a1301b04 ro selinux=0 audit=0 net.ifnames=0 biosdevname=0 saved_entry=gnulinux-5.0.9-301.fc30.x86_64-advanced-fb156e65-9621-4242-b334-0994a1301b04 menu_auto_hide=0 boot_success=1 boot_indeterminate=0
That saved_entry is probably the one it is stuck on.
It has be solved by running grub2-mkconfig -o grub.cfg and grub2-install /dev/sda
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire interdisciplinaire Carnot de Bourgogne 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE Tel: +33 (0)380395988 ===========================================================================
On 16.06.2019 16:29, stan via users wrote:
On Sun, 16 Jun 2019 16:10:21 +0200 "Patrick Dupre" pdupre@gmx.com wrote:
On one machine, when booting and entering in grub menu to choice the OS, it points on the 4th one and not on the 1st one.
How can I manage this ?
I've never had that happen. Bizarre! If it happened to me I would check /etc/default/grub to be sure that the grub defaults are what I want, and then run grub2-mkconfig -o grub.cfg in the directory where grub.cfg is.
Check if you have GRUB_DEFAULT=saved in /etc/default/grub and what entry is printed: grub-editenv list ? _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org