Arabic Arabic Chinese (Simplified) Chinese (Simplified) Dutch Dutch English English French French German German Italian Italian Portuguese Portuguese Russian Russian Spanish Spanish
| (844) 627-8267
0

How to Fix GRUB Not Showing in a Dual-Boot Setup | #linux | #linuxsecurity | #hacking | #aihp


Dual-booting is an easy way to try Linux without giving up the convenience of Windows. However, sometimes you might run into troubles with the GRUB bootloader.

A rare but difficult to deal with issue that dual-boot users may face is the GRUB bootloader not showing up during boot-up. Here’s how you can fix this quickly.

1. Change the GRUB Boot Priority

Your system boots up with the topmost bootloader in the boot priority queue. Sometimes, the GRUB bootloader is somehow placed below the Windows Boot Manager. This results in your PC booting up to Windows instead of Linux. Here’s how you can fix this:

  1. Restart your computer.
  2. As it boots up, press the F12 or Del key. This will take you to the UEFI BIOS control panel. Look for Boot settings and configure the boot priority. Make sure to place the GRUB bootloader at the top.
  3. Once you’ve made the changes, quit and save your modifications. Your PC will start booting up, and this time around, you should be welcomed by the GRUB boot menu. Select your Linux distribution and hit Enter. Your Linux should start booting up.

That’s all the steps you need to follow to fix the GRUB bootloader not showing up due to a boot priority issue.

2. Add the Linux Distribution to Boot Entry

Sometimes, the Linux boot entry might not appear in the UEFI BIOS. This means your PC will boot with whatever option is left, which in most cases is Windows. To fix this, manually add your Linux distribution to the boot entry by restarting your computer. As it boots up, press the F12 or Del key. This will take you to the UEFI BIOS control panel.

Look for Boot settings and click on Add New Entry. Locate the shimx64.efi file and confirm your changes. Note that this method may or may not work for all computers. In case this doesn’t work for you, try the alternative solutions.

3. Disable Windows Fast Boot

The Fast Startup feature in Windows 10 helps you restart your PC faster after shutdown. When enabled, it speeds up boot time by saving your operating system to a hibernation file. A major disadvantage to this feature is that it often messes up dual-boot setups. Here’s how you can disable this feature:

  1. Fire up Control Panel and go to System and Security > Power Options.
  2. Click on Choose what power buttons do. This will take you to a new page. Click on Change settings that are currently unavailable.
  3. Now you should be able to modify the previously grayed-out options. Uncheck the Turn on fast startup option and save your changes.

That’s all you need to do to disable fast startup. Restart your PC, and you should be greeted by GRUB.

4. Use bcdedit to Set Path for grubx64.efi/shimx64.efi

bcdedit is a Windows built-in command line utility that helps with troubleshooting boot-related issues. You can use bcdedit to default to GRUB each time you boot by defining the path to the GRUB bootloader. Here are the steps to follow:


bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
  1. Fire up an elevated command prompt terminal.
  2. Use bcdedit to define the path to grubx64.efi on systems without secure boot and shimx64.efi on systems with secure boot.
  3. Restart your system, and you should see the GRUB boot menu.

Modifying boot settings is dangerous, and you may end up breaking your system. So, only use this solution as a last resort in case everything else fails.

GRUB Not Showing Up? Use Windows Boot Manager!

GRUB bootloader can be troublesome to use at times. In case you cannot fix GRUB at all, try switching to Windows Boot Manager for a change. You can boot into different distributions with the Windows Boot Manager, just like with GRUB. While it may not have all the features of GRUB, it does its job as a boot manager.

Click Here For The Original Source.


————————————————————————————-

Translate