Boot Order is changing automatically












0














My laptop is a Lenovo Yoga 720 15IKB that is set up to dual boot between Mint [Linux] and Windows 10. The system came with Windows 10 pre-installed and the partition Windows 10 is on was shrunk to make room for a second partition for Mint Linux. The boot order is set to Ubuntu then Windows. The Ubuntu Boot menu allows booting into Linux or Windows.



The problem is that every time the system boots, the boot order has been rewritten so that Windows 10 starts up and there is no choice to start up the Linux OS.



In order to boot Linux, I must first allow the laptop to boot up Windows, then access the UEFI from the Windows recovery applet, change the boot order so that Ubuntu [a.k.a. Mint] is first and Windows is second, save the changes without exiting the UEFI setup utility, then exit without saving changes. The computer then continues to boot up with the Linux Grub menu that allows me to select either Mint Linux or Windows. If I try to exit and save changes instead of the two step process, my changes are ignored and the system boots directly into Windows 10. The next time I enter the UEFI setup utility, the boot order has been changed back to Windows first and Linux second.



On top of this, rebooting from Linux fails. The system shuts down correctly and then fails to start up again. A full power cycle is needed to restart the computer which results in the system booting directly into windows.



I have tried using EasyUEFI from Windows. It cannot alter the boot order because the "memory is read-only" even when run as the Administrator. From Linux, efibootmgr shows the boot order as Linux then Windows.



It is unclear exactly when the boot order is getting changed. It is not clear whether Windows 10 is changing it or the Lenovo firmware.



My question is basically, how do I get my laptop to use the Ubuntu efi so that a menu appears with a list of the possible boot choices and default to Linux if none is selected?



Laptop: Lenovo Yoga 720 15IKB OS1: Windows 10 OS2: Mint 19 UEFI App: InsydeH2O Setup Utility










share|improve this question







New contributor




Steven F. Le Brun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • I haven't had Windows changing the boot order even through upgrades, so I would guess firmware – or the physical flash memory going bad. Are all of your EFI bootloaders in the same system partition? Can you successfully add new boot entries, or change any other firmware settings in general?
    – grawity
    Jan 2 at 8:09












  • Windows Updates do not change the boot order. I also suspect the problem is in firmware. This behavior has been there since I bought the laptop new so I am hoping it is not a case of the physical flash memory going bad. Other EFI settings can be changed and stay at their new settings. All my EFI bootloaders are in the same partition. I am assuming that I can add new boot entries since the Ubuntu entry was added successfully.
    – Steven F. Le Brun
    Jan 3 at 2:06


















0














My laptop is a Lenovo Yoga 720 15IKB that is set up to dual boot between Mint [Linux] and Windows 10. The system came with Windows 10 pre-installed and the partition Windows 10 is on was shrunk to make room for a second partition for Mint Linux. The boot order is set to Ubuntu then Windows. The Ubuntu Boot menu allows booting into Linux or Windows.



The problem is that every time the system boots, the boot order has been rewritten so that Windows 10 starts up and there is no choice to start up the Linux OS.



In order to boot Linux, I must first allow the laptop to boot up Windows, then access the UEFI from the Windows recovery applet, change the boot order so that Ubuntu [a.k.a. Mint] is first and Windows is second, save the changes without exiting the UEFI setup utility, then exit without saving changes. The computer then continues to boot up with the Linux Grub menu that allows me to select either Mint Linux or Windows. If I try to exit and save changes instead of the two step process, my changes are ignored and the system boots directly into Windows 10. The next time I enter the UEFI setup utility, the boot order has been changed back to Windows first and Linux second.



On top of this, rebooting from Linux fails. The system shuts down correctly and then fails to start up again. A full power cycle is needed to restart the computer which results in the system booting directly into windows.



I have tried using EasyUEFI from Windows. It cannot alter the boot order because the "memory is read-only" even when run as the Administrator. From Linux, efibootmgr shows the boot order as Linux then Windows.



It is unclear exactly when the boot order is getting changed. It is not clear whether Windows 10 is changing it or the Lenovo firmware.



My question is basically, how do I get my laptop to use the Ubuntu efi so that a menu appears with a list of the possible boot choices and default to Linux if none is selected?



Laptop: Lenovo Yoga 720 15IKB OS1: Windows 10 OS2: Mint 19 UEFI App: InsydeH2O Setup Utility










share|improve this question







New contributor




Steven F. Le Brun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • I haven't had Windows changing the boot order even through upgrades, so I would guess firmware – or the physical flash memory going bad. Are all of your EFI bootloaders in the same system partition? Can you successfully add new boot entries, or change any other firmware settings in general?
    – grawity
    Jan 2 at 8:09












  • Windows Updates do not change the boot order. I also suspect the problem is in firmware. This behavior has been there since I bought the laptop new so I am hoping it is not a case of the physical flash memory going bad. Other EFI settings can be changed and stay at their new settings. All my EFI bootloaders are in the same partition. I am assuming that I can add new boot entries since the Ubuntu entry was added successfully.
    – Steven F. Le Brun
    Jan 3 at 2:06
















0












0








