[Solved] Boot partition is full

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
User avatar
gld59
Level 2
Level 2
Posts: 61
Joined: Thu Nov 30, 2017 11:05 pm
Location: Australia

Re: [Solved] Boot partition is full

Post by gld59 » Sun Jan 28, 2018 3:31 am

The kernel is such a basic and important piece of software, that it affects everything else. When you update the kernel, the old one is left there in case the new one doesn't work properly (with your hardware or with your programs). If the old one was removed immediately, a problem with the new kernel might mean you couldn't use the computer at all.

daxb
Level 1
Level 1
Posts: 7
Joined: Sat Oct 28, 2017 6:25 am

Re: [Solved] Boot partition is full

Post by daxb » Mon Jan 29, 2018 10:25 am

I ran into the same problem with /boot full (472MB of size and 20MB free) while updating the system. I used the mentioned script and hope everything is ok now.
jean.jordaan wrote:I think Mint should play safe: if there's not enough room in `/boot`, refuse to install new kernels.
Offer a safe way to purge old kernels, that's discoverable and usable by "Mint-level" end-users (not Arch users).
Indeed. I wondered that there is not such a function already in use. At least a warning before install/update starts would be nice and a safe solution to make space free on /boot.

Nona
Level 1
Level 1
Posts: 20
Joined: Sun Nov 12, 2017 8:28 pm

Re: [Solved] Boot partition is full

Post by Nona » Tue Jan 30, 2018 11:23 am

gld59 wrote:The kernel is such a basic and important piece of software, that it affects everything else. When you update the kernel, the old one is left there in case the new one doesn't work properly (with your hardware or with your programs). If the old one was removed immediately, a problem with the new kernel might mean you couldn't use the computer at all.
I understand that. There should be maximum three last kernels in /boot, but Mint keeping ALL of them until there is no space left. Where is the logic ?

DAMIEN1307
Level 6
Level 6
Posts: 1211
Joined: Tue Feb 21, 2017 8:13 pm
Location: Alamogordo, New Mexico, USA

Re: [Solved] Boot partition is full

Post by DAMIEN1307 » Tue Jan 30, 2018 4:52 pm

the "logic" is that LM is not your baby sitter or nanny like other well known OS...you need to manually remove these kernels once you are sure they are no longer needed by you...no one at LM knows which ones your particular computer needs,YOU do...so just remove whats not necessary keep of course the active kernel that works, hopefully it is the most up to date...and keep one kernel as installed that was most likely the previous operating kernel that ran well...dont expect LM or any linux distro to hold your hand for you and make your decisions for you...thats not going to happen, but if that is what you want, i know an operating system that will do that for you while it is recording your voice, keystrokes everywhere you go on the internet, what you use your system for and then reports all of it back to Big Momma...DAMIEN
ORDO AB CHAO

User avatar
gld59
Level 2
Level 2
Posts: 61
Joined: Thu Nov 30, 2017 11:05 pm
Location: Australia

Re: [Solved] Boot partition is full

Post by gld59 » Tue Jan 30, 2018 7:57 pm

Nona wrote:There should be maximum three last kernels in /boot, but Mint keeping ALL of them until there is no space left. Where is the logic ?
If there was only one kernel series in use, that might be easy to implement. With Mint 18 offering kernels from 4.4, 4.8, 4.10, 4.11, 4.13, and in a few months 4.15, it's not so simple. I have the newest 4.13 and the one before that, and the newest 4.4 "just in case". Keeping the three most recently installed would usually stay pretty close to that pattern, but sometimes one kernel series might need a few bug-fixes and all the kernels from the more stable series would get flushed out.

I think the suggestion above, that there should be a low space warning, is probably the best way of dealing with it.

Nona
Level 1
Level 1
Posts: 20
Joined: Sun Nov 12, 2017 8:28 pm

Re: [Solved] Boot partition is full

Post by Nona » Tue Jan 30, 2018 9:57 pm

For example, yum package manager has option "installonly_limit=n"
Is there anything similar in Ubuntu-based distros ?

robertmf
Level 1
Level 1
Posts: 15
Joined: Tue May 14, 2013 7:34 pm
Location: Telford,PA US

Re: [Solved] Boot partition is full

Post by robertmf » Sat Feb 03, 2018 10:26 am

linux mint 17.3 MATE
I got the same [boot partition is full] upgrading the kernal to 4.4. After a few days it cleared up *go figure* and now I only show 4.4.0.111 in /boot partition
Attachments
boot partition.png

User avatar
Flemur
Level 16
Level 16
Posts: 6271
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: [Solved] Boot partition is full

Post by Flemur » Sat Feb 03, 2018 1:22 pm

robertmf wrote:After a few days it cleared up
I don't think that's supposed to happen.
and now I only show 4.4.0.111 in /boot partition
You also have parts of 3.19.0-32 and 4.4.0-109, which also isn't supposed to happen.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

Nona
Level 1
Level 1
Posts: 20
Joined: Sun Nov 12, 2017 8:28 pm

Re: [Solved] Boot partition is full

Post by Nona » Mon Feb 05, 2018 12:00 pm

So, this post should not be "Solved".
Can Admin go please and rename it as "Unsolved" ?

User avatar
Moem
Level 17
Level 17
Posts: 7177
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: [Solved] Boot partition is full

Post by Moem » Mon Feb 05, 2018 12:19 pm

Nona wrote:Can Admin go please and rename it as "Unsolved" ?
No, that is not how we use [SOLVED] here. It was marked as such by the original poster, because they considered their problem solved; they can't help it if other people decide to tack their own problems onto an existing thread.

If people want to have control over the title of a thread, the obvious solution is to start one.
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

User avatar
BG405
Level 7
Level 7
Posts: 1557
Joined: Fri Mar 11, 2016 3:09 pm
Location: England

Re: [Solved] Boot partition is full

Post by BG405 » Tue Feb 06, 2018 4:54 pm

gld59 wrote:
Nona wrote:There should be maximum three last kernels in /boot, but Mint keeping ALL of them until there is no space left. Where is the logic ?
If there was only one kernel series in use, that might be easy to implement. With Mint 18 offering kernels from 4.4, 4.8, 4.10, 4.11, 4.13, and in a few months 4.15, it's not so simple. I have the newest 4.13 and the one before that, and the newest 4.4 "just in case". Keeping the three most recently installed would usually stay pretty close to that pattern, but sometimes one kernel series might need a few bug-fixes and all the kernels from the more stable series would get flushed out.
You'd need a way of flagging kernels you wish to keep (and keep updating, maybe a separate flag). Otherwise you'd end up with the last 3 installed kernels from each series, which could get messy.
gld59 wrote:I think the suggestion above, that there should be a low space warning, is probably the best way of dealing with it.
I agree with that.
Dell Inspiron 1525 - LM17.3 CE 64-------------------Acer D255E 2GB - Manjaro KDE, LM17.3 KDE 32
Toshiba NB305 - Manjaro KDE------------------------K7S5A AMD 1.2GHz - LM17.3 Xfce 32 & WinXP-Pro
Acer Aspire E11 ES1-111M - LM18.2 KDE 64 ----Dell PII 350 64MB - Puppy 4.3 & Win98-SE

Post Reply

Return to “Installation & Boot”