[Bug 2000594] [NEW] swapfile not created if user selects 'something else' during install
Matthew Eaton
2000594 at bugs.launchpad.net
Tue Dec 27 19:41:37 UTC 2022
Public bug reported:
A swapfile is not created when the user selects 'something else' and
creates a custom partition layout during installation. A swapfile is
created using the 'erase disk and install ubuntu' option.
Steps to reproduce:
Boot to Ubuntu 22.04.1 installer
Select 'Something else" during installation
Create EFI system partition
Create root ext4 partition
Finish installation and reboot
ubuntu2 at ubuntu2-Z690-AORUS-PRO:~$ ls -l /swapfile
ls: cannot access '/swapfile': No such file or directory
ubuntu2 at ubuntu2-Z690-AORUS-PRO:~$ free -h
total used free shared buff/cache available
Mem: 31Gi 1.2Gi 27Gi 493Mi 2.0Gi 29Gi
Swap: 0B 0B 0B
ubuntu2 at ubuntu2-Z690-AORUS-PRO:~$ cat /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=54c4ff2f-6029-49dd-8548-53755871011f / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=2E7B-F985 /boot/efi vfat umask=0077 0 1
ubuntu2 at ubuntu2-Z690-AORUS-PRO:~$ lsb_release -rd
Description: Ubuntu 22.04.1 LTS
Release: 22.04
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubiquity (not installed)
ProcVersionSignature: Ubuntu 5.15.0-56.62-generic 5.15.64
Uname: Linux 5.15.0-56-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue Dec 27 11:28:48 2022
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---
InstallationDate: Installed on 2022-12-27 (0 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: ubiquity (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug jammy ubiquity-22.04.17 wayland-session
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/2000594
Title:
swapfile not created if user selects 'something else' during install
Status in ubiquity package in Ubuntu:
New
Bug description:
A swapfile is not created when the user selects 'something else' and
creates a custom partition layout during installation. A swapfile is
created using the 'erase disk and install ubuntu' option.
Steps to reproduce:
Boot to Ubuntu 22.04.1 installer
Select 'Something else" during installation
Create EFI system partition
Create root ext4 partition
Finish installation and reboot
ubuntu2 at ubuntu2-Z690-AORUS-PRO:~$ ls -l /swapfile
ls: cannot access '/swapfile': No such file or directory
ubuntu2 at ubuntu2-Z690-AORUS-PRO:~$ free -h
total used free shared buff/cache available
Mem: 31Gi 1.2Gi 27Gi 493Mi 2.0Gi 29Gi
Swap: 0B 0B 0B
ubuntu2 at ubuntu2-Z690-AORUS-PRO:~$ cat /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=54c4ff2f-6029-49dd-8548-53755871011f / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=2E7B-F985 /boot/efi vfat umask=0077 0 1
ubuntu2 at ubuntu2-Z690-AORUS-PRO:~$ lsb_release -rd
Description: Ubuntu 22.04.1 LTS
Release: 22.04
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubiquity (not installed)
ProcVersionSignature: Ubuntu 5.15.0-56.62-generic 5.15.64
Uname: Linux 5.15.0-56-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue Dec 27 11:28:48 2022
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---
InstallationDate: Installed on 2022-12-27 (0 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/2000594/+subscriptions
More information about the foundations-bugs
mailing list