LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-03-2019, 07:44 AM   #1
shams
Member
 
Registered: Jan 2004
Posts: 535

Rep: Reputation: 30
I: Set the RESUME variable to override this.


Hi,
When i upgrade the ubunut 10.04 in the end get this message, what it means:
Code:
I: The initramfs will attempt to resume from /dev/sda7
I: (UUID=8b5d3a40-2e60-4610-a497-f4be56d4013e)
I: Set the RESUME variable to override this.
 
Old 07-03-2019, 08:32 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
No idea what the particular problem means there, however .... Ubuntu 10.04?

How about instead:
  1. From which version?
  2. To which version?
Because as you likely know, you're not supposed to jump major long term release versions in multiple. I.e were you going from 8.xx or 9.xx to 10? Or going from 10.xx to something other than 12.xx?
 
Old 07-03-2019, 08:50 AM   #3
shams
Member
 
Registered: Jan 2004
Posts: 535

Original Poster
Rep: Reputation: 30
when i upgrade the packages inside ubuntu 10.04 like command:
Quote:
aptitude full-upgrade
The partition /dev/sda7 with the above uuid is my swap partition.
 
Old 07-03-2019, 09:00 AM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,572
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
The reference is to the "hibernate" state in laptops. When a laptop hibernates (as opposed to just going to sleep), the complete contents of the core are copied to the swap partition and then the machine powers down and switches off. In this state it doesn't use any power at all except for the coin battery that powers the clock.

When you switch the laptop on again, the kernel will check if there is a resume image on the swap partition. If so, it will bypass the rest of the boot sequence and just copy the image back into memory and you will be where you left off.

When you install a distro, the installer will ask whether you want the swap partition used during to installation to be your resume partition. Usually the answer is yes.
 
1 members found this post helpful.
Old 07-03-2019, 09:13 AM   #5
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
It’s an informational message that refers to resuming after hibernation. From the initramfs-tools man page:

Quote:
The resume hook tries to autodetect the resume partition and uses the first swap
partition as valid guess. It is possible to set the RESUME variable in
/etc/initramfs-tools/conf.d/resume. The boot variable noresume overrides it.

Last edited by berndbausch; 07-03-2019 at 09:14 AM.
 
1 members found this post helpful.
Old 07-03-2019, 09:13 AM   #6
bodge99
Member
 
Registered: Oct 2018
Location: Ashington, Northumberland
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368

Rep: Reputation: 66
Hi,

It may be set in
Code:
/etc/initramfs-tools/conf.d/resume
In the format
Code:
RESUME=UUID={Your swap UUID here}
Bodge99
 
2 members found this post helpful.
Old 04-22-2020, 04:09 AM   #7
jkcray
Member
 
Registered: Feb 2019
Location: Ireland
Distribution: Ubuntu 20.04 LTS
Posts: 65

Rep: Reputation: Disabled
Quote:
Originally Posted by bodge99 View Post
Hi,

It may be set in
Code:
/etc/initramfs-tools/conf.d/resume
In the format
Code:
RESUME=UUID={Your swap UUID here}
Bodge99
Hi.
Following an edit to

Code:
/etc/initramfs-tools/conf.d/resume
is it necessary to execute:

Code:
sudo update-initramfs -u
sudo update-grub
?

Thanks.
 
Old 04-22-2020, 07:00 AM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Yes.
Now please back to your other thread to avoid scattering of effort.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
resume: could not stat the resume device file Zaskar Debian 17 03-29-2012 10:10 PM
[SOLVED] Why do nVida drivers hose suspend/resume or hibernate/resume? taylorkh Linux - Hardware 3 06-23-2011 01:09 PM
how to set a variable in a script and have the variable still set after script termin john test Linux - Newbie 9 10-21-2008 05:21 PM
resume: cannot stat resume device file sixerjman Linux - Kernel 0 05-27-2007 03:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration