Cannot boot to Windows 8.1 after installing Ubuntu












2















The issue is fixed, I had forgotten to change boot mode and boot priority in BIOS to UEFI and UEFI First, and also 'Optimize for' from 'other OS' to 'Win8 64bit'



First of all, sorry if this question has already been answered. There are so many questions of this topic, and I can't read answers of all of them, read some of them but they weren't helpful.



So I installed Ubuntu on my Lenovo laptop alongside Windows 8.1 UEFI (dual boot) and now I cannot boot to Windows 8.1. :( When I restart, GRUB boot manager asks me the OS to boot from. When I select Ubuntu it just loads fine but when I select Windows 8.1 I get the following error:



windows failed to start. a recent hardware or software change might be the cause. to fix the problem:
1. insert your installation disc and restart your computer.
2. choose your language settings.
3. click repair your computer.

File: BootBCD
Status: 0xc00000e
Info: The boot configuration data for your PC is missing or contains errors.


I don't have any installation disc can I fix this by booting to Ubuntu? One of my friend suggested to do:



sudo apt-get install syslinux
sudo dd if=/usr/lib/syslinux/mbr.bin of=/dev/sda


But I'm afraid to execute those commands as I don't know what they will do. Any advises?










share|improve this question
















bumped to the homepage by Community 10 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1





    yeah, those commands look kind of scary. look here, you may need to run boot-repair askubuntu.com/a/228069/167115 also, help.ubuntu.com/community/Boot-Repair and finally everydaylinuxuser.com/2013/09/…

    – mchid
    Mar 14 '15 at 22:19











  • Yes, installing syslinux isn't going to solve this problem as you already have GRUB and it's working or your Ubuntu wouldn't boot either. The problem is definitely with Windows.

    – Elder Geek
    Mar 14 '15 at 22:25











  • i'm so stupid. i had forgotten to change boot mode and boot priority in BIOS to UEFI and UEFI First, and also 'Optimize for' from 'other OS' to 'Win8 64bit.. now it works fine. thanks for taking your time to help :)

    – Ashish Srivastava
    Mar 14 '15 at 22:28
















2















The issue is fixed, I had forgotten to change boot mode and boot priority in BIOS to UEFI and UEFI First, and also 'Optimize for' from 'other OS' to 'Win8 64bit'



First of all, sorry if this question has already been answered. There are so many questions of this topic, and I can't read answers of all of them, read some of them but they weren't helpful.



So I installed Ubuntu on my Lenovo laptop alongside Windows 8.1 UEFI (dual boot) and now I cannot boot to Windows 8.1. :( When I restart, GRUB boot manager asks me the OS to boot from. When I select Ubuntu it just loads fine but when I select Windows 8.1 I get the following error:



windows failed to start. a recent hardware or software change might be the cause. to fix the problem:
1. insert your installation disc and restart your computer.
2. choose your language settings.
3. click repair your computer.

File: BootBCD
Status: 0xc00000e
Info: The boot configuration data for your PC is missing or contains errors.


I don't have any installation disc can I fix this by booting to Ubuntu? One of my friend suggested to do:



sudo apt-get install syslinux
sudo dd if=/usr/lib/syslinux/mbr.bin of=/dev/sda


But I'm afraid to execute those commands as I don't know what they will do. Any advises?










share|improve this question
















bumped to the homepage by Community 10 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1





    yeah, those commands look kind of scary. look here, you may need to run boot-repair askubuntu.com/a/228069/167115 also, help.ubuntu.com/community/Boot-Repair and finally everydaylinuxuser.com/2013/09/…

    – mchid
    Mar 14 '15 at 22:19











  • Yes, installing syslinux isn't going to solve this problem as you already have GRUB and it's working or your Ubuntu wouldn't boot either. The problem is definitely with Windows.

    – Elder Geek
    Mar 14 '15 at 22:25











  • i'm so stupid. i had forgotten to change boot mode and boot priority in BIOS to UEFI and UEFI First, and also 'Optimize for' from 'other OS' to 'Win8 64bit.. now it works fine. thanks for taking your time to help :)

    – Ashish Srivastava
    Mar 14 '15 at 22:28














2












2








2








The issue is fixed, I had forgotten to change boot mode and boot priority in BIOS to UEFI and UEFI First, and also 'Optimize for' from 'other OS' to 'Win8 64bit'



First of all, sorry if this question has already been answered. There are so many questions of this topic, and I can't read answers of all of them, read some of them but they weren't helpful.



