Unable to Hibernate: Swap header not found











up vote
1
down vote

favorite












I hadn't allocated any swap partition while installing ubuntu before so I couldn't hibernate my laptop which gave error: couldn't find swap device,try swapon. I then created a swap partition using GParted of size about 10Gb and checked on swapon.



Gparted



I then checked the size of swap in terminal,
terminal



fstab



I don't understand what this means and I am not sure what should I do after this. Still, I am unable to hibernate and now it says Swap header not found. What should I do to solve this problem?










share|improve this question









New contributor




Rima is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • It means you have both a swapfile and a swap partition. Are they both defined in your /etc/fstab?
    – PerlDuck
    yesterday












  • drive.google.com/open?id=1UaDUnzUISFUUurOLOLyqjx8_EU7WEVbP Does this mean that my swap partition is not defined?
    – Rima
    yesterday












  • Please don't post images of text. Instead, paste the text directly into your question and use the formatting tools.
    – dessert
    10 hours ago















up vote
1
down vote

favorite












I hadn't allocated any swap partition while installing ubuntu before so I couldn't hibernate my laptop which gave error: couldn't find swap device,try swapon. I then created a swap partition using GParted of size about 10Gb and checked on swapon.



Gparted



I then checked the size of swap in terminal,
terminal



fstab



I don't understand what this means and I am not sure what should I do after this. Still, I am unable to hibernate and now it says Swap header not found. What should I do to solve this problem?










share|improve this question









New contributor




Rima is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • It means you have both a swapfile and a swap partition. Are they both defined in your /etc/fstab?
    – PerlDuck
    yesterday












  • drive.google.com/open?id=1UaDUnzUISFUUurOLOLyqjx8_EU7WEVbP Does this mean that my swap partition is not defined?
    – Rima
    yesterday












  • Please don't post images of text. Instead, paste the text directly into your question and use the formatting tools.
    – dessert
    10 hours ago













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I hadn't allocated any swap partition while installing ubuntu before so I couldn't hibernate my laptop which gave error: couldn't find swap device,try swapon. I then created a swap partition using GParted of size about 10Gb and checked on swapon.



Gparted



I then checked the size of swap in terminal,
terminal



fstab



I don't understand what this means and I am not sure what should I do after this. Still, I am unable to hibernate and now it says Swap header not found. What should I do to solve this problem?










share|improve this question









New contributor




Rima is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I hadn't allocated any swap partition while installing ubuntu before so I couldn't hibernate my laptop which gave error: couldn't find swap device,try swapon. I then created a swap partition using GParted of size about 10Gb and checked on swapon.



Gparted



I then checked the size of swap in terminal,
terminal



fstab



I don't understand what this means and I am not sure what should I do after this. Still, I am unable to hibernate and now it says Swap header not found. What should I do to solve this problem?







18.04 swap hibernate






share|improve this question









New contributor




Rima is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Rima is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited yesterday









Joshua Besneatte

1,8701923




1,8701923






New contributor




Rima is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









Rima

214




214




New contributor




Rima is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Rima is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Rima is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • It means you have both a swapfile and a swap partition. Are they both defined in your /etc/fstab?
    – PerlDuck
    yesterday












  • drive.google.com/open?id=1UaDUnzUISFUUurOLOLyqjx8_EU7WEVbP Does this mean that my swap partition is not defined?
    – Rima
    yesterday












  • Please don't post images of text. Instead, paste the text directly into your question and use the formatting tools.
    – dessert
    10 hours ago


















  • It means you have both a swapfile and a swap partition. Are they both defined in your /etc/fstab?
    – PerlDuck
    yesterday












  • drive.google.com/open?id=1UaDUnzUISFUUurOLOLyqjx8_EU7WEVbP Does this mean that my swap partition is not defined?
    – Rima
    yesterday












  • Please don't post images of text. Instead, paste the text directly into your question and use the formatting tools.
    – dessert
    10 hours ago
















It means you have both a swapfile and a swap partition. Are they both defined in your /etc/fstab?
– PerlDuck
yesterday






It means you have both a swapfile and a swap partition. Are they both defined in your /etc/fstab?
– PerlDuck
yesterday














drive.google.com/open?id=1UaDUnzUISFUUurOLOLyqjx8_EU7WEVbP Does this mean that my swap partition is not defined?
– Rima
yesterday






drive.google.com/open?id=1UaDUnzUISFUUurOLOLyqjx8_EU7WEVbP Does this mean that my swap partition is not defined?
– Rima
yesterday














Please don't post images of text. Instead, paste the text directly into your question and use the formatting tools.
– dessert
10 hours ago




Please don't post images of text. Instead, paste the text directly into your question and use the formatting tools.
– dessert
10 hours ago















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






Rima is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1092231%2funable-to-hibernate-swap-header-not-found%23new-answer', 'question_page');
}
);

Post as a guest





































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes








Rima is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















Rima is a new contributor. Be nice, and check out our Code of Conduct.













Rima is a new contributor. Be nice, and check out our Code of Conduct.












Rima is a new contributor. Be nice, and check out our Code of Conduct.















 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1092231%2funable-to-hibernate-swap-header-not-found%23new-answer', 'question_page');
}
);

Post as a guest




















































































Popular posts from this blog

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?