bugGNU GRUB - Bugs: bug #56378, grub-reboot and grub-set-default...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #56378: grub-reboot and grub-set-default properly

Submitter:  Dustin Utecht <dustin>
Submitted:  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: 
Open/Closed:  Open Release:  2.02
Release:  Reproducibility:  None
Planned Release:  None

Thu 23 May 2019 02:09:14 PM UTC, original submission:  

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 ?

Dustin Utecht <dustin>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dustin (Submitted the item)
  • -email is unavailable- added by dustin
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-05-23 dustin Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code