0







My laptop is a Lenovo Yoga 720 15IKB that is set up to dual boot between Mint [Linux] and Windows 10. The system came with Windows 10 pre-installed and the partition Windows 10 is on was shrunk to make room for a second partition for Mint Linux. The boot order is set to Ubuntu then Windows. The Ubuntu Boot menu allows booting into Linux or Windows.



The problem is that every time the system boots, the boot order has been rewritten so that Windows 10 starts up and there is no choice to start up the Linux OS.



In order to boot Linux, I must first allow the laptop to boot up Windows, then access the UEFI from the Windows recovery applet, change the boot order so that Ubuntu [a.k.a. Mint] is first and Windows is second, save the changes without exiting the UEFI setup utility, then exit without saving changes. The computer then continues to boot up with the Linux Grub menu that allows me to select either Mint Linux or Windows. If I try to exit and save changes instead of the two step process, my changes are ignored and the system boots directly into Windows 10. The next time I enter the UEFI setup utility, the boot order has been changed back to Windows first and Linux second.



On top of this, rebooting from Linux fails. The system shuts down correctly and then fails to start up again. A full power cycle is needed to restart the computer which results in the system booting directly into windows.



I have tried using EasyUEFI from Windows. It cannot alter the boot order because the "memory is read-only" even when run as the Administrator. From Linux, efibootmgr shows the boot order as Linux then Windows.



It is unclear exactly when the boot order is getting changed. It is not clear whether Windows 10 is changing it or the Lenovo firmware.



My question is basically, how do I get my laptop to use the Ubuntu efi so that a menu appears with a list of the possible boot choices and default to Linux if none is selected?



Laptop: Lenovo Yoga 720 15IKB OS1: Windows 10 OS2: Mint 19 UEFI App: InsydeH2O Setup Utility










share|improve this question







New contributor




Steven F. Le Brun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











My laptop is a Lenovo Yoga 720 15IKB that is set up to dual boot between Mint [Linux] and Windows 10. The system came with Windows 10 pre-installed and the partition Windows 10 is on was shrunk to make room for a second partition for Mint Linux. The boot order is set to Ubuntu then Windows. The Ubuntu Boot menu allows booting into Linux or Windows.



The problem is that every time the system boots, the boot order has been rewritten so that Windows 10 starts up and there is no choice to start up the Linux OS.



In order to boot Linux, I must first allow the laptop to boot up Windows, then access the UEFI from the Windows recovery applet, change the boot order so that Ubuntu [a.k.a. Mint] is first and Windows is second, save the changes without exiting the UEFI setup utility, then exit without saving changes. The computer then continues to boot up with the Linux Grub menu that allows me to select either Mint Linux or Windows. If I try to exit and save changes instead of the two step process, my changes are ignored and the system boots directly into Windows 10. The next time I enter the UEFI setup utility, the boot order has been changed back to Windows first and Linux second.



On top of this, rebooting from Linux fails. The system shuts down correctly and then fails to start up again. A full power cycle is needed to restart the computer which results in the system booting directly into windows.



I have tried using EasyUEFI from Windows. It cannot alter the boot order because the "memory is read-only" even when run as the Administrator. From Linux, efibootmgr shows the boot order as Linux then Windows.



It is unclear exactly when the boot order is getting changed. It is not clear whether Windows 10 is changing it or the Lenovo firmware.



My question is basically, how do I get my laptop to use the Ubuntu efi so that a menu appears with a list of the possible boot choices and default to Linux if none is selected?



Laptop: Lenovo Yoga 720 15IKB OS1: Windows 10 OS2: Mint 19 UEFI App: InsydeH2O Setup Utility







multi-boot linux-mint uefi windows-10-preview






share|improve this question







New contributor




Steven F. Le Brun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Steven F. Le Brun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Steven F. Le Brun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Jan 2 at 6:49









Steven F. Le BrunSteven F. Le Brun

1011




1011




New contributor




Steven F. Le Brun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Steven F. Le Brun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Steven F. Le Brun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • I haven't had Windows changing the boot order even through upgrades, so I would guess firmware – or the physical flash memory going bad. Are all of your EFI bootloaders in the same system partition? Can you successfully add new boot entries, or change any other firmware settings in general?
    – grawity
    Jan 2 at 8:09












  • Windows Updates do not change the boot order. I also suspect the problem is in firmware. This behavior has been there since I bought the laptop new so I am hoping it is not a case of the physical flash memory going bad. Other EFI settings can be changed and stay at their new settings. All my EFI bootloaders are in the same partition. I am assuming that I can add new boot entries since the Ubuntu entry was added successfully.
    – Steven F. Le Brun
    Jan 3 at 2:06




















  • I haven't had Windows changing the boot order even through upgrades, so I would guess firmware – or the physical flash memory going bad. Are all of your EFI bootloaders in the same system partition? Can you successfully add new boot entries, or change any other firmware settings in general?
    – grawity
    Jan 2 at 8:09












  • Windows Updates do not change the boot order. I also suspect the problem is in firmware. This behavior has been there since I bought the laptop new so I am hoping it is not a case of the physical flash memory going bad. Other EFI settings can be changed and stay at their new settings. All my EFI bootloaders are in the same partition. I am assuming that I can add new boot entries since the Ubuntu entry was added successfully.
    – Steven F. Le Brun
    Jan 3 at 2:06


















