Ubuntu works in legacy mode and Windows works in UEFI, How could I make both work in dual boot, Alienware...












0















I am on alienware R-3. I did the following steps multiple times with different partitions without any luck.




  1. In bios changed RAID-0 to ACHI

  2. In bios changed secure mode to disable

  3. Logged into windows and shrink the disk

  4. Made a bootable ubuntu usb with rufus

  5. Boot from ubuntu usb and installed ubuntu


Now in bios if I keep the setting on Legacy I can directly login to Ubuntu. If I keep it to UEFI I directly log in to UBUNT.



I tried to manually enter into grub but legacy dont see UEFI and vice versa.



Ideally I want to present a menu to select one in UEFI mode. If not possible I wouldn't mind getting both in legacy mode.



Please help. Thanks.










share|improve this question























  • How the USB boots is how it installs, so you need to figure out how to boot it in UEFI mode. Ubuntu works with secure boot (unless the vendor messes with the standard), so try with secure boot enabled. Easier than changing Windows to legacy.

    – ubfan1
    yesterday











  • I changed options from legacy to UEFI and enabled secured mode but now it goes straight to windows

    – Mian Asbat Ahmad
    yesterday











  • The boot-repair app detects both windows and ubuntu in advanced -> grub location but when I try to fix it, boot-repair says that your session is not UEFI. The problem is that if I changed from ACHI to UEFI then I cant login to Ubuntu.

    – Mian Asbat Ahmad
    yesterday
















0















I am on alienware R-3. I did the following steps multiple times with different partitions without any luck.




  1. In bios changed RAID-0 to ACHI

  2. In bios changed secure mode to disable

  3. Logged into windows and shrink the disk

  4. Made a bootable ubuntu usb with rufus

  5. Boot from ubuntu usb and installed ubuntu


Now in bios if I keep the setting on Legacy I can directly login to Ubuntu. If I keep it to UEFI I directly log in to UBUNT.



I tried to manually enter into grub but legacy dont see UEFI and vice versa.



Ideally I want to present a menu to select one in UEFI mode. If not possible I wouldn't mind getting both in legacy mode.



Please help. Thanks.










share|improve this question























  • How the USB boots is how it installs, so you need to figure out how to boot it in UEFI mode. Ubuntu works with secure boot (unless the vendor messes with the standard), so try with secure boot enabled. Easier than changing Windows to legacy.

    – ubfan1
    yesterday











  • I changed options from legacy to UEFI and enabled secured mode but now it goes straight to windows

    – Mian Asbat Ahmad
    yesterday











  • The boot-repair app detects both windows and ubuntu in advanced -> grub location but when I try to fix it, boot-repair says that your session is not UEFI. The problem is that if I changed from ACHI to UEFI then I cant login to Ubuntu.

    – Mian Asbat Ahmad
    yesterday














0












0








0








I am on alienware R-3. I did the following steps multiple times with different partitions without any luck.




  1. In bios changed RAID-0 to ACHI

  2. In bios changed secure mode to disable

  3. Logged into windows and shrink the disk

  4. Made a bootable ubuntu usb with rufus

  5. Boot from ubuntu usb and installed ubuntu


Now in bios if I keep the setting on Legacy I can directly login to Ubuntu. If I keep it to UEFI I directly log in to UBUNT.



I tried to manually enter into grub but legacy dont see UEFI and vice versa.



Ideally I want to present a menu to select one in UEFI mode. If not possible I wouldn't mind getting both in legacy mode.



Please help. Thanks.










share|improve this question














I am on alienware R-3. I did the following steps multiple times with different partitions without any luck.




  1. In bios changed RAID-0 to ACHI

  2. In bios changed secure mode to disable

  3. Logged into windows and shrink the disk

  4. Made a bootable ubuntu usb with rufus

  5. Boot from ubuntu usb and installed ubuntu


Now in bios if I keep the setting on Legacy I can directly login to Ubuntu. If I keep it to UEFI I directly log in to UBUNT.



I tried to manually enter into grub but legacy dont see UEFI and vice versa.



Ideally I want to present a menu to select one in UEFI mode. If not possible I wouldn't mind getting both in legacy mode.



Please help. Thanks.







dual-boot windows uefi grub-legacy






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked yesterday









Mian Asbat AhmadMian Asbat Ahmad

12316




