GRUB does not load in Windows10+Linux with UEFI

Clash Royale CLAN TAG#URR8PPP
I have a new computer that comes with UEFI but I'm unable to use Windows 10 and Linux in dual boot, after installation of Linux+GRUB and reboot it loads Windows without showing GRUB, notice that first I install Windows and then Linux, as usual. If I erase all the disk and install only a standalone Linux the GRUB works perfectly. I don't know if the problem is related to Windows 10 or the BIOS configuration.
In the BIOS setup I have UEFI mode active, the SECURE BOOT is disabled and the boot order is USB, CD/DVD, hard disk, OS boot loader and finally network.
My hard disk is 500Gb.
I used 50Gb to install Windows (partitions generated by Windows are EFI System, Microsoft reserved, Microsoft basic data and Windows recovery)
For Linux, I created /boot/efi 500Mb, / 50Gb and swap 8Gb (no /home partition, all in / root).
FIRST TRY: I created an EFI partition mounted in /boot/efi, installed linux, GRUB is installed without errors, but after boot it loads windows instead of GRUB.
SECOND TRY: I used the EFI partition created by Windows and mounted it in /boot/efi, installed linux, GRUB is installed without errors, but after boot it still loads windows instead of GRUB.
I thought it was a problem with the Fedora distro and tried with KALI and Mint, but still the GRUB is not loading, windows always start automatically.
Any idea of what can be wrong? As far as I understand, Linux can coexist with Windows in a UEFI based system, but it does not work on my laptop.
dual-boot uefi
add a comment |
I have a new computer that comes with UEFI but I'm unable to use Windows 10 and Linux in dual boot, after installation of Linux+GRUB and reboot it loads Windows without showing GRUB, notice that first I install Windows and then Linux, as usual. If I erase all the disk and install only a standalone Linux the GRUB works perfectly. I don't know if the problem is related to Windows 10 or the BIOS configuration.
In the BIOS setup I have UEFI mode active, the SECURE BOOT is disabled and the boot order is USB, CD/DVD, hard disk, OS boot loader and finally network.
My hard disk is 500Gb.
I used 50Gb to install Windows (partitions generated by Windows are EFI System, Microsoft reserved, Microsoft basic data and Windows recovery)
For Linux, I created /boot/efi 500Mb, / 50Gb and swap 8Gb (no /home partition, all in / root).
FIRST TRY: I created an EFI partition mounted in /boot/efi, installed linux, GRUB is installed without errors, but after boot it loads windows instead of GRUB.
SECOND TRY: I used the EFI partition created by Windows and mounted it in /boot/efi, installed linux, GRUB is installed without errors, but after boot it still loads windows instead of GRUB.
I thought it was a problem with the Fedora distro and tried with KALI and Mint, but still the GRUB is not loading, windows always start automatically.
Any idea of what can be wrong? As far as I understand, Linux can coexist with Windows in a UEFI based system, but it does not work on my laptop.
dual-boot uefi
1
Can you add the contents of your /boot/efi/EFI/fedora/grub.cfg?
– bgregs
Jan 2 at 16:19
your grub.cfg should have a windows entry otherwise you need to let grub find other bootloaders, you did run os-prober and grub-mkconfig -o /boot/grub/grub.cfg right ?
– MADforFUNandHappy
Jan 2 at 18:25
It may be useful to edit your question, adding the exact commands you run when installing/configuring GRUB, your partition listing (e.g.fdisk -l) and the mount points you had back then. Since you mentioned Fedora: did you follow the guide from it's wiki? Also, you may find useful guidance in Arch Wiki - Dual boot with Windows, which also points you to How to configure GRUB to boot Windows on UEFI.
– fra-san
Jan 2 at 19:45
add a comment |
I have a new computer that comes with UEFI but I'm unable to use Windows 10 and Linux in dual boot, after installation of Linux+GRUB and reboot it loads Windows without showing GRUB, notice that first I install Windows and then Linux, as usual. If I erase all the disk and install only a standalone Linux the GRUB works perfectly. I don't know if the problem is related to Windows 10 or the BIOS configuration.
In the BIOS setup I have UEFI mode active, the SECURE BOOT is disabled and the boot order is USB, CD/DVD, hard disk, OS boot loader and finally network.
My hard disk is 500Gb.
I used 50Gb to install Windows (partitions generated by Windows are EFI System, Microsoft reserved, Microsoft basic data and Windows recovery)
For Linux, I created /boot/efi 500Mb, / 50Gb and swap 8Gb (no /home partition, all in / root).
FIRST TRY: I created an EFI partition mounted in /boot/efi, installed linux, GRUB is installed without errors, but after boot it loads windows instead of GRUB.
SECOND TRY: I used the EFI partition created by Windows and mounted it in /boot/efi, installed linux, GRUB is installed without errors, but after boot it still loads windows instead of GRUB.
I thought it was a problem with the Fedora distro and tried with KALI and Mint, but still the GRUB is not loading, windows always start automatically.
Any idea of what can be wrong? As far as I understand, Linux can coexist with Windows in a UEFI based system, but it does not work on my laptop.
dual-boot uefi
I have a new computer that comes with UEFI but I'm unable to use Windows 10 and Linux in dual boot, after installation of Linux+GRUB and reboot it loads Windows without showing GRUB, notice that first I install Windows and then Linux, as usual. If I erase all the disk and install only a standalone Linux the GRUB works perfectly. I don't know if the problem is related to Windows 10 or the BIOS configuration.
In the BIOS setup I have UEFI mode active, the SECURE BOOT is disabled and the boot order is USB, CD/DVD, hard disk, OS boot loader and finally network.
My hard disk is 500Gb.
I used 50Gb to install Windows (partitions generated by Windows are EFI System, Microsoft reserved, Microsoft basic data and Windows recovery)
For Linux, I created /boot/efi 500Mb, / 50Gb and swap 8Gb (no /home partition, all in / root).
FIRST TRY: I created an EFI partition mounted in /boot/efi, installed linux, GRUB is installed without errors, but after boot it loads windows instead of GRUB.
SECOND TRY: I used the EFI partition created by Windows and mounted it in /boot/efi, installed linux, GRUB is installed without errors, but after boot it still loads windows instead of GRUB.
I thought it was a problem with the Fedora distro and tried with KALI and Mint, but still the GRUB is not loading, windows always start automatically.
Any idea of what can be wrong? As far as I understand, Linux can coexist with Windows in a UEFI based system, but it does not work on my laptop.
dual-boot uefi
dual-boot uefi
edited Jan 2 at 20:49
Rui F Ribeiro
39.5k1479132
39.5k1479132
asked Jan 2 at 16:11
kanito73kanito73
61
61
1
Can you add the contents of your /boot/efi/EFI/fedora/grub.cfg?
– bgregs
Jan 2 at 16:19
your grub.cfg should have a windows entry otherwise you need to let grub find other bootloaders, you did run os-prober and grub-mkconfig -o /boot/grub/grub.cfg right ?
– MADforFUNandHappy
Jan 2 at 18:25
It may be useful to edit your question, adding the exact commands you run when installing/configuring GRUB, your partition listing (e.g.fdisk -l) and the mount points you had back then. Since you mentioned Fedora: did you follow the guide from it's wiki? Also, you may find useful guidance in Arch Wiki - Dual boot with Windows, which also points you to How to configure GRUB to boot Windows on UEFI.
– fra-san
Jan 2 at 19:45
add a comment |
1
Can you add the contents of your /boot/efi/EFI/fedora/grub.cfg?
– bgregs
Jan 2 at 16:19
your grub.cfg should have a windows entry otherwise you need to let grub find other bootloaders, you did run os-prober and grub-mkconfig -o /boot/grub/grub.cfg right ?
– MADforFUNandHappy
Jan 2 at 18:25
It may be useful to edit your question, adding the exact commands you run when installing/configuring GRUB, your partition listing (e.g.fdisk -l) and the mount points you had back then. Since you mentioned Fedora: did you follow the guide from it's wiki? Also, you may find useful guidance in Arch Wiki - Dual boot with Windows, which also points you to How to configure GRUB to boot Windows on UEFI.
– fra-san
Jan 2 at 19:45
1
1
Can you add the contents of your /boot/efi/EFI/fedora/grub.cfg?
– bgregs
Jan 2 at 16:19
Can you add the contents of your /boot/efi/EFI/fedora/grub.cfg?
– bgregs
Jan 2 at 16:19
your grub.cfg should have a windows entry otherwise you need to let grub find other bootloaders, you did run os-prober and grub-mkconfig -o /boot/grub/grub.cfg right ?
– MADforFUNandHappy
Jan 2 at 18:25
your grub.cfg should have a windows entry otherwise you need to let grub find other bootloaders, you did run os-prober and grub-mkconfig -o /boot/grub/grub.cfg right ?
– MADforFUNandHappy
Jan 2 at 18:25
It may be useful to edit your question, adding the exact commands you run when installing/configuring GRUB, your partition listing (e.g.
fdisk -l) and the mount points you had back then. Since you mentioned Fedora: did you follow the guide from it's wiki? Also, you may find useful guidance in Arch Wiki - Dual boot with Windows, which also points you to How to configure GRUB to boot Windows on UEFI.– fra-san
Jan 2 at 19:45
It may be useful to edit your question, adding the exact commands you run when installing/configuring GRUB, your partition listing (e.g.
fdisk -l) and the mount points you had back then. Since you mentioned Fedora: did you follow the guide from it's wiki? Also, you may find useful guidance in Arch Wiki - Dual boot with Windows, which also points you to How to configure GRUB to boot Windows on UEFI.– fra-san
Jan 2 at 19:45
add a comment |
1 Answer
1
active
oldest
votes
The problem seems to be that as you installed Windows first, it's boot entry is above the Linux boot entry, which needs to be loaded for GRUB to show up. To fix this order, try following these steps:
- Go into your boot settings, accessible by pressing a specific key during boot (check your laptop's manual)
- Find the option to change the OS boot order (Most likely accessible by pressing enter on the OS boot loader entry in the boot order list).
- Move the Linux entry above Windows.
- Press the key for
save & exitand reboot.
This will make Linux boot by default, and GRUB should show up, with an option to boot into windows.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f492043%2fgrub-does-not-load-in-windows10linux-with-uefi%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The problem seems to be that as you installed Windows first, it's boot entry is above the Linux boot entry, which needs to be loaded for GRUB to show up. To fix this order, try following these steps:
- Go into your boot settings, accessible by pressing a specific key during boot (check your laptop's manual)
- Find the option to change the OS boot order (Most likely accessible by pressing enter on the OS boot loader entry in the boot order list).
- Move the Linux entry above Windows.
- Press the key for
save & exitand reboot.
This will make Linux boot by default, and GRUB should show up, with an option to boot into windows.
add a comment |
The problem seems to be that as you installed Windows first, it's boot entry is above the Linux boot entry, which needs to be loaded for GRUB to show up. To fix this order, try following these steps:
- Go into your boot settings, accessible by pressing a specific key during boot (check your laptop's manual)
- Find the option to change the OS boot order (Most likely accessible by pressing enter on the OS boot loader entry in the boot order list).
- Move the Linux entry above Windows.
- Press the key for
save & exitand reboot.
This will make Linux boot by default, and GRUB should show up, with an option to boot into windows.
add a comment |
The problem seems to be that as you installed Windows first, it's boot entry is above the Linux boot entry, which needs to be loaded for GRUB to show up. To fix this order, try following these steps:
- Go into your boot settings, accessible by pressing a specific key during boot (check your laptop's manual)
- Find the option to change the OS boot order (Most likely accessible by pressing enter on the OS boot loader entry in the boot order list).
- Move the Linux entry above Windows.
- Press the key for
save & exitand reboot.
This will make Linux boot by default, and GRUB should show up, with an option to boot into windows.
The problem seems to be that as you installed Windows first, it's boot entry is above the Linux boot entry, which needs to be loaded for GRUB to show up. To fix this order, try following these steps:
- Go into your boot settings, accessible by pressing a specific key during boot (check your laptop's manual)
- Find the option to change the OS boot order (Most likely accessible by pressing enter on the OS boot loader entry in the boot order list).
- Move the Linux entry above Windows.
- Press the key for
save & exitand reboot.
This will make Linux boot by default, and GRUB should show up, with an option to boot into windows.
edited Jan 2 at 17:53
answered Jan 2 at 17:47
aksh1618aksh1618
8710
8710
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f492043%2fgrub-does-not-load-in-windows10linux-with-uefi%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Can you add the contents of your /boot/efi/EFI/fedora/grub.cfg?
– bgregs
Jan 2 at 16:19
your grub.cfg should have a windows entry otherwise you need to let grub find other bootloaders, you did run os-prober and grub-mkconfig -o /boot/grub/grub.cfg right ?
– MADforFUNandHappy
Jan 2 at 18:25
It may be useful to edit your question, adding the exact commands you run when installing/configuring GRUB, your partition listing (e.g.
fdisk -l) and the mount points you had back then. Since you mentioned Fedora: did you follow the guide from it's wiki? Also, you may find useful guidance in Arch Wiki - Dual boot with Windows, which also points you to How to configure GRUB to boot Windows on UEFI.– fra-san
Jan 2 at 19:45