No swap created when installing Xubuntu 24.04 iso.

Bug #2046049 reported by ajgreeny
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu
Confirmed
Undecided
Unassigned
ubiquity (Ubuntu)
New
Undecided
Unassigned

Bug Description

I installed Xubuntu 24.04 using the graphical installer from the iso file downloaded on Dec $th 2023.

All went well but no swapfile was created at install.

The installation replaced a partition with Xubuntu 20.04. It was installed using the Something Else option at installation and choosing te 20.04 partition for the / partition of the new version. The existing EFI partition was used.

I anticipated a swapfile would be created automatically but this did not happen causing suspend failure on lid closure of the laptop which is what it is set to do.

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Libera.chat.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/2046049/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
Changed in ubiquity (Ubuntu):
status: New → Confirmed
affects: subiquity (Ubuntu) → ubiquity (Ubuntu)
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...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.