Re: Is Hibernate going to be fixed any time soon?

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

 





On 05/01/2015 02:59 PM, Ranjan Maitra wrote:
On Fri, 01 May 2015 14:11:18 -0600 jd1008 <jd1008@xxxxxxxxx> wrote:


On 05/01/2015 01:10 PM, Manfred Lotz wrote:
On Fri, 17 Apr 2015 13:55:19 -0600
jd1008 <jd1008@xxxxxxxxx> wrote:

Would appreciate some timelines on this problem.
I had the same problem for quite some time (don't know exactly when it
started).

After some google-searching today I found an advice to add resume
parameter in /etc/defaults/grub.

It should be appended in the line starting with GRUB_CMDLINE_LINUX


Here an example how it is on my system:

GRUB_CMDLINE_LINUX="rd.md=0
rd.luks.uuid=luks-4561626f-0890-441b-9afb-8947e6f39b24
rd.lvm.lv=vg2/swap rd.dm=0 rd.lvm.lv=rootvg/root
$([ -x /usr/sbin/rhcrashkernel-param ] && /usr/sbin/rhcrashkernel-param
|| :) vconsole.keymap=en-latin9 rhgb quiet resume=/dev/vg2/swap"


Then sudo grub2-mkconfig > /boot/grub2/grub.cfg and reboot.

I did only 1 test but it worked whereas before it did *not* work each
time I tried.



I did add
resume=/dev/sda4 resume=/dev/sdb4

but it did not work.
Someone told me that if I have 2 swap devices I have
to specify them in the correct order.
It is not clear to me what order that is, nor
have I seen an example where the swap space is on
2 devices.
I have :
$ swapon -s
Filename                                Type            Size Used
Priority
/dev/sda4                               partition       8388308 0       -1
/dev/sdb4                               partition       8370244 0       -2

I have 8GB RAM.
So, when I S2D (hibernate), which swap device ends up
being used for the full RAM image?
One of them?
Both of them?

If both, how do I specify that on the GRUB_CMDLINE_LINUX ?
I don't know the answer to your question nor do I know enough on the subject to know about the utility of having two swap devices. But (as I asked before), what is the device UUID? sudo blkid should have the infomation.

Ranjan
$ grep swap /etc/fstab

UUID=76f55d40-36cd-4f43-93e9-fd392beb26e5 swap swap defaults 0 0

UUID=7eb713dc-2bec-4c18-8c59-4094826feea8 swap swap defaults 0 0

Using the uuid of the device instead of it's device file name
in the GRUB_CMDLINE_LINUX line made no difference.


--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux