[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #56603] Grub show boot menue and wait for 30s after hibernate even
From: |
Marc Köntges |
Subject: |
[bug #56603] Grub show boot menue and wait for 30s after hibernate even is menue is hidden or set to another wait time. |
Date: |
Tue, 9 Jul 2019 21:10:14 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0 |
URL:
<https://savannah.gnu.org/bugs/?56603>
Summary: Grub show boot menue and wait for 30s after
hibernate even is menue is hidden or set to another wait time.
Project: GNU GRUB
Submitted by: pventwickler
Submitted on: Wed 10 Jul 2019 01:10:12 AM UTC
Category: Booting
Severity: Major
Priority: 5 - Normal
Item Group: Software Error
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release:
Release: 2.02
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Details:
Problem: Linux Mint Mate 19.1 always wakes up with a grub menu and 30 s wait
time during boot after hibernation, even if you have configured the boot menu
as hidden or with a different wait time.
Others seem to have the same problem:
https://www.linuxmintusers.de/index.php?topic=53547.0
https://www.linuxmintusers.de/index.php?topic=53428.0
https://wiki.hetzner.de/index.php/Grub2_recordfail/en
http://www.ubuntu-forum.de/artikel/53340/grub2-kein-timeout-mehr.html
The Grub Envirementvariable recordfail is not set correctly when switching to
hibernate mode.
This always causes the boot menu to appear because Grub thinks the system was
not started correctly.
Previously, scripts running before and after sleep or hibernate were placed
in
/etc/pm/sleep.d/
Starting with Unbutu 16.04, the directory was changed to
/lib/system/system-sleep/
See
https://forum.ubuntuusers.de/topic/script-nach-standby-ausfuehren/#post-3392787
or
https://wiki.archlinux.org/index.php/Power_management#Hooks_in_/usr/lib/systemd/system-sleep
The script, which sets the grub recordfail variable, has apparently not been
moved to the new directory.
The script should therefore be copied to the new directory:
sudo cp /etc/pm/sleep.d/10_grub-common /lib/systemd/system-sleep/
with
sudo vi /lib/system/system-sleep/10_grub-common
you change the script from
#!/bin/sh
# Tell grub that resume was successful
case "$1" in
thaw)
[ -s /boot/grub/grubenv ] || rm -f /boot/grub/grubenv
mkdir -p /boot/grub
grub-editenv /boot/grub/grubenv unset recordfail
;;
esac
to the following
#!/bin/sh
# Tell grub that resume was successful
case $1/$2 in
post/*)
[ -s /boot/grub/grubenv ] || rm -f /boot/grub/grubenv
mkdir -p /boot/grub
grub-editenv /boot/grub/grubenv unset recordfail
;;
esac
because the transfer parameters have changed.
My system boot now works under Linux Mint Mate 19.1 on several computers
without 30s waiting time in the grub menu after a hibernate state.
Maybe someone of the Grub developers can take a closer look at this problem.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56603>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #56603] Grub show boot menue and wait for 30s after hibernate even is menue is hidden or set to another wait time.,
Marc Köntges <=