Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 1384  / 3 Years ago, sat, october 23, 2021, 3:11:30

Why don't I have a resume file in the path: /etc/initramfs-tools/conf.d?
Shouldn't there be in this path?


I'm using Ubuntu 20.04 and while installation I created a swap partition (instead of swapfile) that is regularly in use, in fact the output of swapon -s is:


Filename                Type        Size    Used    Priority
/dev/sdb5 partition 9765884 0 -2

N.B.: Actually I'm looking for this file because I want to migrate from swap partition to a swapfile, and for this purpose I found some simple instructions which, at the end, also suggest to edit this "resume" file (that I don't have)!


More From » 20.04

 Answers
5

You'll have one only after you hibernate your system (instead of shutting down), otherwise you don't have one.


Not having one is normal (if you watch the boot messages, you'll note an error with it not being found which leads to the normal cold boot). The file's presence tells the system it was hibernated and a resume is required (instead of cold-boot).


It doesn't relate to the swapfile/swap-partition change


https://wiki.ubuntu.com/DebuggingKernelHibernate


[#2279] Saturday, October 23, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ampolinhad

Total Points: 88
Total Questions: 100
Total Answers: 116

Location: South Georgia
Member since Tue, Feb 1, 2022
2 Years ago
ampolinhad questions
Thu, Sep 8, 22, 15:45, 2 Years ago
Tue, Aug 10, 21, 20:03, 3 Years ago
Sat, Oct 16, 21, 22:44, 3 Years ago
Thu, Nov 17, 22, 15:34, 1 Year ago
Mon, Nov 14, 22, 22:15, 1 Year ago
;