[SOLVED] not enough free space on /boot

[SOLVED] not enough free space on /boot

Postby carmar » Mon Sep 09, 2019 11:35 pm

Silly question, I thought system updates were installed to root, not boot. I'm getting a message when trying to update.
I reinstalled Zorin, some time back, with 38G root partition (11G used). But I still only have 464MB boot partition (359MB used).
Is boot space the new thing to worry about? Is this because I let old kernels stay?
Attachments
2.png
1.png
Last edited by carmar on Sun Sep 15, 2019 12:38 am, edited 1 time in total.
User avatar
carmar
 
Posts: 70
Joined: Wed Jun 26, 2019 4:02 pm

Re: not enough free space on /boot

Postby Swarfendor437 » Mon Sep 09, 2019 11:53 pm

Hi, Did you set up /boot at install or did you do an automatic install? I only ever create a /boot partition manually for complex installs (Win 10 if I ever used it but not in the future) or complex SSD's like on EEEpc netbooks. When doing a 'something else' install I only ever use:

/esp (50 Mb) (if GPT/secure boot install
/root (30/50 Gb
/home (space left at beginning of extended partition)
/swap (at end of extended partition, double the physical RAM) - (NOT needed if installing to SSD!)
https://vimeo.com/user15592214
https://trisquel.info/
https://www.opendesktop.org/member/257685/

Machine: ASUS X470-PRO, AMD Ryzen 7 1700X 8 Core, 16 Gb RAM, ZOTAC Geforce GT1030 (2 Gb)
User avatar
Swarfendor437
 
Posts: 10419
Joined: Wed Sep 18, 2013 5:51 pm

Re: not enough free space on /boot

Postby carmar » Tue Sep 10, 2019 12:28 am

I set up root, boot, swap (12GB since RAM is 6GB), home (20GB) partitions myself on installation. Not automatic installation, the "something else" option.
I have only HDDs, not SSDs.
User avatar
carmar
 
Posts: 70
Joined: Wed Jun 26, 2019 4:02 pm

Re: not enough free space on /boot

Postby hadisch » Tue Sep 10, 2019 6:01 pm

Presumably there are too many old kernels around in /boot.
sudo apt autoremove --purge should solve the problem.
User avatar
hadisch
 
Posts: 11
Joined: Fri Jul 05, 2019 5:55 pm
Location: Germany

Re: not enough free space on /boot

Postby carmar » Wed Sep 11, 2019 5:32 pm

Thanks, hadisch. That is also what the Software Updater messaged.

To be more specific, my question is:
In the long run, is it more efficient (time cost, not disk cost) to either: (a) have a larger boot partition than 500 MB, or, (b) keep cleaning out old kernels ?

Based on Swarf's and your response, it seems (a) is the answer. But if anyone recommends (b), I'd like to know what boot partition size they recommend.
User avatar
carmar
 
Posts: 70
Joined: Wed Jun 26, 2019 4:02 pm

Re: not enough free space on /boot

Postby hadisch » Wed Sep 11, 2019 6:29 pm

Since too little space today is no longer an issue, I would put on a larger /boot partition. But it does not hurt to occasionally clean up under the old kernels. I myself have not seen any need for a separate /boot partition.
User avatar
hadisch
 
Posts: 11
Joined: Fri Jul 05, 2019 5:55 pm
Location: Germany

Re: not enough free space on /boot

Postby Aravisian » Wed Sep 11, 2019 8:12 pm

hadisch wrote:Since too little space today is no longer an issue, I would put on a larger /boot partition. But it does not hurt to occasionally clean up under the old kernels. I myself have not seen any need for a separate /boot partition.

I agree. My boot partition is default 500megs and I never have any issues. I also do not hang on to old kernels.
However, just as we all use our brains differently, people use their computers differently, too. A person that does a LOT of installations of software, trying out many different softwares and testing will probably be better served with a bit more boot space.
The only solid recommendation is to find your groove and snuggle up into it. Whatever works best for you is what is best for you.
If you feel like you are needing to clean too often and too much, then you may be cleaning too often and too much for your tastes. ;)
User avatar
Aravisian
 
Posts: 716
Joined: Sun Dec 30, 2018 6:51 am

Re: not enough free space on /boot

Postby carmar » Fri Sep 13, 2019 3:50 pm

hadisch wrote:Since too little space today is no longer an issue, I would put on a larger /boot partition. But it does not hurt to occasionally clean up under the old kernels. I myself have not seen any need for a separate /boot partition.


Thanks. What do you recommend for larger boot size?

Aravisian wrote:...
However, just as we all use our brains differently, people use their computers differently, too. A person that does a LOT of installations of software, trying out many different softwares and testing will probably be better served with a bit more boot space
....
If you feel like you are needing to clean too often and too much, then you may be cleaning too often and too much for your tastes. ;)


I don't use my brain at all - it should show in my posts. ;) :D :o

But seriously, thanks A.

This is the first time I saw the boot space message since I installed (for both 1st and current Zorin install). I install my windows games occasionally using PlayOnLinux but I don't get any space messages due to them. Other than that I don't install any other new software. My root partition has consistently been 11GB since I reinstalled Zorin with a 38GB root partition. I'm fine with the extra space sitting unused but I'm also fine with frequent cleaning.

Ok, once hadisch recommends a larger boot size, I may consider reinstalling but first I'll do a cleanup for sure. I have no problem doing a reinstall with different partitions since I don't install many programs. And my storage drives are separate from my system drives, so my setup times are very small after an OS install.
User avatar
carmar
 
Posts: 70
Joined: Wed Jun 26, 2019 4:02 pm

Re: not enough free space on /boot

Postby hadisch » Sat Sep 14, 2019 1:48 pm

carmar wrote:Thanks. What do you recommend for larger boot size?


I would recommend 500 MB - 2 GB, so that there is always enough space for kernel updates. But like I said, I actually do not see any need for a separate boot partition.
User avatar
hadisch
 
Posts: 11
Joined: Fri Jul 05, 2019 5:55 pm
Location: Germany

Re: not enough free space on /boot

Postby carmar » Sat Sep 14, 2019 8:29 pm

Thanks. One more question. When you write 'separate boot partition', do you mean that if I install without specifying a boot partition (while using the 'something else' option during install), then I should be ok? So, I can install after just specifying the root, home, and swap partition sizes? Or did I misunderstand?
User avatar
carmar
 
Posts: 70
Joined: Wed Jun 26, 2019 4:02 pm
Next

Return to Help and Support

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 7 guests