Dual booting Ubuntu and Windows 8. w8 boots through grub shell, but not from menuProblem at booting Windows...

Which "exotic salt" can lower water's freezing point by –70 °C?

How is trade in services conducted under the WTO in the absence of the Doha conclusion?

What is more safe for browsing the web: PC or smartphone?

Explaining intravenous drug abuse to a small child

Installing Debian 10, upgrade to stable later?

How to say something covers all the view up to the horizon line?

Dual frame in Riemannian metrics.

Subnumcases as a part of align

As a GM, is it bad form to ask for a moment to think when improvising?

Convert Numbers To Emoji Math

How long did it take Captain Marvel to travel to Earth?

How long does it take a postcard to get from USA to Germany?

Python 3 - simple temperature program version 1.3

Transistor gain, what if there is not enough current?

What is the meaning of 「隣のおじいさんは言いました」

Was there a dinosaur-counter in the original Jurassic Park movie?

How to use awk to extract data from a file based on the content of another file?

Justification of physical currency in an interstellar civilization?

Problem with estimating a sequence with intuition

Copper as an adjective to refer to something made of copper

Given four points how can I find an equation for any pattern?

While drilling into kitchen wall, hit a wire - any advice?

What happens if I accidentally leave an app running and click "Install Now" in Software Updater?

Can I combine SELECT TOP() with the IN operator?



Dual booting Ubuntu and Windows 8. w8 boots through grub shell, but not from menu


Problem at booting Windows from GRUB2 menu made by Debian for itselfWindows Server 2012 R2 and Centos 7 dual boot: Windows gone from boot menuGrub not loading config file or booting into linux automaticallyDual Boot Windows - Linux Mint grub menu not appearing at startupWhat are all these other in grub options and which are safe to remove?GRUB menu does not show up after installing linux mint 18 alongside Windows 10 during bootDifferent EFIs and Windows dual bootingInstall Grub when ssd is hd1Trying to install CentOS 7 and Windows 10 on same drive (dual boot)






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







3















I have a laptop, with installations of Ubuntu 12.10, and Windows 8.
Windows 8 was first installed on the system, and Ubuntu was installed afterwards.



During the Ubuntu installation, the installer recognized that there are existing partitions, but failed to see any OS on them. I created another ext4 partition in the free space, and installed Ubuntu.
Initially grub only added the entry for Ubuntu, and Ubuntu works ok.



Now I wanted to enter w8 settings to Grub manually, and modified /etc/grub.d/40_custom:



#!/bin/bash
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Windows 8" {
insmod part_gpt
insmod fat
insmod search_fs_uuid
insmod chain
#set root='(hd0,gpt1)'
search --fs_uuid --no-floppy --set=root --hint-bios=hd0,gpt2 --hint efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2
chainloader /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
}


The search string (second to last) I found with this command: sudo grub-probe --target=hints_string /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi



Now after updating grub config, rebooting and selecting windows 8 entry, it complains:



error: unspecified search type
error: file '/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi' not found

Press any key to continue


In Ubuntu however, if I do ls /boot/efi/EFI/Microsoft/Boot/b*



/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
/boot/efi/EFI/Microsoft/Boot/bootmgr.efi
/boot/efi/EFI/Microsoft/Boot/boot.stl

/boot/efi/EFI/Microsoft/Boot/bg-BG:
bootmgfw.efi.mui
bootmgr.efi.mui


Now, if I press e to edit the Windows 8 entry, and then select F2 to enter grub shell, indeed if I try to run ls /boot/efi, no files are shown.



Funnily enough, if at this point I just type exit, windows 8 will boot up.



fdisk -l gives me that it recognizes /dev/sda1 as GPT partition



Any ideas what I should do to get grub working "right out of the menu"?










share|improve this question
















bumped to the homepage by Community 10 mins ago


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
















  • Can you provide the menuentry block for Ubuntu itself? I believe that setting the root in the Windows entry to the same of Ubuntu's will resolve the issue.

    – aularon
    Feb 2 '14 at 21:45


















