[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Change of UUID?



Hans composed on 2016-09-23 17:20 (UTC+0200):

I need some help for understanding things.

On my EEEPC I am usiing encrypted partitions, also swap is encrypted (all
luks), too.
When I ssuspend to disk, the memory is written to the encrypted swap
partition, which is /dev/mapper/swap.

In /etc/uswsusp.conf the UUID is identically to the output of "blkid /dev/
mapper/swap".

BUT - Now the problem: From time to time

Can you give an example of such time?

The Debian installer reformats an existing swap, which means it gets a new UUID, unless you go out of your way to prevent it from doing so.

the UUID of /dev/mapper/swap changes
and is then of course different to the entry in /etc/uswsusp.conf.

This means, the system sometimes inhibits to boot (after resume), as it does
not find the resume device. It can then be started by adding "noresume" to the
kernel commands.

So, what might change the UUID? I did not format swap or similar. The only
thing I do from time to time is starting a livefile on this computer, buit this
should not change the UUID, shouldn't it?

What do you mean by "starting a livefile"?

But maybe, I have misunderstood, how UUID's are created. The other
partiitions, which are also encrypted, do NOT change.

Or is it a bug?

Thanks for any help to enlightening me.
--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/


Reply to: