You are not logged in.
Pages: 1
Hi,
I'm just trying to to grips with grub2 and hibernation but fail to see where or what to put in /etc/grub.d/40_custom for the resume path.
The pm-utils wiki only handles grub legacy and it does not get mentioned at all on the grub2 page. Anybody out there with the answer? Will amend wiki pages, honest
Last edited by toad (2011-02-03 16:01:38)
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
Hi,
you have to put resume=/dev/swap-partition to the kernel line in /boot/grub/menu.lst
Offline
That is what it says in the wiki and is valid for grub legacy (and works ).
However, I've got grub2 and am unsure as to how to put the resume command into /etc/grub.d/40_custom...
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
Hi,
I'm just trying to to grips with grub2 and hibernation but fail to see where or what to put in /etc/grub.d/40_custom for the resume path.
The pm-utils wiki only handles grub legacy and it does not get mentioned at all on the grub2 page. Anybody out there with the answer? Will amend wiki pages, honest
No need to edit 40_custom file. Directly add resume=/dev/<swap_partition> to kernel line in /boot/grub/grub.cfg
My new forum user/nick name is "the.ridikulus.rat" .
Offline
No need to edit 40_custom file. Directly add resume=/dev/<swap_partition> to kernel line in /boot/grub/grub.cfg
Yeah, but doesn't that get overwritten with the next kernel?
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
skodabenz wrote:No need to edit 40_custom file. Directly add resume=/dev/<swap_partition> to kernel line in /boot/grub/grub.cfg
Yeah, but doesn't that get overwritten with the next kernel?
My new forum user/nick name is "the.ridikulus.rat" .
Offline
Brilliant, many thanks for that link - all is well again in archworld
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
Adjusted pm-utils wiki accordingly.
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
Pages: 1