[GTALUG] Boot fails into Linux

BCLUG admin at bclug.ca
Tue Sep 5 16:32:41 EDT 2023


sciguy via talk wrote on 2023-09-04 10:49:

> 1) I noticed two swap partitions. Was that me being absent-minded when I 
> did the installation/upgrade a year ago? Then I noticed:
> 
> Any ideas?

I'm not sure about the EFI partitions, but using the `swapon` and 
associated tools (swapoff, swaplabel), you can check which swap area is 
being used, enable / disable them (multiple swap areas are allowed, it 
appears), etc.


Interestingly, the man page says:

 > The swaplabel utility allows changing the
 >       label or UUID on an actively used swap device.

But I'm not having success with that (using /dev/sda5).

 > swaplabel -L myswap /dev/sda5
 >
 > swaplabel: /dev/sda5: failed to write label: Text file busy

Disabling swap (`swapoff -a`) then `swaplabel -L myswap /dev/sda5` does 
not complain, but also doesn't seem to work.



I'm not sure I actually have any understanding of this. At all.

Hopefully someone can chime in with answers / suggestions to our issues.


rb



More information about the talk mailing list