Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Boot menu entry, resume=

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Discussion
View previous topic :: View next topic  
Author Message
kord



Joined: Wed Mar 09, 2011 10:15 am
Posts: 18

PostPosted: Tue Jun 28, 2011 6:23 pm    Post subject: Boot menu entry, resume= Reply with quote

Put this in here as it seems more a "talk about it".

Maybe depending on distro and how the disk layout is set - like plain partition, encrypted, LVM - you see an entry in the Grub menu line: resume=xxxxx/swap where xxxxx relates to the layout.

I have never been interested in Hibernation or Suspend of any O.S. I've used and I generally edited the entry on any distro install to say: noresume.

Here's my query.

Do you reckon that with only the 1 swap it might cause trouble for multiple distro installs if not just for a lone install?

I was checking out a distro on laptop and doing restores from a backup and rechecking with using its Synaptic software manager to update some apps and libraries. This has a 'History' entry under the File menu which shows the date/time and what was upgraded/installed/removed.

I was getting puzzled because after deleting all the dirs, even renaming them before deletion, and restoring the working install back, when I opened the History entry I saw the most recent entry which shouldn't have been there. And there were wrong items in the main columns of what was upgradeable or had been upgraded.

That is, a known good install had say History entries for 22.00 and 22.10 and I'd exit and boot to a cd and copy all the dirs to an ext disk. If I did another update at 22.20, that would appear in History but if it caused trouble I'd boot to cd and delete everything and copy the good install back. I open the History and that 22.20 entry was there!!!

I couldn't see how that was possible and tried the renaming of dirs before delete thinking that somehow 'inodes' were being magically reallocated and allowing older file content back in!

Also, this was using LUKS encryption for both / and swap and the only way I began to think of where it might be coming from was the 'resume' on the swap.

I changed the line to 'noresume', copied the good install back and.... voila!!! History only going to 22.10.

It's interesting that Synaptic changes were "resumed" but it made me think what other problems might be caused.

What do people think or know about the workings going on?

Is that 'resume' meant to be related to hibernate/suspend?

I didn't try a 2 main partition double install of the same distro and seeing if that History error might show up in the other. That's why I wondered about multiple distros and 1 swap, like is certain "code" laid down by the booted distro that's alien to the next booted distro which would ignore it?
Back to top
View user's profile Send private message
johnhudson
LXF regular


Joined: Wed Aug 03, 2005 2:37 pm
Posts: 870

PostPosted: Tue Jun 28, 2011 6:48 pm    Post subject: Reply with quote

In my menu.lst resume points to swap; so I assume it is to do with hibernating.

I have never heard of any problems from using the same swap partition for different distros; some Live CDs ask for permission to use it - I presume they wouldn't if it was likely to cause problems.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8455
Location: Warrington, UK

PostPosted: Tue Jun 28, 2011 7:38 pm    Post subject: Reply with quote

The resume kernel option refers to resuming from hibernation, so if you never hibernate it won't do anything. Hibernating from one distro and then booting another with the same resume setting may do nothing (the kernel may recognise that the suspended data does not match it) or it may cause thousands of kittens to die agonizing deaths.

I'd p[lay safe and only use hibernation from one distro, and I don't even like cats.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
towy71
Moderator


Joined: Wed Apr 06, 2005 3:11 pm
Posts: 4257
Location: wild West Wales

PostPosted: Tue Jun 28, 2011 7:53 pm    Post subject: Reply with quote

nelz wrote:
and I don't even like cats.
You are obviously beneath them Razz

Dogs have owners, cats have staff Wink
_________________
still looking for that door into summer
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8455
Location: Warrington, UK

PostPosted: Tue Jun 28, 2011 7:57 pm    Post subject: Reply with quote

towy71 wrote:
You are obviously beneath them


That's the worst place I could be, I'm allergic to the buggers.

Not that I liked them before I developed the allergy...
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast