Bug 910

Summary: Grub2 not has string to enable hibernation
Product: [ROSA-based products] ROSA Fresh Reporter: Aleksandr Kazantcev <alexander.kazantsev>
Component: Packages from MainAssignee: ROSA Linux Bugs <bugs>
Status: RESOLVED FIXED QA Contact: ROSA Linux Bugs <bugs>
Severity: critical    
Priority: High CC: alex.burmashev
Version: Fresh   
Target Milestone: 2012 Desktop Beta2   
Hardware: All   
OS: Linux   
Whiteboard:
Platform: --- ROSA Vulnerability identifier:
RPM Package: Grub2 ISO-related:
Bad POT generating: Upstream:

Description Aleksandr Kazantcev 2012-10-14 15:03:01 MSK
Thince using Grub2 in Desktop 2012 Hibernate options was disappear from logout/exit menu. For return hibernation we need patch /etc/grub.d/10_linux and 

Replace


linux  ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}

with this

linux  ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args} resume=`swapon -s | grep '/dev/sd.[0-9]' -o` 

Also i think we need add (this is not check, but will be) string

init=/lib/systemd/systemd in command line after resume options.

In sum we will have string

linux  ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args} resume=`swapon -s | grep '/dev/sd.[0-9]' -o` init=/lib/systemd/systemd
Comment 1 Alexander Burmashev 2012-10-17 17:42:12 MSK
should also be fixed
Comment 2 Aleksandr Kazantcev 2012-10-20 00:23:25 MSK
Fixed in latest grub2 package.