My Ubuntu system told me today that it was running quite low on room in /boot. I searched around for what to do about that, and found this answer on Ask Ubuntu. It turns out that when kernel updates are applied, old kernels are left lying around in /boot.
So what to do? It's quite simple:
- Ensure you don't have a restart pending (Linux can update just about anything without rebooting...except the kernel). If you do, restart.
- Check to see what kernel you're using with uname -a:
$ uname -a Linux forge 3.0.0-21-generic #35-Ubuntu SMP Fri May 25 17:57:41 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
That's telling me that I'm using kernel 3.0.0-21-generic. - List what kernels you have installed:
$ sudo dpkg -l linux-image-\* | grep ^ii ii linux-image-3.0.0-16-generic 3.0.0-16.29 Linux kernel image for version 3.0.0 on x86/x86_64 ii linux-image-3.0.0-17-generic 3.0.0-17.30 Linux kernel image for version 3.0.0 on x86/x86_64 ii linux-image-3.0.0-19-generic 3.0.0-19.33 Linux kernel image for version 3.0.0 on x86/x86_64 ii linux-image-3.0.0-20-generic 3.0.0-20.34 Linux kernel image for version 3.0.0 on x86/x86_64 ii linux-image-3.0.0-21-generic 3.0.0-21.35 Linux kernel image for version 3.0.0 on x86/x86_64 ii linux-image-generic 3.0.0.21.25 Generic Linux kernel image
- Uninstall the oldest one(s):
$ sudo apt-get purge linux-image-3.0.0-16-generic
...and so on, being sure not to uninstall the one you're using.
21 comments:
Thank you, thank you - my /boot partition had reached 100% and most other methods (e.g. apt-get remove) failed because they needed to write at least a little bit to the partition and died for lack of space...
This worked great!
sudo apt-get autoremove
Removes all but the current image and the previous one (at least, that's what it did for me). YMMV.
@Chris: Interesting. That didn't work for me.
We should always hire the best maid from transfer maid agency singapore and if you hire transfer maid now then you can get them at a cheap cost. So, you can go to hire a transfer maid as soon as possible because due to coronavirus almost every maid who has arrived from countries got stuck there.
Sweet blog! I found it while browsing on Yahoo News. Do you have any tips on how to get listed in Yahoo News? I’ve been trying for a while but I never seem to get there! Many thanks General Practitioners’ office cleaning services
augmentation mammaire Tunisie
prothese mammaire Tunisie tarif
traiter la rosacee
blepharoplastie en tunisie
chirurgie nez tunisie prix
There are incredibly plenty of details that way take into consideration. This is a excellent examine talk about. I supply the thoughts above as general inspiration but clearly you can find questions just like the one you retrieve in which the biggest factor will probably be in the honest great faith. I don?t know if best practices have emerged around such thinggs as that, but Almost certainly that your chosen job is clearly labeled as an affordable game. Both kids have the impact of simply a moment’s pleasure, throughout their lives. Commercial sanitation company arizona
Prix chirurgie esthetique
Prix chirurgie esthetique tunisie
lifting seins
smile hollywood
implant dentaire tarif
Thanks to the author for sharing such an important blog with us because when the time is to clean at that time we need to make our awareness because we have to clean our place properly. And now you can visit cleaners Ajax because this is the only place where you can hire all experienced and highly professional cleaners with a cost-effective budget.
There are some interesting points on time here but I do not know if they all center to heart. There is some validity but Let me take hold opinion until I take a look at it further. Great post , thanks and we want more! Included in FeedBurner in addition Commercial janitorial services Charleston SC
lifting du visage
vaser lipo
liposuccion complete tunisie
I really love to read this post and I am glad to find your distinguished way of writing the post. Thanks and Regards what to use to mop tile floors
sejour médical Tunisie
Turquie Santé
Hollywood Smile en Turquie
Prix Élargissement Pénis en Turquie
Interesting website, i read it but i still have a few questions. shoot me an email and we will talk more becasue i may have an interesting idea for you. pasir ris cleaning for home
Agence Web et SEO Tunisie
Maison Shiiba : Créateur de bougies parfumées
Chirurgie plastique en Tunisie
Chirurgia e Vacanze Esthetica Tunisia
Bougie Parfumée Personnalisée
Bougie Boid de Oud
Thanks for sharing this post. These tips really help! truckpartsuperstore.ca
Post a Comment