Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 893  / 3 Years ago, tue, august 17, 2021, 8:01:38

After update (yesterday) from Ubuntu 12.04, GRUB has two of the same kernels in the boot menu for Ubuntu 12.04 (I have triple boot). I have already reinstalled GRUB, but with the same result. It seems to me that something is going wrong in update-grub:



Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-24-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-24-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-24-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-24-generic-pae
Found Windows Vista (loader) on /dev/sda2
Found Ubuntu 11.04 (11.04) on /dev/sda7
done


There is no problem for boot but this is not nice. Solution?


More From » 12.04

 Answers
6

Finally I found the reason why. Sometime ago I made some changes to the file /etc/grubd.d/10_linux . For security reasons I made a copy of this file (.bak). This file was still executable. It has never caused problems till the last update of the system. The only thing I had to do was a chmod so this file (.bak) so he was no longer executable. By doing sudo update-grub all the files that are present in the /etc/grub.d and are executable are taken in the grub.cfg file, what caused the problem.


[#37813] Wednesday, August 18, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
defendle

Total Points: 219
Total Questions: 131
Total Answers: 112

Location: Finland
Member since Sat, Nov 6, 2021
3 Years ago
;