3















I have a laptop, with installations of Ubuntu 12.10, and Windows 8.
Windows 8 was first installed on the system, and Ubuntu was installed afterwards.



During the Ubuntu installation, the installer recognized that there are existing partitions, but failed to see any OS on them. I created another ext4 partition in the free space, and installed Ubuntu.
Initially grub only added the entry for Ubuntu, and Ubuntu works ok.



Now I wanted to enter w8 settings to Grub manually, and modified /etc/grub.d/40_custom:



#!/bin/bash
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Windows 8" {
insmod part_gpt
insmod fat
insmod search_fs_uuid
insmod chain
#set root='(hd0,gpt1)'
search --fs_uuid --no-floppy --set=root --hint-bios=hd0,gpt2 --hint efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2
chainloader /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
}


The search string (second to last) I found with this command: sudo grub-probe --target=hints_string /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi



Now after updating grub config, rebooting and selecting windows 8 entry, it complains:



error: unspecified search type
error: file '/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi' not found

Press any key to continue


In Ubuntu however, if I do ls /boot/efi/EFI/Microsoft/Boot/b*



/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
/boot/efi/EFI/Microsoft/Boot/bootmgr.efi
/boot/efi/EFI/Microsoft/Boot/boot.stl

/boot/efi/EFI/Microsoft/Boot/bg-BG:
bootmgfw.efi.mui
bootmgr.efi.mui


Now, if I press e to edit the Windows 8 entry, and then select F2 to enter grub shell, indeed if I try to run ls /boot/efi, no files are shown.



Funnily enough, if at this point I just type exit, windows 8 will boot up.



fdisk -l gives me that it recognizes /dev/sda1 as GPT partition



Any ideas what I should do to get grub working "right out of the menu"?










share|improve this question
















bumped to the homepage by Community 10 mins ago


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
















  • Can you provide the menuentry block for Ubuntu itself? I believe that setting the root in the Windows entry to the same of Ubuntu's will resolve the issue.

    – aularon
    Feb 2 '14 at 21:45














3












3








3


2






I have a laptop, with installations of Ubuntu 12.10, and Windows 8.
Windows 8 was first installed on the system, and Ubuntu was installed afterwards.



During the Ubuntu installation, the installer recognized that there are existing partitions, but failed to see any OS on them. I created another ext4 partition in the free space, and installed Ubuntu.
Initially grub only added the entry for Ubuntu, and Ubuntu works ok.



Now I wanted to enter w8 settings to Grub manually, and modified /etc/grub.d/40_custom:



#!/bin/bash
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Windows 8" {
insmod part_gpt
insmod fat
insmod search_fs_uuid
insmod chain
#set root='(hd0,gpt1)'
search --fs_uuid --no-floppy --set=root --hint-bios=hd0,gpt2 --hint efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2
chainloader /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
}


The search string (second to last) I found with this command: sudo grub-probe --target=hints_string /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi



Now after updating grub config, rebooting and selecting windows 8 entry, it complains:



error: unspecified search type
error: file '/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi' not found

Press any key to continue


In Ubuntu however, if I do ls /boot/efi/EFI/Microsoft/Boot/b*



/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
/boot/efi/EFI/Microsoft/Boot/bootmgr.efi
/boot/efi/EFI/Microsoft/Boot/boot.stl

/boot/efi/EFI/Microsoft/Boot/bg-BG:
bootmgfw.efi.mui
bootmgr.efi.mui


Now, if I press e to edit the Windows 8 entry, and then select F2 to enter grub shell, indeed if I try to run ls /boot/efi, no files are shown.



Funnily enough, if at this point I just type exit, windows 8 will boot up.



fdisk -l gives me that it recognizes /dev/sda1 as GPT partition



Any ideas what I should do to get grub working "right out of the menu"?










share|improve this question
















