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

Humphrey van Polanen Petel 1767299 at bugs.launchpad.net
Mon Dec 24 06:14:36 UTC 2018


I installed 16.04 on a hand-me-down laptop, because I need to support another system that is on 16.04 and it is easier for me to have an identical system
I installed 16.04, because later versions do not allow remote control using remmina (# 1790251, 1790249 & 1741027).
System is a 8Gb laptop with a 480Mb ssd.
Installer created a swap of 976Mb.
Install version was 16.04.5.  (Note that my DVD with 16.04.3 creates a swap of appropriate size.)

The system will hang when used heavily, but does recover.

However, contrary to earlier comments, rebooting during such a 'freeze'
is *not* guaranteed safe.  On my system it has multiple times corrupted
the file system which caused boot to fail and which required a run of
"fsck /dev/sda1".

After I followed instructions found on
help.ubuntu.com/community/SwapFaq, I now have an 8.3Gb swap and the
system does not hang any more.

I spent two weeks before I realized that the problem was with the swap
size.

In my opinion it is bad to change something as dramatic as swap-size.
The installer should ask questions and give options.

*** This is not an "opinion" and consequently I have re-opened it ***

-- 
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 Installer creates swap partition too small

Status in partman-auto package in Ubuntu:
  New

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