0% found this document useful (0 votes)
154 views

Ubuntu (Fixed) No Grub Screen in Dual Boot, System Boots in Windows

The document provides instructions for fixing a dual boot system that is booting directly to Windows instead of displaying the GRUB menu to choose an operating system. The main methods discussed are: 1. Changing the boot order in the BIOS/UEFI settings to move the Linux entry above Windows. 2. Adding a new boot option in the BIOS/UEFI settings to include the Linux boot files if they are missing from the menu. 3. As a last resort, using the bcdedit command in Windows to set the boot path to the Linux files. Reversing any changes made is also described in case the issue is not resolved. Troubleshooting tips are provided for different manufacturer B

Uploaded by

smpnegeri 6kuala
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
154 views

Ubuntu (Fixed) No Grub Screen in Dual Boot, System Boots in Windows

The document provides instructions for fixing a dual boot system that is booting directly to Windows instead of displaying the GRUB menu to choose an operating system. The main methods discussed are: 1. Changing the boot order in the BIOS/UEFI settings to move the Linux entry above Windows. 2. Adding a new boot option in the BIOS/UEFI settings to include the Linux boot files if they are missing from the menu. 3. As a last resort, using the bcdedit command in Windows to set the boot path to the Linux files. Reversing any changes made is also described in case the issue is not resolved. Troubleshooting tips are provided for different manufacturer B

Uploaded by

smpnegeri 6kuala
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

Recommended Hotels for you:

Popular
Top Hits
SEARCH
SEARCH

Search Results

itsfoss.com
What are you looking for?

It's FOSS

Fix Grub Not Showing for Windows and Linux Dual Boot
System
Last updated October 6, 2021 By Abhishek Prakash (https://itsfoss.com/author/abhishek/)

Light Dark
Brief: Can’t access Linux in dual boot because your system boots straight to Windows without
showing the Grub menu? Here’s what you can do.

Here are some scenarios you could relate to:

You dual booted Ubuntu Linux with Windows (https://itsfoss.com/install-ubuntu-1404-dual-


boot-mode-windows-8-81-uefi/) but when you reboot, you do not see the Grub screen that
allows you to choose between Windows and Linux. Instead, it boot straight into Windows.

Or perhaps you had a working dual boot system but you updated Windows and now your
system boots straight into Windows. The usual grub menu is nowhere on the scene. It just
kept booting into Windows 10 at each startup.

I have faced both scenarios in my long journey with Linux and computers. I have also seen
people panicking over it. Some users even think that their Linux partition was deleted and
they lost their data. That’s not the case, I assure you.

No need to panic here. Just calm down, take a deep breath and go into boot settings. The
problem starts there and ends there.

If you too are unable to boot into Grub and you’re just rebooting Windows 10 repeatedly, here
are a few steps you can take to troubleshoot and fix the issue.

Read all the text carefully otherwise you may miss something important. Also, the boot settings
look different for different systems. The screenshots may look different.

Method 1: Move Grub up the order


One of the reasons why a dual boot system boots automatically into Windows is because
Windows boot manager has the priority in the boot order.

Light Dark
You need to access the boot settings. Restart your system. When the computer is booting up
and shows the logo of the manufacturer, quickly press F10/F12 or F2 keys to access the
boot menu or settings.

The keys defer from manufacturer to manufacturer. You can cycle through theme one by one,
quickly to avoid multiple booting.

Quickly press F2, F10 or F12 keys at the screen showing your system manufacturer’s logo

Some systems will show a boot menu with the possible boot options under the boot tab. If
you are lucky, it will show the boot options like this:

Light Dark
Make sure that Ubuntu is above Windows in the boot order

If you can see both Windows and Linux boot options and Windows boot is above Linux, you
have to change the boot order.

You should see the option to access boot settings. Access it. In here, identify the Linux boot
option. Select it and move it up the order using F5 key. After that press F10 to save and exit.
Helpful keyboard shortcuts are always displayed in the boot menu.

If you are lucky, this should fix the issue for you. If a few weeks or months down the line, the
problem comes again after a Windows update, you can use this same method here.

But if there is no Ubuntu/Linux option in the boot menu?

Method 2: Add Linux boot entry in the boot settings


One other common issue that many people encounter is the absence of Linux grub entry
from the boot options. This means that in the boot settings, there is only Windows, no Linux
option.

If it is the same case with you, go to BIOS settings. Under the boot tab, look for the Add Boot
Option.
Light Dark
Add new boot option

It should give you an option to add an EFI file.

Light Dark
Browse to EFI file

I used this while installing Debian Linux (https://itsfoss.com/install-debian-easily/). This is


why you’ll see Debian in the screenshots here. For you, it should show the name of your Linux
distribution like Ubuntu.

There is an EFI directory with efi files related to the operating systems on your computer i.e.
Windows and Linux.

Light Dark
Select EFI directory

It should show a folder with your Linux distribution’s name along with some other folders.
Select the Linux folder.

Light Dark
Select Debian

In this folder, you’ll find files like grubx64.efi, shimx64.efi. Select shimx64.efi.

Light Dark
Select shim.efi

You may give this file an appropriate name that is easily identifiable. The final screen may
look like this.

Light Dark
Adding the new boot option with efi file

Now, you should have this boot option. Since I named it Debian, it shows two Debian boot
options (one of them coming from the efi file I guess). Press F10 to save and exit the BIOS
settings.

Light Dark
New boot option added

When your system boots now, you should see the grub screen now.

Note: In Acer and perhaps some other systems, adding a new boot option could be tricky. You
may use the steps mentioned in the fix for ‘no bootable device found’ error
(https://itsfoss.com/no-bootable-device-found-ubuntu/). There also a boot option was
added but it requires changes from the security tab.

What you did here can also be done from Windows command line. Only try it when your
settings are not taken into account.

Method 3: Set Linux boot for EFI from Windows (last resort)
Light Dark
Warning!

Playing with your boot settings can leave your system messed up. I advise having a
recovery disk or Windows installation disk with you to reverse boot settings. Keeping the
Linux live USB can also help in many situations.

Step 1
In Windows, go to the menu.

(https://i0.wp.com/itsfoss.com/wp-content/uploads/2015/07/UEFI_Settings.jpg?ssl=1)

Step 2
Search for Command Prompt, right click on it to run it as administrator.

Light Dark
(https://i1.wp.com/itsfoss.com/wp-
content/uploads/2015/08/command_prompt_Windows10.jpeg?ssl=1)

Step 3
This is strictly for Ubuntu. Other distributions might have some other folder name.

In here, copy and paste the command below:

bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi

You don’t need to enter a password or anything like that. The command should run just fine
given that your account has admin rights.

Step 4
Light Dark
Restart and you’ll be welcomed by the familiar Grub screen. I hope this quick tutorial helped
you fix the Grub issue.

No success? Revert the changes


If the above method didn’t change anything, reverse the changes. If you are not able to boot
do not panic.

Access the boot settings when your system is booting. In here, go to the boot options and
move Windows boot up the order. Save and exit.

Now when you boot into Windows. you can reverse what you did using the command below
with command prompt opened as admin:

bcdedit /deletevalue {bootmgr} path \EFI\ubuntu\grubx64.efi

Next, use the below command to set the boot back to Windows.

bcdedit /set {bootmgr} path \EFI\Microsoft\Boot\bootmgfw.efi

If you’re not able to boot into the Windows installation, insert the Windows installation disk
and there you’ll have access to the command prompt. If you see a “no boot found” error, you
can try this (https://itsfoss.com/no-bootable-device-found-ubuntu/) or this
(http://www.wavesys.com/support/cannot-boot-windows-bootable-device-not-found-error-
after-initializing-drive-dell-e6x30-syst) solution.

Did it work?
Frustrating, isn’t it? It seemed like there was no way to access Linux at all. Seemed like Linux
partition disappeared but no – the Linux install on the other partition was safe and sound. It
was just the UEFI settings that were different in the boot manager. I verified everything by
accessing the UEFI firmware settings in Windows 10 (https://itsfoss.com/access-uefi-settings-
Light Dark
windows-10/).
I hope the suggestions here helped you to get the Grub boot menu back and you can now use
it to enjoy both Windows and Linux.

About Abhishek Prakash


Creator of It's FOSS. An ardent Linux user & open source promoter. Huge fan of
classic detective mysteries ranging from Agatha Christie and Sherlock Holmes
to Detective Columbo & Ellery Queen. Also a movie buff with a soft corner for film noir.

533 comments

Newest
comments first

Comment as a guest:

Notify me when someone replies to my comment


Save the details above in this browser for the next time I comment

Khan
4 days ago

Installed current UBUNTU 20.x and after restart it goes directly to Windows 11. I
have followed your steps but still same. BCD reflects the entry was successful.
Please advise. Thanks Light Dark
C:Windowssystem32>bcdedit

Windows Boot Manager

——————–

identifier {bootmgr}

device partition=DeviceHarddiskVolume1

path EFIubuntugrubx64.efi

description Windows Boot Manager

locale en-US

inherit {globalsettings}

default {current}

resumeobject {756df315-358d-11ec-a059-ea01f0661615}

displayorder {current}

toolsdisplayorder {memdiag}

timeout 30

Windows Boot Loader

——————-

identifier {current}

device partition=C:

path Windowssystem32winload.efi

description Windows 11
locale en-US

inherit {bootloadersettings}

recoverysequence {756df317-358d-11ec-a059-ea01f0661615}

displaymessageoverride Recovery

recoveryenabled Yes

isolatedcontext Yes

allowedinmemorysettings 0x15000075

osdevice partition=C:

systemroot Windows

Light Dark
resumeobject {756df315-358d-11ec-a059-ea01f0661615}

nx OptIn

bootmenupolicy Standard

Vote:

F91
3 weeks ago

During Linux installation, be sure that you do not ACCIDENTALLY OVERWRITE


the Windows boot partition.

Linux boot partition and the Windows boot partition share the same format
(both are FAT 32)

If it happens, it is impossible to boot Windows, and the only way to restore it is


reinstalling Win.

Vote:

thi
3 weeks ago

if you have to restore even the boot partition (happened to me after upgrading
the SSD), there is a excellent guide here:

https://www.techzim.co.zw/2021/01/how-to-restore-ubuntus-efi-partition-in-
ubuntu-20-04/ (https://www.techzim.co.zw/2021/01/how-to-restore-ubuntus-
efi-partition-in-ubuntu-20-04/)
Light Dark

You might also like