Comment 4 for bug 2046049

Revision history for this message
Mike Ferreira (mafoelffen) wrote (last edit ):

This is was found originally on Noble, Xubuntu, 231209.

I used Noble, daily, 20231210 -- installed twice,with two different slight variations.

Fist was Other / Manual, using existing partitions, no re-format. Second was on newly created partitions from unallocated space.

Both resulted in not creating a swap file:
>>>
mafoelffen@noble-xubuntu-01:~$ grep . /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=543ece60-42dd-4f9e-b06b-0e6cd8e593b5 / btrfs defaults,subvol=@ 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=0F65-507E /boot/efi vfat umask=0077 0 1
# /home was on /dev/sda3 during installation
UUID=48dcc5a2-b445-416d-bc99-584be17f98fa /home btrfs defaults,subvol=@home 0 2
mafoelffen@noble-xubuntu-01:~$ sudo swapon --show
mafoelffen@noble-xubuntu-01:~$ free -h
               total used free shared buff/cache available
Mem: 1.4Gi 736Mi 142Mi 7.9Mi 713Mi 697Mi
Swap: 0B 0B 0B
>>>
The third test-case, I installed with an existing swap partition, which it did recognize that it existed, and the installer used it as a swap partition... So this issue seems to be localized to not creating a swap file, if an existing swap partition does not exist...