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.
I then checked the size of swap in terminal,
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
New contributor
add a comment |
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.
I then checked the size of swap in terminal,
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
New contributor
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
add a comment |
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.
I then checked the size of swap in terminal,
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
New contributor
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.
I then checked the size of swap in terminal,
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
18.04 swap hibernate
New contributor
New contributor
edited yesterday
Joshua Besneatte
1,8701923
1,8701923
New contributor
asked yesterday
Rima
214
214
New contributor
New contributor
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
add a comment |
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
add a comment |
active
oldest
votes
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.
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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