This is a static archive of the old Zorin Forum.

The information below may be outdated. Visit the new Zorin Forum here ›

If you have registered on the old forum, you will need to create an account on the new forum.

No headache to delete all files in "boot" folder except...?

abctmp88

Sat Oct 07, 2017 3:59:53 am

Dear all,

I find that the "/boot" folder (500MB) of my ZorinOS12.2 is nearly full.
Pls. see fig01
fig01_boot folder is nearly full.png


Am I right that it won't be any problems if I delete all files under the boot folder (except efi & grub folder)?
Those files under the "/boot" folder are:
==============================
abi-4.4.0-xx-generic
config-4.4.0-xx-generic
initrd.img-4.4.0-xx-generic
System.map-4.4.0-xx-generic
vmlinuz-4.4.0-xx-generic
vmlinuz-4.4.0-66-generic.efi.signed
----------------------------------------------
pls. see fig02
fig02_file list of boot folder.png


Under the "/boot" folder, I also find these 3 files:
==============================
memtest86+.bin
memtest86+.elf
memtest86+_multiboot.bin
--------------------------------------
Are they also safe to delete?

Thanks for any kind of help!

MBMz10

Sat Oct 07, 2017 4:45:10 am

Would not recommend playing around in there, meantime wait for someone with more knowledge than me to advise further!

abctmp88

Sat Oct 07, 2017 4:57:03 am

MBMz10 wrote:Would not recommend playing around in there, meantime wait for someone with more knowledge than me to advise further!


It seems that these files, "abi-4.4.0-xx-generic", "config-4.4.0-xx-generic",...., are all temporary installation files during updates (i.e. sudo apt update && sudo apt upgrade), am I right?
-> but I find that I cannot delete them directly using File manager, so how to do?

Thanks for any kinds of help!

Swarfendor437

Sat Oct 07, 2017 7:36:44 am

It was hard to find much on this as this was all I could find so BACKUP your data before doing anything else:

https://askubuntu.com/questions/787187/ ... -partition

I would never use /boot partition unless I intended installing to a problematical ssd configuration like on Eee PC netbooks or installing alongside Windows 10 and using Easy BCD with GRUB being placed in /boot.

abctmp88

Sat Oct 07, 2017 11:16:44 am

Swarfendor437 wrote:It was hard to find much on this as this was all I could find so BACKUP your data before doing anything else:
https://askubuntu.com/questions/787187/ ... -partition

I would never use /boot partition unless I intended installing to a problematical ssd configuration like on Eee PC netbooks or installing alongside Windows 10 and using Easy BCD with GRUB being placed in /boot.

"Resizing the boot partition" cannot solve the problem in the long run, as it will grow gradually everytime you do an update on ZorinOS
-> as I remember, the boot partition when I had just installed ZorinOS was less than 100MB
and now grows to nearly 500MB -- I can NO LONGER able to update ZorinOS now, pls. see attached screen capture fig11
-> the best way is to delete some of the unused installation files

So how to delete files in the boot partition?

Thanks for any kind of help!
.

qnarkill

Sat Oct 07, 2017 1:21:37 pm

Swarfendor437

Sun Oct 08, 2017 9:41:45 am

Thanks for the input qnarkill. :D

qnarkill

Sun Oct 08, 2017 11:11:53 am

^Your welcome, hope the op gets boot cleaned out.

abctmp88

Tue Oct 24, 2017 8:38:43 am

qnarkill wrote:https://askubuntu.com/questions/345588/what-is-the-safest-way-to-clean-up-boot-partition

Thanks a lot, qnarkill!

I can do updates to my ZorinOS12 now!

Swarfendor437

Tue Oct 24, 2017 12:11:44 pm

Finston Pickle

Thu Oct 26, 2017 6:00:33 pm

I use Ubuntu Cleaner to delete old kernels etc. I installed it using synaptic package manager - a guide to install synaptic PM is in Swarfendor437's post install guide:

viewtopic.php?f=6&t=12462

I don't know if they are normally in boot folder though.