12316













  • How the USB boots is how it installs, so you need to figure out how to boot it in UEFI mode. Ubuntu works with secure boot (unless the vendor messes with the standard), so try with secure boot enabled. Easier than changing Windows to legacy.

    – ubfan1
    yesterday











  • I changed options from legacy to UEFI and enabled secured mode but now it goes straight to windows

    – Mian Asbat Ahmad
    yesterday











  • The boot-repair app detects both windows and ubuntu in advanced -> grub location but when I try to fix it, boot-repair says that your session is not UEFI. The problem is that if I changed from ACHI to UEFI then I cant login to Ubuntu.

    – Mian Asbat Ahmad
    yesterday



















  • How the USB boots is how it installs, so you need to figure out how to boot it in UEFI mode. Ubuntu works with secure boot (unless the vendor messes with the standard), so try with secure boot enabled. Easier than changing Windows to legacy.

    – ubfan1
    yesterday











  • I changed options from legacy to UEFI and enabled secured mode but now it goes straight to windows

    – Mian Asbat Ahmad
    yesterday











  • The boot-repair app detects both windows and ubuntu in advanced -> grub location but when I try to fix it, boot-repair says that your session is not UEFI. The problem is that if I changed from ACHI to UEFI then I cant login to Ubuntu.

    – Mian Asbat Ahmad
    yesterday

















How the USB boots is how it installs, so you need to figure out how to boot it in UEFI mode. Ubuntu works with secure boot (unless the vendor messes with the standard), so try with secure boot enabled. Easier than changing Windows to legacy.

– ubfan1
yesterday





How the USB boots is how it installs, so you need to figure out how to boot it in UEFI mode. Ubuntu works with secure boot (unless the vendor messes with the standard), so try with secure boot enabled. Easier than changing Windows to legacy.

– ubfan1
yesterday













I changed options from legacy to UEFI and enabled secured mode but now it goes straight to windows

– Mian Asbat Ahmad
yesterday





I changed options from legacy to UEFI and enabled secured mode but now it goes straight to windows

– Mian Asbat Ahmad
yesterday













The boot-repair app detects both windows and ubuntu in advanced -> grub location but when I try to fix it, boot-repair says that your session is not UEFI. The problem is that if I changed from ACHI to UEFI then I cant login to Ubuntu.

– Mian Asbat Ahmad
yesterday





The boot-repair app detects both windows and ubuntu in advanced -> grub location but when I try to fix it, boot-repair says that your session is not UEFI. The problem is that if I changed from ACHI to UEFI then I cant login to Ubuntu.

– Mian Asbat Ahmad
yesterday










2 Answers
2






active

oldest

votes


















0














When windows boots to UEFI it typically boots to windows boot manager rather than booting straight to the OS.



The simplest solution would be to either have both partitions imaged with legacy images, or have the legacy image on one hard drive and your uefi image on another.






share|improve this answer








New contributor




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





















  • I would have done that but my colleague having the same model has both windows 10 and ubuntu in one hard drive on the same model in UEFI settings.

    – Mian Asbat Ahmad
    yesterday



















0














Okay I was able to solve it finally. Here are reasons and directions of how to solve it.



REASON:

The above situation is due to preinstalled Windows 10 in UEFI mode and Ubuntu installed in LEGACY Mode.



SOLUTION TO WHOLE PROCESS:

1.0: Press F2 on boot and change RAID ON to ACHI and in boot menu disable secure mode.




  1. Make a UEFI only USB by formatting usb as FAT32 and copy paste the contents from Ubuntu.iso to that usb.

  2. Now press F2 to go to setup and manually add an entry to grub.efi

  3. Keep the manual entry on top so that the computer boots from this option

  4. Reboot the computer and you will be on the grub screen.

  5. Now on install option press e to edit and add the option for nomodeset or the desktop will freeze in Alienware because of NVIDIA graphics card.

  6. Now press enter and the installation will start.

  7. When you go to disk partition, select something else option

  8. Now select the unallocated space and make swap partition double the amount of ram.

  9. Now assign the remaining partition to /

  10. At the bottom on the same screen install the boot loader into the same / partition.

  11. Reboot and after installation select try ubuntu and perform step 5.

  12. When you get the desktop.

  13. Open terminal and install boot-repair

  14. sudo add-apt-repository ppa:yannubuntu/boot-repair
    sudo apt-get update
    sudo apt-get install -y boot-repair && boot-repair

  15. Folow the steps and you will get both windows and ubuntu options in the grub.


Note: If you get the boot-repair is not in UEFI Mode screen in boot-repair app then it means you havent done step 2 properly. Thats the reason we made UEFI only usb to make sure that we are not in ACHI mode but in UEFI mode.



