[Bug 1767299] Re: Ubuntu 18.04-20.04 Installer creates swap partition too small

Mystica555 1767299 at bugs.launchpad.net
Sat Mar 25 22:17:56 UTC 2023


Can't we just get an option for swap size setting, still allowing _all_
other partition options to be automatic?

Like, I want to install to ZFS for a server. So I have to use the
Desktop disk. And even for my laptop that i WANT TO HIBERNATE, all the
bloody installer ever gives me is 2 GB.

I need at least 24 gigabytes.
Not TWO.
Yes 24. 

Why 24?  I only have 8 gigs of ram. But that might all be used. And I might have a ton of things that I've got open but not "active" using another 10 gigs of swap. Well thats 18 gigs. 
Now I want to hibernate. The 8 gigs chip, plus 10 gigs swap has to go somewhere. 24 should give enough headroom in that case. It might not in the case of if I were using 16 gigs of something swapped. But the system would be laggy enough before that moment. 

I just don't want to crash "out of memory"
I DO want to hibernate.

MAKE THIS A SETTING REGARDLESS OF INSTALL PARTITIONING TYPE (or make ZFS
an option for manual setup without forcing a user to create the more
than 20 datasets themselves...)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to partman-auto in Ubuntu.
https://bugs.launchpad.net/bugs/1767299

Title:
  Ubuntu 18.04-20.04 Installer creates swap partition too small

Status in partman-auto package in Ubuntu:
  Confirmed

Bug description:
  Installed Ubuntu 18.04 final release.

  The disk is 512 Gigabyte, the RAM is 8 Gigabyte. The installer just
  gave me 979 Megabyte of space. I chose LVM to have an encrypted drive.

  Here are some details:

  free -h
                total        used        free      shared  buff/cache   available
  Mem:           7,7G        4,0G        152M        399M        3,6G        3,0G
  Swap:          979M          0B        979M


  swapon --show
  NAME      TYPE      SIZE USED PRIO
  /dev/dm-2 partition 980M   0B   -2

  
  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>
  /dev/mapper/ubuntu--vg-root /               ext4    errors=remount-ro 0       1
  # /boot was on /dev/sda2 during installation
  UUID=removed-id /boot           ext4    defaults        0       2
  # /boot/efi was on /dev/sda1 during installation
  UUID=removed-id  /boot/efi       vfat    umask=0077      0       1
  /dev/mapper/ubuntu--vg-swap_1 none            swap    sw              0       0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-auto/+bug/1767299/+subscriptions




More information about the foundations-bugs mailing list