So I installed Ubuntu on my Lenovo laptop alongside Windows 8.1 UEFI (dual boot) and now I cannot boot to Windows 8.1. :( When I restart, GRUB boot manager asks me the OS to boot from. When I select Ubuntu it just loads fine but when I select Windows 8.1 I get the following error:



windows failed to start. a recent hardware or software change might be the cause. to fix the problem:
1. insert your installation disc and restart your computer.
2. choose your language settings.
3. click repair your computer.

File: BootBCD
Status: 0xc00000e
Info: The boot configuration data for your PC is missing or contains errors.


I don't have any installation disc can I fix this by booting to Ubuntu? One of my friend suggested to do:



sudo apt-get install syslinux
sudo dd if=/usr/lib/syslinux/mbr.bin of=/dev/sda


But I'm afraid to execute those commands as I don't know what they will do. Any advises?










share|improve this question
















The issue is fixed, I had forgotten to change boot mode and boot priority in BIOS to UEFI and UEFI First, and also 'Optimize for' from 'other OS' to 'Win8 64bit'



First of all, sorry if this question has already been answered. There are so many questions of this topic, and I can't read answers of all of them, read some of them but they weren't helpful.



So I installed Ubuntu on my Lenovo laptop alongside Windows 8.1 UEFI (dual boot) and now I cannot boot to Windows 8.1. :( When I restart, GRUB boot manager asks me the OS to boot from. When I select Ubuntu it just loads fine but when I select Windows 8.1 I get the following error:



windows failed to start. a recent hardware or software change might be the cause. to fix the problem:
1. insert your installation disc and restart your computer.
2. choose your language settings.
3. click repair your computer.

File: BootBCD
Status: 0xc00000e
Info: The boot configuration data for your PC is missing or contains errors.


I don't have any installation disc can I fix this by booting to Ubuntu? One of my friend suggested to do:



sudo apt-get install syslinux
sudo dd if=/usr/lib/syslinux/mbr.bin of=/dev/sda


But I'm afraid to execute those commands as I don't know what they will do. Any advises?







boot dual-boot grub2 windows-8 syslinux






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 14 '15 at 22:27







Ashish Srivastava

















asked Mar 14 '15 at 21:58









Ashish SrivastavaAshish Srivastava

3125




3125





bumped to the homepage by Community 10 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 10 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.










  • 1





    yeah, those commands look kind of scary. look here, you may need to run boot-repair askubuntu.com/a/228069/167115 also, help.ubuntu.com/community/Boot-Repair and finally everydaylinuxuser.com/2013/09/…

    – mchid
    Mar 14 '15 at 22:19











  • Yes, installing syslinux isn't going to solve this problem as you already have GRUB and it's working or your Ubuntu wouldn't boot either. The problem is definitely with Windows.

    – Elder Geek
    Mar 14 '15 at 22:25











  • i'm so stupid. i had forgotten to change boot mode and boot priority in BIOS to UEFI and UEFI First, and also 'Optimize for' from 'other OS' to 'Win8 64bit.. now it works fine. thanks for taking your time to help :)

    – Ashish Srivastava
    Mar 14 '15 at 22:28














  • 1





    yeah, those commands look kind of scary. look here, you may need to run boot-repair askubuntu.com/a/228069/167115 also, help.ubuntu.com/community/Boot-Repair and finally everydaylinuxuser.com/2013/09/…

    – mchid
    Mar 14 '15 at 22:19











  • Yes, installing syslinux isn't going to solve this problem as you already have GRUB and it's working or your Ubuntu wouldn't boot either. The problem is definitely with Windows.

    – Elder Geek
    Mar 14 '15 at 22:25











  • i'm so stupid. i had forgotten to change boot mode and boot priority in BIOS to UEFI and UEFI First, and also 'Optimize for' from 'other OS' to 'Win8 64bit.. now it works fine. thanks for taking your time to help :)

    – Ashish Srivastava
    Mar 14 '15 at 22:28








1




1





yeah, those commands look kind of scary. look here, you may need to run boot-repair askubuntu.com/a/228069/167115 also, help.ubuntu.com/community/Boot-Repair and finally everydaylinuxuser.com/2013/09/…

– mchid
Mar 14 '15 at 22:19





yeah, those commands look kind of scary. look here, you may need to run boot-repair askubuntu.com/a/228069/167115 also, help.ubuntu.com/community/Boot-Repair and finally everydaylinuxuser.com/2013/09/…

– mchid
Mar 14 '15 at 22:19













Yes, installing syslinux isn't going to solve this problem as you already have GRUB and it's working or your Ubuntu wouldn't boot either. The problem is definitely with Windows.

– Elder Geek
Mar 14 '15 at 22:25





Yes, installing syslinux isn't going to solve this problem as you already have GRUB and it's working or your Ubuntu wouldn't boot either. The problem is definitely with Windows.

– Elder Geek
Mar 14 '15 at 22:25













i'm so stupid. i had forgotten to change boot mode and boot priority in BIOS to UEFI and UEFI First, and also 'Optimize for' from 'other OS' to 'Win8 64bit.. now it works fine. thanks for taking your time to help :)

– Ashish Srivastava
Mar 14 '15 at 22:28





i'm so stupid. i had forgotten to change boot mode and boot priority in BIOS to UEFI and UEFI First, and also 'Optimize for' from 'other OS' to 'Win8 64bit.. now it works fine. thanks for taking your time to help :)

– Ashish Srivastava
Mar 14 '15 at 22:28










2 Answers
2






active

oldest

votes


















0














If you can Connect to the Internet try Following Code in a new Terminal Window.



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


this will install boot-Repair in Ubuntu. after Installed launch it by typing "boot manager" in Bash or Terminal. When window came up, Select Recommended repair.



further information in here






share|improve this answer































    0














    Its very simple , this worked for me



    insert Ubuntu cd and select try Ubuntu, connect to Internet open terminal ( Ctrl+Alt+T ),



    login as root:



    sudo -i


    find out your linux disk :



    fdisk -l


    mount it:



    mount /dev/sdaX /mnt


    Recover:



    grub-install --root-directory=/mnt /dev/sda





    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%2f596889%2fcannot-boot-to-windows-8-1-after-installing-ubuntu%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














      If you can Connect to the Internet try Following Code in a new Terminal Window.



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


      this will install boot-Repair in Ubuntu. after Installed launch it by typing "boot manager" in Bash or Terminal. When window came up, Select Recommended repair.



      further information in here






      share|improve this answer




























        0














        If you can Connect to the Internet try Following Code in a new Terminal Window.



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


        this will install boot-Repair in Ubuntu. after Installed launch it by typing "boot manager" in Bash or Terminal. When window came up, Select Recommended repair.



        further information in here






        share|improve this answer


























          0












          0








          0







          If you can Connect to the Internet try Following Code in a new Terminal Window.



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


          this will install boot-Repair in Ubuntu. after Installed launch it by typing "boot manager" in Bash or Terminal. When window came up, Select Recommended repair.



          further information in here






          share|improve this answer













          If you can Connect to the Internet try Following Code in a new Terminal Window.



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


          this will install boot-Repair in Ubuntu. after Installed launch it by typing "boot manager" in Bash or Terminal. When window came up, Select Recommended repair.



          further information in here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 14 '15 at 22:27









          Thilanka Deshan-minion91Thilanka Deshan-minion91

          3311311




          3311311

























              0














              Its very simple , this worked for me



              insert Ubuntu cd and select try Ubuntu, connect to Internet open terminal ( Ctrl+Alt+T ),



              login as root:



              sudo -i


              find out your linux disk :



              fdisk -l


              mount it:



              mount /dev/sdaX /mnt


              Recover:



              grub-install --root-directory=/mnt /dev/sda





              share|improve this answer






























                0














                Its very simple , this worked for me



                insert Ubuntu cd and select try Ubuntu, connect to Internet open terminal ( Ctrl+Alt+T ),



                login as root:



                sudo -i


                find out your linux disk :



                fdisk -l


                mount it:



                mount /dev/sdaX /mnt


                Recover:



                grub-install --root-directory=/mnt /dev/sda





                share|improve this answer




























                  0












                  0








                  0







                  Its very simple , this worked for me



                  insert Ubuntu cd and select try Ubuntu, connect to Internet open terminal ( Ctrl+Alt+T ),



                  login as root:



                  sudo -i


                  find out your linux disk :



                  fdisk -l


                  mount it:



                  mount /dev/sdaX /mnt


                  Recover:



                  grub-install --root-directory=/mnt /dev/sda





                  share|improve this answer















                  Its very simple , this worked for me



                  insert Ubuntu cd and select try Ubuntu, connect to Internet open terminal ( Ctrl+Alt+T ),



                  login as root:



                  sudo -i


                  find out your linux disk :



                  fdisk -l


                  mount it:



                  mount /dev/sdaX /mnt


                  Recover:



                  grub-install --root-directory=/mnt /dev/sda






                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Apr 29 '16 at 9:13









                  storm

                  3,95532134




                  3,95532134










                  answered Apr 29 '16 at 7:54









                  Anmol MouryaAnmol Mourya

                  113




                  113






























                      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%2f596889%2fcannot-boot-to-windows-8-1-after-installing-ubuntu%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

                      GameSpot

                      日野市

                      Tu-95轟炸機