[Bug 2115811] Re: Increase the default imagesize in CPC's disk-image binary

Launchpad Bug Tracker 2115811 at bugs.launchpad.net
Thu Sep 25 16:39:15 UTC 2025


This bug was fixed in the package livecd-rootfs - 25.10.24

---------------
livecd-rootfs (25.10.24) questing; urgency=medium

  [ Chad Smith ]
  * Limit permissions for /etc/netplan/01-network-manager.yaml to
    root read-write. (LP: #2119020)

  [ ChloƩ 'kajiya' Smith ]
  * Increase CPC disk-image base imagesize to 2.5GB
    * In the ubuntu-cpc disk-image binary we need to avail of the ever increasing size
      of packages. 2.2GB is now just a bit too small leading to `No space
      left on device` errors when the binary hits `grub-install`. This change
      increases $imagesize to 2.5GB (in the binary as an override, initially
      implemented in ecaaf0484 by dlalaj). Also now run `df` just after the
      grub-pc && grub2-common installs to make for easier debugging in the future.
      (LP: #2115811)

 -- Dan Bungert <daniel.bungert at canonical.com>  Fri, 19 Sep 2025
13:47:20 -0600

** Changed in: livecd-rootfs (Ubuntu)
       Status: Fix Committed => Fix Released

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

Title:
  Increase the default imagesize in CPC's disk-image binary

Status in livecd-rootfs package in Ubuntu:
  Fix Released

Bug description:
  CPC's download and GCE base questing images are failing with a `No
  space left on device` error when the binary hits `grub-install`.

  This implies that the livecd-rootfs default of 2.2GB is now just a bit
  too small. `grub-pc` && `grub2-common` don't seem to have exploded in
  size, so it's probably just the culmination of all the packages
  increasing in size gradually.

  I successfully built a GCE image with the default increased to 2.5GB -
  and the output of `df` just before the `grub-install` was interesting:

  ```
  + chroot mountpoint df --all --human-readable --print-type
  Filesystem     Type        Size  Used Avail Use% Mounted on
  /dev/loop3p1   ext4        2.4G  2.1G  310M  88% /
  dev-live       devtmpfs    4.0M     0  4.0M   0% /dev
  devpts-live    devpts         0     0     0    - /dev/pts
  proc-live      proc           0     0     0    - /proc
  sysfs-live     sysfs          0     0     0    - /sys
  securityfs     securityfs     0     0     0    - /sys/kernel/security
  /dev/vda1      ext4         77G   13G   64G  17% /sys/kernel/security/apparmor/features
  /dev/vda1      ext4         77G   13G   64G  17% /proc/sys/kernel/seccomp/actions_avail
  none           cgroup2        0     0     0    - /sys/fs/cgroup
  none           tmpfs       7.9G  4.0K  7.9G   1% /tmp
  none           tmpfs       7.9G  127M  7.7G   2% /var/lib/apt/lists
  none           tmpfs       7.9G   97M  7.8G   2% /var/cache/apt
  + chroot mountpoint grub-install /dev/loop3
  Installing for i386-pc platform.
  Installation finished. No error reported.
  ```

  as it does indeed imply that we were just skirting the ceiling of
  2.2GB until now.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2115811/+subscriptions




More information about the foundations-bugs mailing list