URL:
  <https://savannah.gnu.org/bugs/?56378>

                 Summary: grub-reboot and grub-set-default properly
                 Project: GNU GRUB
            Submitted by: dustin
            Submitted on: Thu 23 May 2019 02:09:14 PM UTC
                Category: Configuration
                Severity: Major
                Priority: 5 - Normal
              Item Group: Documentation
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: 2.02
         Reproducibility: None
         Planned Release: None

    _______________________________________________________

Details:

Hello,

i have a fresh installed Ubuntu (Server) 18.04.
I added a custom menu entry /etc/grub.d/40_custom:

menuentry "Backup" {
    set root=(hd0,3)
    linux /vmlinuz root=/dev/sda3 ro quiet splash
    initrd /initrd.img
}

Until now anything works fine, the custom menu entry is visible and i can boot
from it.
Now i try to set the default via grub-set-default 3 or set the default
temporary grub-reboot.
Sometimes it works fine, but sometimes not.

As example currently the file /boot/grub/default contains 0 and the file
/boot/grub/grubenv contains saved_entry=0.

My grub config(/etc/default/grub) looks like this
GRUB_DEFAULT=saved
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=nomsi"
GRUB_CMDLINE_LINUX=""

I also did the update-grub command.

Any ideas or suggestions how i can fix it ?




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56378>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to