[xubuntu-users] Disk encryption boot oddity

Peter Flynn peter at silmaril.ie
Fri Apr 1 20:29:34 UTC 2016

On 03/30/2016 09:45 PM, Rog wrote:
> I wonder if it's related in any way to an error seen during login
> relating to an error in setting up /swap? In all recent installs, I've
> gotten cryptswap errors after boot during login. Just out of curiosity,
> do you have /swap available? E.g.,
>     free -m

I get:
>>  total used free shared buffers cached
>> Mem: 2014 1707 306 77 149 694
>> -/+ buffers/cache: 863 1151
>> Swap: 1023 0 1023
> Any "missing" partitions? What do you see in fstab?

I get:
>> # <file system> <mount point> <type> <options> <dump> <pass>
>> /dev/mapper/xubuntu--vg-root / ext4 errors=remount-ro 0 1
>> # /boot was on /dev/sda1 during installation
>> UUID=54aafaf4-35b2-4daf-8ddd-e8b1704630df /boot ext2 defaults 0 2
>> /dev/mapper/xubuntu--vg-swap_1 none swap sw 0 0

On 04/01/2016 12:05 PM, Petter Adsen wrote:
> Swap is never mounted, it's just a virtual extension of physical
> memory. The only occasion I would expect to see something like /swap
> is if you are using a swapfile as opposed to a raw partition - in
> that case it would need to reside in a file on a file system.

The machine has been upgraded from 13.10 to 15.10 step by step using all
defaults over the years, so whatever is in fstab is there because the
installer put it there, not through any human choice :-)

Either way, this should be filed as a bug against whatever module
handles whole-disk decryption at boot time. I have no idea where to look
for that.


More information about the xubuntu-users mailing list