Results 1 to 4 of 4

Thread: Can't increase size of /boot when asked by upgrade program

  1. #1
    Join Date
    Jul 2015
    Beans
    14
    Distro
    Ubuntu 19.10 Eoan Ermine

    Can't increase size of /boot when asked by upgrade program

    The Software Updater application ran ust now and after downloading everything, I got this message:

    The upgrade needs a total of 96.0 M free space on disk '/boot'. Please free at least an additional 12.9 M of disk space on '/boot'. Empty your trash and remove temporary packages of former installations using 'sudo apt-get clean'.

    GParted doesn't see to be able to change sizes of /dev/sda /dev/sda is a 1TB drive and consists of:

    Screenshot from 2015-09-03 16:31:23.png

    Now, when I went into Gparted and dismounted /dev/sda1 (FAT32, 512MB) and /dev/sda2 (ext2, boot, 244MB) and left /dev/sba3 (lvm2pv, 930MB) the upgrade-update went through smoothly.

    Why does this happen?

  2. #2
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,199
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Can't increase size of /boot when asked by upgrade program

    Dave_Mann; Humm ..

    Can not say why with unmounting the partitions, that the installer proceeded ... but but I do know that in choosing 'LVM' the system expects you to know how to deal with the /boot partition. By default the /boot partition is created with but a small value and one has to manage that partition.
    What returns from terminal commands:
    Code:
    df -h
    df -i
    dpkg -l | grep linux-
    I do expect we find that the /boot partition is full and we can expect to have to remove the old no-longer-needed kernels .

    all in the care and feeding
    of your 'buntu
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  3. #3
    Join Date
    Mar 2011
    Beans
    1,994

    Re: Can't increase size of /boot when asked by upgrade program

    Because /boot is simply a directory on your root filesystem. Normally, it's invisible since you mount the boot partition there. By unmounting the partition, the available space in /boot is only limited by the space on the root filesystem (900G+), but when you reboot, any additions will not be seen, when the boot partition is mounted there. You might need a boot partition for things like an encrypted root, or if your bios cannot reliably run a kernel from anywhere on the 1T disk, but normally, the volume group business is just another layer of complication most people can do without.

  4. #4
    Join Date
    Feb 2008
    Beans
    5,078
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Can't increase size of /boot when asked by upgrade program

    Install Synaptic Package Manager.
    Use Synaptic to completely remove all but the latest two kernels. (Three files each.)
    Run: sudo update-grub

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •