Diskspace issue in Ubuntu 16.04 LTS

Tags:
Ubuntu
Ubuntu 16.04 LTS
While updating my OS, it gives an error - "The upgrade needs a total of 102 M free space on disk '/boot'. Please free at least an additional 42.3 M of disk space on '/boot'. You can remove old kernels using 'sudo apt autoremove', and you could also set COMPRESS=xz in /etc/initramfs-tools/initramfs.conf to reduce the size of your initramfs." How to resolve it?


Software/Hardware used:
Ubuntu 16.04 LTS
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 5  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • ToddN2000
    Are you still having disk space issue even after the 2 fixes they provided? If so there may be other data files you might need of offload to removable media to free up the additional space. How large is the current drive? Today you need lost's of storage just to run today's apps. My old desktop had a 320g HD but that was built like 8 years ago. My new laptop has a 1TB drive.
    131,440 pointsBadges:
    report
  • TheRealRaven
    OTOH, I'm running Linux Mint 17.3 (Linux kernel 4.4.0-112) on a laptop with a 250GB HDD at just under 40% used with no issues. This HDD has been in use since at least May 2015. The laptop is almost 7 yrs old.

    Performance and system health issues can be very dependent on periodic attention to various maintenance tasks including cleanup.
    34,400 pointsBadges:
    report
  • Jaideep Khanduja
    Yes, Todd. Still facing the issue. But now is related to space. For a security update of 70.6MB, it gives an error - Nor Enough Free Disk Space - "The upgrade needs a total of 102 M free space on disk '/boot'. Please free at least an additional 42.4 M of disk space on '/boot'. You can remove old kernels using 'sudo apt autoremove', and you could also set COMPRESS=xz in /etc/initramfs-tools/initramfs.conf to reduce the size of your initramfs."

    Suggest, what do I do?
    18,990 pointsBadges:
    report
  • TheRealRaven
    What to do depends on your circumstances. If you have at least 42.4MB of files that you can delete from '/boot' or move from '/boot' to a different drive, than that's your probable best first step. If you can remove at least 42.4MB of old kernels that you'll never use again, then that's your probable second best choice. If you can gain 42.4MB additional free space by compressing, then that might be a workable choice. You have to choose.

    Two potential alternatives are resizing partitions so that '/boot' is made larger by at least 42.4MB or not doing the OS update. Resizing might be best done on a replacement larger HDD.
    34,400 pointsBadges:
    report
  • Jaideep Khanduja
    Thanks, @TheRealRaven for the 3 options. My point is how to identify the files to delete or move. Or compress. And what would be the relevant commands?
    18,990 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: