Answered Can't Update. Not enough disk space on boot.

Discussion in 'Software & Applications' started by Ethan, Jan 5, 2016.

  1. Ethan

    Ethan Thread Starter
    Expand Collapse
    New Member

    Joined:
    Jan 5, 2016
    Messages:
    2
    Likes Received:
    0
    I'm getting a pop up error message that my computer can not update due to low disk space on boot. I'm a bit of a newb. It seems like the thing to do is to delete old kernels, but I don't think I have old kernels to delete. Here's the output of a few commands that might be relevant to solving my problem.



    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/elementary--vg-root / ext4 errors=remount-ro 0 1
    # /boot was on /dev/sda1 during installation
    UUID=87f76d71-a447-46a9-8391-39566739aff8 /boot ext2 defaults 0 2
    /dev/mapper/elementary--vg-swap_1 none swap sw 0 0



    df -h

    Filesystem Size Used Avail Use% Mounted on
    udev 3.9G 4.0K 3.9G 1% /dev
    tmpfs 789M 1.4M 788M 1% /run
    /dev/mapper/elementary--vg-root 451G 244G 185G 57% /
    none 4.0K 0 4.0K 0% /sys/fs/cgroup
    none 5.0M 0 5.0M 0% /run/lock
    none 3.9G 217M 3.7G 6% /run/shm
    none 100M 64K 100M 1% /run/user
    /dev/sda1 236M 213M 12M 96% /boot



    dpkg -l | grep linux-image

    ii linux-image-3.19.0-26-generic 3.19.0-26.28~14.04.1 amd64 Linux kernel image for version 3.19.0 on 64 bit x86 SMP
    ii linux-image-3.19.0-33-generic 3.19.0-33.38~14.04.1 amd64 Linux kernel image for version 3.19.0 on 64 bit x86 SMP
    ii linux-image-3.19.0-39-generic 3.19.0-39.44~14.04.1 amd64 Linux kernel image for version 3.19.0 on 64 bit x86 SMP
    ii linux-image-3.19.0-41-generic 3.19.0-41.46~14.04.2 amd64 Linux kernel image for version 3.19.0 on 64 bit x86 SMP
    ii linux-image-3.19.0-42-generic 3.19.0-42.48~14.04.1 amd64 Linux kernel image for version 3.19.0 on 64 bit x86 SMP
    ii linux-image-extra-3.19.0-26-generic 3.19.0-26.28~14.04.1 amd64 Linux kernel extra modules for version 3.19.0 on 64 bit x86 SMP
    ii linux-image-extra-3.19.0-33-generic 3.19.0-33.38~14.04.1 amd64 Linux kernel extra modules for version 3.19.0 on 64 bit x86 SMP
    ii linux-image-extra-3.19.0-39-generic 3.19.0-39.44~14.04.1 amd64 Linux kernel extra modules for version 3.19.0 on 64 bit x86 SMP
    ii linux-image-extra-3.19.0-41-generic 3.19.0-41.46~14.04.2 amd64 Linux kernel extra modules for version 3.19.0 on 64 bit x86 SMP
    iF linux-image-extra-3.19.0-42-generic 3.19.0-42.48~14.04.1 amd64 Linux kernel extra modules for version 3.19.0 on 64 bit x86 SMP
    iU linux-image-generic-lts-vivid 3.19.0.42.27 amd64 Generic Linux kernel image



    Thanks for any help!
     
  2. Best Answer:
    Post #2 by Schorny, Jan 6, 2016
  3. Schorny

    Schorny
    Expand Collapse
    Active Member

    Joined:
    May 27, 2015
    Messages:
    29
    Likes Received:
    7
    Ethan likes this.
  4. Ethan

    Ethan Thread Starter
    Expand Collapse
    New Member

    Joined:
    Jan 5, 2016
    Messages:
    2
    Likes Received:
    0
    Hi Schorny,

    Thanks, I think that solved my issue! So does that mean that out of all my kernels from 3.19.0-26 to 3.19.0-42, I could safely delete anything older than 3.19.0-42? Although I'd probably want to keep my second oldest kernel just to be safe right? I was afraid to delete any of the 3.19.0-* kernels in case they were dependant on each other. Correct me if I'm wrong, but I assume that's not the case. Thanks for helping out a newb ;)

    *edit
    Looks like my new df -h lists boot as %60 full after removing a couple kernels, and my computer still boots. Thanks again!

    Filesystem Size Used Avail Use% Mounted on
    udev 3.9G 12K 3.9G 1% /dev
    tmpfs 789M 1.4M 788M 1% /run
    /dev/mapper/elementary--vg-root 451G 244G 185G 57% /
    none 4.0K 0 4.0K 0% /sys/fs/cgroup
    none 5.0M 0 5.0M 0% /run/lock
    none 3.9G 36M 3.9G 1% /run/shm
    none 100M 56K 100M 1% /run/user
    /dev/sda1 236M 133M 92M 60% /boot
     
    #3 Ethan, Jan 7, 2016
    Last edited: Jan 7, 2016
  5. Schorny

    Schorny
    Expand Collapse
    Active Member

    Joined:
    May 27, 2015
    Messages:
    29
    Likes Received:
    7
    Exactly :) I couldn't explain that better. Happy to hear its working.
    I'm not sure, but i guess other distributions are going to delete old kernels more quickly. But i'm only running elementary on desktop computers :p
     

Share This Page

Loading...