I have a laptop, with installations of Ubuntu 12.10, and Windows 8.
Windows 8 was first installed on the system, and Ubuntu was installed afterwards.



During the Ubuntu installation, the installer recognized that there are existing partitions, but failed to see any OS on them. I created another ext4 partition in the free space, and installed Ubuntu.
Initially grub only added the entry for Ubuntu, and Ubuntu works ok.



Now I wanted to enter w8 settings to Grub manually, and modified /etc/grub.d/40_custom:



#!/bin/bash
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Windows 8" {
insmod part_gpt
insmod fat
insmod search_fs_uuid
insmod chain
#set root='(hd0,gpt1)'
search --fs_uuid --no-floppy --set=root --hint-bios=hd0,gpt2 --hint efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2
chainloader /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
}


The search string (second to last) I found with this command: sudo grub-probe --target=hints_string /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi



Now after updating grub config, rebooting and selecting windows 8 entry, it complains:



error: unspecified search type
error: file '/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi' not found

Press any key to continue


In Ubuntu however, if I do ls /boot/efi/EFI/Microsoft/Boot/b*



/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
/boot/efi/EFI/Microsoft/Boot/bootmgr.efi
/boot/efi/EFI/Microsoft/Boot/boot.stl

/boot/efi/EFI/Microsoft/Boot/bg-BG:
bootmgfw.efi.mui
bootmgr.efi.mui


Now, if I press e to edit the Windows 8 entry, and then select F2 to enter grub shell, indeed if I try to run ls /boot/efi, no files are shown.



Funnily enough, if at this point I just type exit, windows 8 will boot up.



fdisk -l gives me that it recognizes /dev/sda1 as GPT partition



Any ideas what I should do to get grub working "right out of the menu"?







windows dual-boot grub2 gpt uefi






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 2 '14 at 21:37









Olli

730518




730518










asked Jan 20 '13 at 5:48









julummejulumme

12314




12314





bumped to the homepage by Community 10 mins 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 mins ago


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















  • Can you provide the menuentry block for Ubuntu itself? I believe that setting the root in the Windows entry to the same of Ubuntu's will resolve the issue.

    – aularon
    Feb 2 '14 at 21:45



















  • Can you provide the menuentry block for Ubuntu itself? I believe that setting the root in the Windows entry to the same of Ubuntu's will resolve the issue.

    – aularon
    Feb 2 '14 at 21:45

















Can you provide the menuentry block for Ubuntu itself? I believe that setting the root in the Windows entry to the same of Ubuntu's will resolve the issue.

– aularon
Feb 2 '14 at 21:45





Can you provide the menuentry block for Ubuntu itself? I believe that setting the root in the Windows entry to the same of Ubuntu's will resolve the issue.

– aularon
Feb 2 '14 at 21:45










4 Answers
4






active

oldest

votes


















0














Have a look at refind, it's pretty useful and slick (and does boot win8 in my tests performed while adding UEFI support to ALT Linux).



It's not a boot loader but rather a boot manager so it will allow you to choose between WBM and GRUB with both being able to actually chainload the (in)appropriate kernel.






