My boot sector is full. I presume the boot sector is /boot/
Here is a screenshot of the directoy.
Which files can I delete?
Screenshot from 2014-09-10 14:13:49.jpg
My boot sector is full. I presume the boot sector is /boot/
Here is a screenshot of the directoy.
Which files can I delete?
Screenshot from 2014-09-10 14:13:49.jpg
Generally most desktops do not need a separate /boot partition. But either way you should regualarly houseclean old kernels as they are not automatically deleted.
I like to keep at least two, and only allow it to grow to a few and then go into synaptic and delete older ones.
Determine your current kernel:
uname -a
In synaptic search for linux-image to choose to delete old ones
Using synaptic
http://ubuntuforums.org/showthread.php?t=1283521
If you do not have synaptic
sudo apt-get install synaptic
UEFI boot install & repair info - Regularly Updated :
https://ubuntuforums.org/showthread.php?t=2147295
Please use Thread Tools above first post to change to [Solved] when/if answered completely.
I read that threaf but the only installed kernal in synaptic is 3.5.47
I have seen synaptic or dpkg not show old kernels after an upgrade as only the new ones are in dpkg list. Then you have to manually delete old kernels. Did you resort to have kernels in order?
If still in dpkg.
Determine your current kernel change examples version to correct for yours:
uname -a
cd /boot
ls vmlinuz*
sudo apt-get purge linux-image-[version]-generic linux-image-[version]-generic
Multiples, just be sure not to delete your current kernel:
sudo apt-get purge linux-image-3.8.0-{XX,XX,XX,XX,XX,XX}-generic
Example:
sudo apt-get purge linux-image-3.8.0-{17,18,19,21,22,23,24}-generic
UEFI boot install & repair info - Regularly Updated :
https://ubuntuforums.org/showthread.php?t=2147295
Please use Thread Tools above first post to change to [Solved] when/if answered completely.
ls vmlinuz* returns
vmlinuz-3.5.0-47-generic
I could start nautilus as root and delete some files needed for older kernels shown in the screenshot above.
Which files do I need to leave?
Take a look at this thread: http://ubuntuforums.org/showthread.php?t=2242056
If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.
Blog · Linode System Administration Guides · Android Apps for Ubuntu Users
I do not understand how listing files at terminal gives such a huge difference?
Or did you reconfigure system and are now using a /boot folder inside / (root) as /boot and not the separate /boot partition?
If you use Nautilus at root, it moves files into root's trash and no space is gained. And deleting from root's trash is a bit more difficult and just using sudo. Better to use dpkg or rm commands.
UEFI boot install & repair info - Regularly Updated :
https://ubuntuforums.org/showthread.php?t=2147295
Please use Thread Tools above first post to change to [Solved] when/if answered completely.
Something magic happened late at night.
Possibly while I was druk - now everything is deleleted except those files pertaining to 3.5.0-47, the boot sector is down to 33.9 MB and my server boots ok
I had a full boot sector. Then I deleted all but 3 kernels. I can look at the boot sector, it has much less in it.
However, it STILL shows 100% full.
What do I do now?!?
ls -alhR /boot and remove old
vmlinuz
system.map
initrd.img
config
abi
files. Also if you have nay .bak files, delete them as well and run sudo apt-get autoremove to delete dependencies.
Bookmarks