Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:hibernate [2016/11/09 23:34] – created lamboringolinux:hibernate [2016/11/10 00:07] (current) lamboringo
Line 6: Line 6:
  
 - step 1: identify the swap partition - step 1: identify the swap partition
-<code>+ 
 +<code bash>
 blkid blkid
 </code> </code>
Line 12: Line 13:
 - step 2: add it to default grub config - step 2: add it to default grub config
  
-- step 3: try it+add it to ''/etc/default/grub'' in the ''GRUB\_CMDLINE_LINUX'' parameter 
 + 
 +<code> 
 + GRUB_CMDLINE_LINUX="rhgb quiet resume=UUID=bt81a351-8421-1337-96ca-r9ab3605ff7c" 
 +</code> 
 + 
 +for me it worked better with ''/dev'' 
 + 
 +<code> 
 + GRUB_CMDLINE_LINUX="rhgb quiet resume=/dev/sda5" 
 +</code> 
 + 
 +- step 3: remake/build the boot images 
 + 
 +<code> 
 +grub2-mkconfig -o /boot/grub2/grub.cfg 
 +</code> 
 + 
 +- step 4: try it