Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This explains how am able to boot into openSUSE and Ubuntu. :-)
It explains that you are, not how you are. Which OS is responsible for the Grub menu (grub.cfg) you are seeing/using? Which do you wish to have control? Do you have two Ubuntu installations? If yes, a correction should be made to one or both of them to reduce a source of confusion in system management (an edit in /etc/default/grub to the GRUB_DISTRIBUTOR= line). Best each be made unique, so that you do not have more than one /boot/efi/EFI/ubuntu directory. This includes any other distro that is Ubuntu-based, as all (or most I've encountered) do not identify uniquely in /boot/efi/EFI/.
My older ubuntu was showing, though not my newer installed version... adding to my issues, BTW was my failing to recall that Ubuntu had blocked os-prober...
My thanks to ArrayBolt3 on askubuntu for his notation
Quote:
In Ubuntu 22.04, the feature that usually populates the boot menu with all of your operating systems is called os-prober. For security reasons, os-prober was disabled by default in the bootloader included with an early alpha version of Ubuntu 22.04 (GRUB 2.06), which made it so that the other operating systems on your system were not detected. (Source: https://www.gnu.org/software/grub/manual/grub/html_node/Simple-configuration.html #Simple-configuration Search for "os-prober" on the page to find the relevant info.)
To get your other operating systems to show up in the boot menu, you can re-enable os-prober. This will come with some security risks (for instance, if you have a malicious drive plugged into your system, and something like a kernel update causes os-prober to be executed, the malicious drive could try to exploit a security vulnerability in your system), but for many users, it's not that big of a deal, and the benefits outweigh the risks.
To re-enable os-prober, open a terminal with Ctrl+Alt+T, and run sudo nano /etc/default/grub to edit the grub-mkconfig configuration file. You will be asked for a password before the file opens, since you're opening it as a root user. Once the file is open, add GRUB_DISABLE_OS_PROBER=false to the file, press Ctrl+S to save, and Ctrl+X to exit. Finally, run sudo grub-mkconfig -o /boot/grub/grub.cfg to regenerate your GRUB configuration and boot menu, then type exit to leave the root shell. You can now close the terminal, and you should be done!
For now will check that still works ok tomorrow...
mrmazda, self usually replacing older OS version(s) leave old one a week two until am sure my new version runs ok, then delete older ones for extra storage space.
When I installed newer Ubuntu version, then could not get it up, switched to openSUSE, which has more space than my older Ubuntu version and was unsure what was happeing.
openSUSE am using term most weekdays.
Ubuntu do regularly use at other times or tasks, it helps keeps my brain (due long term head injuries) functioning.
Experience with disasters, like two OS's kept up to date, IF things fail [rarely :-)] when am busy, quick re-boot and back to work very quickly, later things quieten down then to figure out what went wrong and how to fix/recover it :-)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.