How to restore GRUB menu in multiboot environment?
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.
How to restore GRUB menu in multiboot environment?
Hi...
I have upgraded my notebook with SSD harddrive. I am using my old HDD along with new SSD. Old HDD contians Windows 7, Windows 10 and RHEL 7.6 and installed in the notebook using HDD Caddy. New SSD installed in main slot contain windows 11. I have lost GRUB boot entry after installing Windows 11 os in SSD.
How can i restore GRUB along with all OS entries in the boot menu?
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
Rep:
Hi Naren(IND),
Welcome to LinuxQuestions.
I am guessing that your laptop now boots from the new SSD drive and goes straight into Windows 11. If this is not the case, please specify.
If this *is* the case, it is expected. Once you install any version of Windows on a system where there are various other partitions and operating systems, the newly installed version of Windows sets itself up as if it were the only operating system on the computer.
In your case, your GRUB installation probably emanates from your RHEL installation. My method for restoring would be to boot a live ISO of RHEL, chroot into your existing RHEL installation, make sure your new SSD drive is visible to RHEL, reinstall GRUB and update your GRUB configuration (I'm not familiar with RHEL - this could be a command like "update-grub", "grub-mkconfig" or something else). Be careful to verify the various GRUB config files after doing this and make any fine-tuning adjustments before rebooting.
Hope this helps - please let us know if you require further assistance.
Are you able to boot any of the other installations from the bios boot menu? The bios boot menu is usually accessed by one of the f-keys when the system is first started.
I suspect you may have mixed legacy/csm booting with uefi booting.
Did you make any changes in the bios/firmware to get windows11 to boot?
Booting Linux by default again might be as simple as a change in BIOS setup, if your HDD was configured to boot using UEFI. If it was, simply reorder the boot devices priorities to return Linux to #1. Does RedHat or Grub show up in a list when you use your BBS menu hotkey?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.