I haven't had Windows changing the boot order even through upgrades, so I would guess firmware – or the physical flash memory going bad. Are all of your EFI bootloaders in the same system partition? Can you successfully add new boot entries, or change any other firmware settings in general?
– grawity
Jan 2 at 8:09






I haven't had Windows changing the boot order even through upgrades, so I would guess firmware – or the physical flash memory going bad. Are all of your EFI bootloaders in the same system partition? Can you successfully add new boot entries, or change any other firmware settings in general?
– grawity
Jan 2 at 8:09














Windows Updates do not change the boot order. I also suspect the problem is in firmware. This behavior has been there since I bought the laptop new so I am hoping it is not a case of the physical flash memory going bad. Other EFI settings can be changed and stay at their new settings. All my EFI bootloaders are in the same partition. I am assuming that I can add new boot entries since the Ubuntu entry was added successfully.
– Steven F. Le Brun
Jan 3 at 2:06






Windows Updates do not change the boot order. I also suspect the problem is in firmware. This behavior has been there since I bought the laptop new so I am hoping it is not a case of the physical flash memory going bad. Other EFI settings can be changed and stay at their new settings. All my EFI bootloaders are in the same partition. I am assuming that I can add new boot entries since the Ubuntu entry was added successfully.
– Steven F. Le Brun
Jan 3 at 2:06












1 Answer
1






active

oldest

votes


















0














Lenovo (and other) laptops are known for buggy firmware that randomly rewrites boot variables in order to be "helpful". That doesn't mean Windows isn't also doing something fishy, but I wouldn't know.



Something that often overrides the intentionally corrupted variables is copying your GRUB binary from EFI<distro>GRUBX64.efi into EFIBOOTBOOTX64.efi (if on AMD64 - the Removable Media Path is architecture dependent) on your EFI System Partition. But you'll need to remember to do this manually whenever you update GRUB.






share|improve this answer





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    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: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    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
    });


    }
    });






    Steven F. Le Brun is a new contributor. Be nice, and check out our Code of Conduct.










    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1389687%2fboot-order-is-changing-automatically%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









    0














    Lenovo (and other) laptops are known for buggy firmware that randomly rewrites boot variables in order to be "helpful". That doesn't mean Windows isn't also doing something fishy, but I wouldn't know.



    Something that often overrides the intentionally corrupted variables is copying your GRUB binary from EFI<distro>GRUBX64.efi into EFIBOOTBOOTX64.efi (if on AMD64 - the Removable Media Path is architecture dependent) on your EFI System Partition. But you'll need to remember to do this manually whenever you update GRUB.






    share|improve this answer


























      0














      Lenovo (and other) laptops are known for buggy firmware that randomly rewrites boot variables in order to be "helpful". That doesn't mean Windows isn't also doing something fishy, but I wouldn't know.



      Something that often overrides the intentionally corrupted variables is copying your GRUB binary from EFI<distro>GRUBX64.efi into EFIBOOTBOOTX64.efi (if on AMD64 - the Removable Media Path is architecture dependent) on your EFI System Partition. But you'll need to remember to do this manually whenever you update GRUB.






      share|improve this answer
























        0












        0








        0






        Lenovo (and other) laptops are known for buggy firmware that randomly rewrites boot variables in order to be "helpful". That doesn't mean Windows isn't also doing something fishy, but I wouldn't know.



        Something that often overrides the intentionally corrupted variables is copying your GRUB binary from EFI<distro>GRUBX64.efi into EFIBOOTBOOTX64.efi (if on AMD64 - the Removable Media Path is architecture dependent) on your EFI System Partition. But you'll need to remember to do this manually whenever you update GRUB.






        share|improve this answer












        Lenovo (and other) laptops are known for buggy firmware that randomly rewrites boot variables in order to be "helpful". That doesn't mean Windows isn't also doing something fishy, but I wouldn't know.



        Something that often overrides the intentionally corrupted variables is copying your GRUB binary from EFI<distro>GRUBX64.efi into EFIBOOTBOOTX64.efi (if on AMD64 - the Removable Media Path is architecture dependent) on your EFI System Partition. But you'll need to remember to do this manually whenever you update GRUB.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 5 at 15:50









        unixsmurfunixsmurf

        1112




        1112






















            Steven F. Le Brun is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            Steven F. Le Brun is a new contributor. Be nice, and check out our Code of Conduct.













            Steven F. Le Brun is a new contributor. Be nice, and check out our Code of Conduct.












            Steven F. Le Brun is a new contributor. Be nice, and check out our Code of Conduct.
















            Thanks for contributing an answer to Super User!


            • 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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1389687%2fboot-order-is-changing-automatically%23new-answer', 'question_page');
            }
            );

            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







            Popular posts from this blog

            How to make a Squid Proxy server?

            Is this a new Fibonacci Identity?

            19世紀