bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #40530] GRUB should detect hibernated file system and prompt user


From: Vladimir Serbinenko
Subject: [bug #40530] GRUB should detect hibernated file system and prompt user
Date: Sun, 10 Nov 2013 23:58:46 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0 Iceweasel/25.0

Follow-up Comment #5, bug #40530 (project grub):

I like the alternatives much better. 
Now the implementation issues:
swap may not be visible to GRUB so looking at it is not reliable.
The way to proceed would be along GRUB saving last booted entry in grubenv as
"last_entry". Then hibernate scripts would use grub-editenv set "hibernated"
variable to 1. grub-mkconfig if GRUB_HIBERNATE_CHECK=true in /etc/default/grub
then would add a code in 00_header to set default to $last_entry and clear
hibernated.
Don't expect me to make a patch, last time I used hibernate RAM was just about
256M. But I'd accept a sane patch along those lines.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40530>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]