share|improve this answer































    0














    You need to supply the UUID of the SYSTEM device on your search line (at the end). And remove the --bios tag, since you're using EFI to boot.



    To find the UUID, execute the following:



    sudo grub-probe  --target=fs_UUID /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi





    share|improve this answer
























    • Hi Doug, thanks for your suggestion, I will try it once I get back home!

      – julumme
      Feb 24 '13 at 18:08



















    0














    The problem is that you are already setting your root to '(hd0,gpt1)' which I presume is (your /boot/efi directory) where your grub is.



    Hence then writing /boot/efi/... is equivalent to writing /boot/efi/boot/efi... which most probably does not exist.



    You should change /boot/efi/EFI/... to just /EFI/...






    share|improve this answer


























    • Please use a bit of formatting to facilitate reading your answer

      – ddnomad
      Jun 15 '17 at 20:30



















    0














    I currently was facing the same issue but could figure out that the cause was the wrong result of the hint grub command. Actually, it was passing me the wrong path for the .efi file.



    I have two disks here and the grub was listing them as hd1 and hd2. I could figure out just using the grub command with option pressing 'c' on the grub screen and executing a ls afterwards.



    It lists all the gpt partitions and the corresponding disks, since I have different partitions on both disks I could easily identify where was my efi file and then it was just a matter of changing the location of the grub entries to the correct partition where my efi file was residing in.



    Notice that the chainloader path must correspond to the path without the mounting point. You can check this using the disks utility on Ubuntu !



    Now I'm having just an error saying the search type is unspecified but the boot brings me the windows loader with no problem.



    Regarding your question why you hit the windows loader when exiting the grub I suppose it is simple, your motherboard boot options have the windows uefi loader as the next option when grub is bypassed.






    share|improve this answer





















    • 1





      Answers should address the question of the original poster. This isn't meant to be like a forum. Please rephrase your answer so that it's more specific to the OP's question or delete it.

      – slm
      Feb 9 '13 at 15:58












    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
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f61880%2fdual-booting-ubuntu-and-windows-8-w8-boots-through-grub-shell-but-not-from-men%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    4 Answers
    4






    active

    oldest

    votes








    4 Answers
    4






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Have a look at refind, it's pretty useful and slick (and does boot win8 in my tests performed while adding UEFI support to ALT Linux).



    It's not a boot loader but rather a boot manager so it will allow you to choose between WBM and GRUB with both being able to actually chainload the (in)appropriate kernel.






    share|improve this answer




























      0














      Have a look at refind, it's pretty useful and slick (and does boot win8 in my tests performed while adding UEFI support to ALT Linux).



      It's not a boot loader but rather a boot manager so it will allow you to choose between WBM and GRUB with both being able to actually chainload the (in)appropriate kernel.






      share|improve this answer


























        0












        0








        0







        Have a look at refind, it's pretty useful and slick (and does boot win8 in my tests performed while adding UEFI support to ALT Linux).



        It's not a boot loader but rather a boot manager so it will allow you to choose between WBM and GRUB with both being able to actually chainload the (in)appropriate kernel.






        share|improve this answer













        Have a look at refind, it's pretty useful and slick (and does boot win8 in my tests performed while adding UEFI support to ALT Linux).



        It's not a boot loader but rather a boot manager so it will allow you to choose between WBM and GRUB with both being able to actually chainload the (in)appropriate kernel.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 21 '13 at 11:30









        Michael ShigorinMichael Shigorin

        81969




        81969

























            0














            You need to supply the UUID of the SYSTEM device on your search line (at the end). And remove the --bios tag, since you're using EFI to boot.



            To find the UUID, execute the following:



            sudo grub-probe  --target=fs_UUID /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi





            share|improve this answer
























            • Hi Doug, thanks for your suggestion, I will try it once I get back home!

              – julumme
              Feb 24 '13 at 18:08
















            0














            You need to supply the UUID of the SYSTEM device on your search line (at the end). And remove the --bios tag, since you're using EFI to boot.



            To find the UUID, execute the following:



            sudo grub-probe  --target=fs_UUID /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi





            share|improve this answer
























            • Hi Doug, thanks for your suggestion, I will try it once I get back home!

              – julumme
              Feb 24 '13 at 18:08














            0












            0








            0







            You need to supply the UUID of the SYSTEM device on your search line (at the end). And remove the --bios tag, since you're using EFI to boot.



            To find the UUID, execute the following:



            sudo grub-probe  --target=fs_UUID /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi





            share|improve this answer













            You need to supply the UUID of the SYSTEM device on your search line (at the end). And remove the --bios tag, since you're using EFI to boot.



            To find the UUID, execute the following:



            sudo grub-probe  --target=fs_UUID /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Feb 19 '13 at 17:18









            DougDoug

            1




            1













            • Hi Doug, thanks for your suggestion, I will try it once I get back home!

              – julumme
              Feb 24 '13 at 18:08



















            • Hi Doug, thanks for your suggestion, I will try it once I get back home!

              – julumme
              Feb 24 '13 at 18:08

















            Hi Doug, thanks for your suggestion, I will try it once I get back home!

            – julumme
            Feb 24 '13 at 18:08





            Hi Doug, thanks for your suggestion, I will try it once I get back home!

            – julumme
            Feb 24 '13 at 18:08











            0














            The problem is that you are already setting your root to '(hd0,gpt1)' which I presume is (your /boot/efi directory) where your grub is.



            Hence then writing /boot/efi/... is equivalent to writing /boot/efi/boot/efi... which most probably does not exist.



            You should change /boot/efi/EFI/... to just /EFI/...






            share|improve this answer


























            • Please use a bit of formatting to facilitate reading your answer

              – ddnomad
              Jun 15 '17 at 20:30
















            0














            The problem is that you are already setting your root to '(hd0,gpt1)' which I presume is (your /boot/efi directory) where your grub is.



            Hence then writing /boot/efi/... is equivalent to writing /boot/efi/boot/efi... which most probably does not exist.



            You should change /boot/efi/EFI/... to just /EFI/...






            share|improve this answer


























            • Please use a bit of formatting to facilitate reading your answer

              – ddnomad
              Jun 15 '17 at 20:30














            0












            0








            0







            The problem is that you are already setting your root to '(hd0,gpt1)' which I presume is (your /boot/efi directory) where your grub is.



            Hence then writing /boot/efi/... is equivalent to writing /boot/efi/boot/efi... which most probably does not exist.



            You should change /boot/efi/EFI/... to just /EFI/...






            share|improve this answer















            The problem is that you are already setting your root to '(hd0,gpt1)' which I presume is (your /boot/efi directory) where your grub is.



            Hence then writing /boot/efi/... is equivalent to writing /boot/efi/boot/efi... which most probably does not exist.



            You should change /boot/efi/EFI/... to just /EFI/...







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jun 15 '17 at 20:33









            Stephen Rauch

            3,348101529




            3,348101529










            answered Jun 15 '17 at 20:06









            coolsiddcoolsidd

            1




            1













            • Please use a bit of formatting to facilitate reading your answer

              – ddnomad
              Jun 15 '17 at 20:30



















            • Please use a bit of formatting to facilitate reading your answer

              – ddnomad
              Jun 15 '17 at 20:30

















            Please use a bit of formatting to facilitate reading your answer

            – ddnomad
            Jun 15 '17 at 20:30





            Please use a bit of formatting to facilitate reading your answer

            – ddnomad
            Jun 15 '17 at 20:30











            0














            I currently was facing the same issue but could figure out that the cause was the wrong result of the hint grub command. Actually, it was passing me the wrong path for the .efi file.



            I have two disks here and the grub was listing them as hd1 and hd2. I could figure out just using the grub command with option pressing 'c' on the grub screen and executing a ls afterwards.



            It lists all the gpt partitions and the corresponding disks, since I have different partitions on both disks I could easily identify where was my efi file and then it was just a matter of changing the location of the grub entries to the correct partition where my efi file was residing in.



            Notice that the chainloader path must correspond to the path without the mounting point. You can check this using the disks utility on Ubuntu !



            Now I'm having just an error saying the search type is unspecified but the boot brings me the windows loader with no problem.



            Regarding your question why you hit the windows loader when exiting the grub I suppose it is simple, your motherboard boot options have the windows uefi loader as the next option when grub is bypassed.






            share|improve this answer





















            • 1





              Answers should address the question of the original poster. This isn't meant to be like a forum. Please rephrase your answer so that it's more specific to the OP's question or delete it.

              – slm
              Feb 9 '13 at 15:58
















            0














            I currently was facing the same issue but could figure out that the cause was the wrong result of the hint grub command. Actually, it was passing me the wrong path for the .efi file.



            I have two disks here and the grub was listing them as hd1 and hd2. I could figure out just using the grub command with option pressing 'c' on the grub screen and executing a ls afterwards.



            It lists all the gpt partitions and the corresponding disks, since I have different partitions on both disks I could easily identify where was my efi file and then it was just a matter of changing the location of the grub entries to the correct partition where my efi file was residing in.



            Notice that the chainloader path must correspond to the path without the mounting point. You can check this using the disks utility on Ubuntu !



            Now I'm having just an error saying the search type is unspecified but the boot brings me the windows loader with no problem.



            Regarding your question why you hit the windows loader when exiting the grub I suppose it is simple, your motherboard boot options have the windows uefi loader as the next option when grub is bypassed.






            share|improve this answer





















            • 1





              Answers should address the question of the original poster. This isn't meant to be like a forum. Please rephrase your answer so that it's more specific to the OP's question or delete it.

              – slm
              Feb 9 '13 at 15:58














            0












            0








            0







            I currently was facing the same issue but could figure out that the cause was the wrong result of the hint grub command. Actually, it was passing me the wrong path for the .efi file.



            I have two disks here and the grub was listing them as hd1 and hd2. I could figure out just using the grub command with option pressing 'c' on the grub screen and executing a ls afterwards.



            It lists all the gpt partitions and the corresponding disks, since I have different partitions on both disks I could easily identify where was my efi file and then it was just a matter of changing the location of the grub entries to the correct partition where my efi file was residing in.



            Notice that the chainloader path must correspond to the path without the mounting point. You can check this using the disks utility on Ubuntu !



            Now I'm having just an error saying the search type is unspecified but the boot brings me the windows loader with no problem.



            Regarding your question why you hit the windows loader when exiting the grub I suppose it is simple, your motherboard boot options have the windows uefi loader as the next option when grub is bypassed.






            share|improve this answer















            I currently was facing the same issue but could figure out that the cause was the wrong result of the hint grub command. Actually, it was passing me the wrong path for the .efi file.



            I have two disks here and the grub was listing them as hd1 and hd2. I could figure out just using the grub command with option pressing 'c' on the grub screen and executing a ls afterwards.



            It lists all the gpt partitions and the corresponding disks, since I have different partitions on both disks I could easily identify where was my efi file and then it was just a matter of changing the location of the grub entries to the correct partition where my efi file was residing in.



            Notice that the chainloader path must correspond to the path without the mounting point. You can check this using the disks utility on Ubuntu !



            Now I'm having just an error saying the search type is unspecified but the boot brings me the windows loader with no problem.



            Regarding your question why you hit the windows loader when exiting the grub I suppose it is simple, your motherboard boot options have the windows uefi loader as the next option when grub is bypassed.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Apr 6 at 2:08









            Rui F Ribeiro

            42.6k1486146




            42.6k1486146










            answered Feb 9 '13 at 15:37









            TiagoTiago

            1




            1








            • 1





              Answers should address the question of the original poster. This isn't meant to be like a forum. Please rephrase your answer so that it's more specific to the OP's question or delete it.

              – slm
              Feb 9 '13 at 15:58














            • 1





              Answers should address the question of the original poster. This isn't meant to be like a forum. Please rephrase your answer so that it's more specific to the OP's question or delete it.

              – slm
              Feb 9 '13 at 15:58








            1




            1





            Answers should address the question of the original poster. This isn't meant to be like a forum. Please rephrase your answer so that it's more specific to the OP's question or delete it.

            – slm
            Feb 9 '13 at 15:58





            Answers should address the question of the original poster. This isn't meant to be like a forum. Please rephrase your answer so that it's more specific to the OP's question or delete it.

            – slm
            Feb 9 '13 at 15:58


















            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f61880%2fdual-booting-ubuntu-and-windows-8-w8-boots-through-grub-shell-but-not-from-men%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

            Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

            Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

            Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...