I have written the above steps from memory so let me know if any problem and I will try to help.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    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
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1123511%2fubuntu-works-in-legacy-mode-and-windows-works-in-uefi-how-could-i-make-both-wor%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    When windows boots to UEFI it typically boots to windows boot manager rather than booting straight to the OS.



    The simplest solution would be to either have both partitions imaged with legacy images, or have the legacy image on one hard drive and your uefi image on another.






    share|improve this answer








    New contributor




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





















    • I would have done that but my colleague having the same model has both windows 10 and ubuntu in one hard drive on the same model in UEFI settings.

      – Mian Asbat Ahmad
      yesterday
















    0














    When windows boots to UEFI it typically boots to windows boot manager rather than booting straight to the OS.



    The simplest solution would be to either have both partitions imaged with legacy images, or have the legacy image on one hard drive and your uefi image on another.






    share|improve this answer








    New contributor




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





















    • I would have done that but my colleague having the same model has both windows 10 and ubuntu in one hard drive on the same model in UEFI settings.

      – Mian Asbat Ahmad
      yesterday














    0












    0








    0







    When windows boots to UEFI it typically boots to windows boot manager rather than booting straight to the OS.



    The simplest solution would be to either have both partitions imaged with legacy images, or have the legacy image on one hard drive and your uefi image on another.






    share|improve this answer








    New contributor




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










    When windows boots to UEFI it typically boots to windows boot manager rather than booting straight to the OS.



    The simplest solution would be to either have both partitions imaged with legacy images, or have the legacy image on one hard drive and your uefi image on another.







    share|improve this answer








    New contributor




    Balmungmp5 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 answer



    share|improve this answer






    New contributor




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









    answered yesterday









    Balmungmp5Balmungmp5

    11




    11




    New contributor




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





    New contributor





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






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













    • I would have done that but my colleague having the same model has both windows 10 and ubuntu in one hard drive on the same model in UEFI settings.

      – Mian Asbat Ahmad
      yesterday



















    • I would have done that but my colleague having the same model has both windows 10 and ubuntu in one hard drive on the same model in UEFI settings.

      – Mian Asbat Ahmad
      yesterday

















    I would have done that but my colleague having the same model has both windows 10 and ubuntu in one hard drive on the same model in UEFI settings.

    – Mian Asbat Ahmad
    yesterday





    I would have done that but my colleague having the same model has both windows 10 and ubuntu in one hard drive on the same model in UEFI settings.

    – Mian Asbat Ahmad
    yesterday













    0














    Okay I was able to solve it finally. Here are reasons and directions of how to solve it.



    REASON:

    The above situation is due to preinstalled Windows 10 in UEFI mode and Ubuntu installed in LEGACY Mode.



    SOLUTION TO WHOLE PROCESS:

    1.0: Press F2 on boot and change RAID ON to ACHI and in boot menu disable secure mode.




    1. Make a UEFI only USB by formatting usb as FAT32 and copy paste the contents from Ubuntu.iso to that usb.

    2. Now press F2 to go to setup and manually add an entry to grub.efi

    3. Keep the manual entry on top so that the computer boots from this option

    4. Reboot the computer and you will be on the grub screen.

    5. Now on install option press e to edit and add the option for nomodeset or the desktop will freeze in Alienware because of NVIDIA graphics card.

    6. Now press enter and the installation will start.

    7. When you go to disk partition, select something else option

    8. Now select the unallocated space and make swap partition double the amount of ram.

    9. Now assign the remaining partition to /

    10. At the bottom on the same screen install the boot loader into the same / partition.

    11. Reboot and after installation select try ubuntu and perform step 5.

    12. When you get the desktop.

    13. Open terminal and install boot-repair

    14. sudo add-apt-repository ppa:yannubuntu/boot-repair
      sudo apt-get update
      sudo apt-get install -y boot-repair && boot-repair

    15. Folow the steps and you will get both windows and ubuntu options in the grub.


    Note: If you get the boot-repair is not in UEFI Mode screen in boot-repair app then it means you havent done step 2 properly. Thats the reason we made UEFI only usb to make sure that we are not in ACHI mode but in UEFI mode.



    I have written the above steps from memory so let me know if any problem and I will try to help.






    share|improve this answer




























      0














      Okay I was able to solve it finally. Here are reasons and directions of how to solve it.



      REASON:

      The above situation is due to preinstalled Windows 10 in UEFI mode and Ubuntu installed in LEGACY Mode.



      SOLUTION TO WHOLE PROCESS:

      1.0: Press F2 on boot and change RAID ON to ACHI and in boot menu disable secure mode.




      1. Make a UEFI only USB by formatting usb as FAT32 and copy paste the contents from Ubuntu.iso to that usb.

      2. Now press F2 to go to setup and manually add an entry to grub.efi

      3. Keep the manual entry on top so that the computer boots from this option

      4. Reboot the computer and you will be on the grub screen.

      5. Now on install option press e to edit and add the option for nomodeset or the desktop will freeze in Alienware because of NVIDIA graphics card.

      6. Now press enter and the installation will start.

      7. When you go to disk partition, select something else option

      8. Now select the unallocated space and make swap partition double the amount of ram.

      9. Now assign the remaining partition to /

      10. At the bottom on the same screen install the boot loader into the same / partition.

      11. Reboot and after installation select try ubuntu and perform step 5.

      12. When you get the desktop.

      13. Open terminal and install boot-repair

      14. sudo add-apt-repository ppa:yannubuntu/boot-repair
        sudo apt-get update
        sudo apt-get install -y boot-repair && boot-repair

      15. Folow the steps and you will get both windows and ubuntu options in the grub.


      Note: If you get the boot-repair is not in UEFI Mode screen in boot-repair app then it means you havent done step 2 properly. Thats the reason we made UEFI only usb to make sure that we are not in ACHI mode but in UEFI mode.



      I have written the above steps from memory so let me know if any problem and I will try to help.






      share|improve this answer


























        0












        0








        0







        Okay I was able to solve it finally. Here are reasons and directions of how to solve it.



        REASON:

        The above situation is due to preinstalled Windows 10 in UEFI mode and Ubuntu installed in LEGACY Mode.



        SOLUTION TO WHOLE PROCESS:

        1.0: Press F2 on boot and change RAID ON to ACHI and in boot menu disable secure mode.




        1. Make a UEFI only USB by formatting usb as FAT32 and copy paste the contents from Ubuntu.iso to that usb.

        2. Now press F2 to go to setup and manually add an entry to grub.efi

        3. Keep the manual entry on top so that the computer boots from this option

        4. Reboot the computer and you will be on the grub screen.

        5. Now on install option press e to edit and add the option for nomodeset or the desktop will freeze in Alienware because of NVIDIA graphics card.

        6. Now press enter and the installation will start.

        7. When you go to disk partition, select something else option

        8. Now select the unallocated space and make swap partition double the amount of ram.

        9. Now assign the remaining partition to /

        10. At the bottom on the same screen install the boot loader into the same / partition.

        11. Reboot and after installation select try ubuntu and perform step 5.

        12. When you get the desktop.

        13. Open terminal and install boot-repair

        14. sudo add-apt-repository ppa:yannubuntu/boot-repair
          sudo apt-get update
          sudo apt-get install -y boot-repair && boot-repair

        15. Folow the steps and you will get both windows and ubuntu options in the grub.


        Note: If you get the boot-repair is not in UEFI Mode screen in boot-repair app then it means you havent done step 2 properly. Thats the reason we made UEFI only usb to make sure that we are not in ACHI mode but in UEFI mode.



        I have written the above steps from memory so let me know if any problem and I will try to help.






        share|improve this answer













        Okay I was able to solve it finally. Here are reasons and directions of how to solve it.



        REASON:

        The above situation is due to preinstalled Windows 10 in UEFI mode and Ubuntu installed in LEGACY Mode.



        SOLUTION TO WHOLE PROCESS:

        1.0: Press F2 on boot and change RAID ON to ACHI and in boot menu disable secure mode.




        1. Make a UEFI only USB by formatting usb as FAT32 and copy paste the contents from Ubuntu.iso to that usb.

        2. Now press F2 to go to setup and manually add an entry to grub.efi

        3. Keep the manual entry on top so that the computer boots from this option

        4. Reboot the computer and you will be on the grub screen.

        5. Now on install option press e to edit and add the option for nomodeset or the desktop will freeze in Alienware because of NVIDIA graphics card.

        6. Now press enter and the installation will start.

        7. When you go to disk partition, select something else option

        8. Now select the unallocated space and make swap partition double the amount of ram.

        9. Now assign the remaining partition to /

        10. At the bottom on the same screen install the boot loader into the same / partition.

        11. Reboot and after installation select try ubuntu and perform step 5.

        12. When you get the desktop.

        13. Open terminal and install boot-repair

        14. sudo add-apt-repository ppa:yannubuntu/boot-repair
          sudo apt-get update
          sudo apt-get install -y boot-repair && boot-repair

        15. Folow the steps and you will get both windows and ubuntu options in the grub.


        Note: If you get the boot-repair is not in UEFI Mode screen in boot-repair app then it means you havent done step 2 properly. Thats the reason we made UEFI only usb to make sure that we are not in ACHI mode but in UEFI mode.



        I have written the above steps from memory so let me know if any problem and I will try to help.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 32 mins ago









        Mian Asbat AhmadMian Asbat Ahmad

        12316




        12316






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • 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%2faskubuntu.com%2fquestions%2f1123511%2fubuntu-works-in-legacy-mode-and-windows-works-in-uefi-how-could-i-make-both-wor%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

            Category:香港粉麵

            List *all* the tuples!

            Channel [V]