I use Linux for quite a while as my main OS for daily work, started of in 1995.
For many years I’m a fan of KDE, however, mainly kubuntu. Right now I’m hanging kind of in the middle between kubuntu and KDE neon and I’m not sure whether I can get any of them to the place where I would like to have them. However, that’s a different story.
For some reasons I’m playing around with Linux installs on external SSDs. The advantage of this is that I can take my system with me where ever I go and if I have a system that allows me to boot from USB, I can use it. Best of it is, I can boot the SSD even on my MS Surface. It’s a bit of an awkward procedure, because I do not want to got through the trouble to create my own kernel image with a signature that would be accepted by MS. Anyway, it works and that’s fine with me.
Right now, I have an SSD with KDE neon, kubuntu and Mint installed. Mint did misbehave in the install and installed grub on the internal SSD of machine which I used for the setup, so the USB SSD was no long accepted as boot device after the install. Additionally installing KDE neon did fix this, which is of course nice.
However, regarding the boot menu where I wanted to be able to chose the system which I actually want to use (while I’m writing, I use KDE neon) KDE neon is quite stubborn. At least it took me this afternoon to convince KDE neon (it was the last install I did so I only had only the boot menu created by KDE neon), at least I could not figure out how I possibly could boot one of the other installs to fix things. So I was stuck with KDE neon.
What I can safely say is that basically everything you can find on the Web or on Youtube on this is not completely wrong but not really helpful.
Adding
GRUB_DISABLE_OS_PROBER=false
does(!) create some entries in /boot/grub/grub.cfg . However, they do not show up in the boot menu. Although I did not really try to verify this my interpretation is that setting the variable above with false creates the entry but on startup os-prober is not really used, so the additional entries in grub.cfg are ignored. However, I do not want to speculate because the Windows install found by os-prober was actually listed.
To get the menu entries in the boot menu, for now the only way I know is to manually edit /boot/grub/grub.cfg (although the content of the file says that this should not be done). I had to move the entries for kubuntu to the /etc/grub.d/10_linux section AND delete that prefix osprober- from the menuentry_id_option. For kubuntu this did work. Mint crashed on startup with the entry created by KDE neon. I checked the grub.cfg which Mint had created for its own install and saw that the KDE neon entry was only to 70-80 % correct. When I added the missing lines Mint could be booted, it was a bit slow but it eventually came up.
The reason for my post is no, to possibly get some answers:
- Why does KDE neon not use the os-prober properly on startup when I set the variable in /etc/default/grub like shown above (which is the main answer to the problem when you as google how to fix the issue with missing menu entries).
- I understand that dealing with other installs is not a completely easy task and I do understand that people can run into trouble with Windows installs. However, why do fight Linux distros each other?
- Is there at least a bit more elegant solution to what I use now because I of course know that when /boot/grub/grub.cfg is newly generated I have to apply my changes again (which is most likely on every install of a new kernel for KDE neon and of course also on the upcoming distro upgrade)?
I put this a question for help because I’m not sure whether I could call it a bug. However, it smells fishy.