Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 477  / 2 Years ago, wed, july 6, 2022, 11:24:03

I have three servers, all running Ubuntu server 12.04 LTS. When installed, the kernel is given a relatively small partition of around 227MB. When new kernels are released, they are installed, and Grub appears to update, but when the machine is rebooted the old kernel is still used.



The end result is that the kernel partition fills up with unused kernel versions, and I end up running out of space on the partition.



I've tried a range of things to try to get the servers to boot with the newest kernel, but with no luck.



Any ideas what I'm doing wrong? One possibility is some sort of confusion between Grub 1 and Grub 2, as I have both grub.cfg and menu.lst files.


More From » 12.04

 Answers
0

Embarrassingly, this was a simple matter of grub-legacy being installed, and needing to install grub2. Having said that, I'm not sure why grub legacy refused to acknowledge new kernels, but installing grub2 fixed the problem.



grub-legacy had replaced grub2 when a list of installed applications was copied over from a previous server.


[#29455] Friday, July 8, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
intssive

Total Points: 493
Total Questions: 119
Total Answers: 101

Location: Liberia
Member since Mon, Feb 1, 2021
3 Years ago
;