18.04 dual boot showing grub2 manual











up vote
0
down vote

favorite












Did a fresh install of 18.04 alongside Windows 10 (UEFI). Now my system boots only into grub2 commandline.



I am able to boot into both windows by executing




> chainloader (hd0,gpt1)/efi/Microsoft/bootmfgw.efi




and ubuntu by executing




> set prefix=(hd0,gpt6)/boot/grub



> set root=(hd0,gpt6)



> insmod linux



> insmod normal



> normal




I ran grub-install, boot repair several times after booting into ubuntu, but to no effect.
I still keep booting into grub commandline.



Any help is appreciated.
Boot repair pastebin - http://paste.ubuntu.com/p/64X9XmshBJ



Screenshot of gparted -
enter image description here



Edit -
** tried these and did not work**:




  • grub-install with grub-efi-amd4


  • grub install from live usb


  • boot-repair from live usb or ubuntu


  • fresh install of 18.04 again lands in grub manual











share|improve this question
























  • once you are in Ubuntu with above commands, can you provide a pic after opening "GParted"
    – PRATAP
    Jul 10 at 16:08










  • @PRATAP Screenshot of gparted drive.google.com/file/d/1dX_aCj9LK9bi8XuKO9SVLndlCUeOuaCL/…
    – jayendra.rakesh
    Jul 10 at 16:15












  • also dump of one of the boot-repair attempts - paste.ubuntu.com/p/64X9XmshBJ
    – jayendra.rakesh
    Jul 10 at 16:19










  • can you click on sda2 "red color alert" and paste the error?
    – PRATAP
    Jul 10 at 16:21












  • It says warning ! - Unable to detect file system! Possible reasons are: - The file system is damaged - The file system is unknown to GParted - There is no file system available (unformatted) - The device entry /dev/sda2 is missing
    – jayendra.rakesh
    Jul 10 at 16:24

















up vote
0
down vote

favorite












Did a fresh install of 18.04 alongside Windows 10 (UEFI). Now my system boots only into grub2 commandline.



I am able to boot into both windows by executing




> chainloader (hd0,gpt1)/efi/Microsoft/bootmfgw.efi




and ubuntu by executing




> set prefix=(hd0,gpt6)/boot/grub



> set root=(hd0,gpt6)



> insmod linux



> insmod normal



> normal




I ran grub-install, boot repair several times after booting into ubuntu, but to no effect.
I still keep booting into grub commandline.



Any help is appreciated.
Boot repair pastebin - http://paste.ubuntu.com/p/64X9XmshBJ



Screenshot of gparted -
enter image description here



Edit -
** tried these and did not work**:




  • grub-install with grub-efi-amd4


  • grub install from live usb


  • boot-repair from live usb or ubuntu


  • fresh install of 18.04 again lands in grub manual











share|improve this question
























  • once you are in Ubuntu with above commands, can you provide a pic after opening "GParted"
    – PRATAP
    Jul 10 at 16:08










  • @PRATAP Screenshot of gparted drive.google.com/file/d/1dX_aCj9LK9bi8XuKO9SVLndlCUeOuaCL/…
    – jayendra.rakesh
    Jul 10 at 16:15












  • also dump of one of the boot-repair attempts - paste.ubuntu.com/p/64X9XmshBJ
    – jayendra.rakesh
    Jul 10 at 16:19










  • can you click on sda2 "red color alert" and paste the error?
    – PRATAP
    Jul 10 at 16:21












  • It says warning ! - Unable to detect file system! Possible reasons are: - The file system is damaged - The file system is unknown to GParted - There is no file system available (unformatted) - The device entry /dev/sda2 is missing
    – jayendra.rakesh
    Jul 10 at 16:24















up vote
0
down vote

favorite









up vote
0
down vote

favorite











Did a fresh install of 18.04 alongside Windows 10 (UEFI). Now my system boots only into grub2 commandline.



I am able to boot into both windows by executing




> chainloader (hd0,gpt1)/efi/Microsoft/bootmfgw.efi




and ubuntu by executing




> set prefix=(hd0,gpt6)/boot/grub



> set root=(hd0,gpt6)



> insmod linux



> insmod normal



> normal




I ran grub-install, boot repair several times after booting into ubuntu, but to no effect.
I still keep booting into grub commandline.



Any help is appreciated.
Boot repair pastebin - http://paste.ubuntu.com/p/64X9XmshBJ



Screenshot of gparted -
enter image description here



Edit -
** tried these and did not work**:




  • grub-install with grub-efi-amd4


  • grub install from live usb


  • boot-repair from live usb or ubuntu


  • fresh install of 18.04 again lands in grub manual











share|improve this question















Did a fresh install of 18.04 alongside Windows 10 (UEFI). Now my system boots only into grub2 commandline.



I am able to boot into both windows by executing




> chainloader (hd0,gpt1)/efi/Microsoft/bootmfgw.efi




and ubuntu by executing




> set prefix=(hd0,gpt6)/boot/grub



> set root=(hd0,gpt6)



> insmod linux



> insmod normal



> normal




I ran grub-install, boot repair several times after booting into ubuntu, but to no effect.
I still keep booting into grub commandline.



Any help is appreciated.
Boot repair pastebin - http://paste.ubuntu.com/p/64X9XmshBJ



Screenshot of gparted -
enter image description here



Edit -
** tried these and did not work**:




  • grub-install with grub-efi-amd4


  • grub install from live usb


  • boot-repair from live usb or ubuntu


  • fresh install of 18.04 again lands in grub manual








dual-boot grub2 uefi 18.04 grub-efi






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 10 at 18:35

























asked Jul 10 at 16:05









jayendra.rakesh

12




12












  • once you are in Ubuntu with above commands, can you provide a pic after opening "GParted"
    – PRATAP
    Jul 10 at 16:08










  • @PRATAP Screenshot of gparted drive.google.com/file/d/1dX_aCj9LK9bi8XuKO9SVLndlCUeOuaCL/…
    – jayendra.rakesh
    Jul 10 at 16:15












  • also dump of one of the boot-repair attempts - paste.ubuntu.com/p/64X9XmshBJ
    – jayendra.rakesh
    Jul 10 at 16:19










  • can you click on sda2 "red color alert" and paste the error?
    – PRATAP
    Jul 10 at 16:21












  • It says warning ! - Unable to detect file system! Possible reasons are: - The file system is damaged - The file system is unknown to GParted - There is no file system available (unformatted) - The device entry /dev/sda2 is missing
    – jayendra.rakesh
    Jul 10 at 16:24




















  • once you are in Ubuntu with above commands, can you provide a pic after opening "GParted"
    – PRATAP
    Jul 10 at 16:08










  • @PRATAP Screenshot of gparted drive.google.com/file/d/1dX_aCj9LK9bi8XuKO9SVLndlCUeOuaCL/…
    – jayendra.rakesh
    Jul 10 at 16:15












  • also dump of one of the boot-repair attempts - paste.ubuntu.com/p/64X9XmshBJ
    – jayendra.rakesh
    Jul 10 at 16:19










  • can you click on sda2 "red color alert" and paste the error?
    – PRATAP
    Jul 10 at 16:21












  • It says warning ! - Unable to detect file system! Possible reasons are: - The file system is damaged - The file system is unknown to GParted - There is no file system available (unformatted) - The device entry /dev/sda2 is missing
    – jayendra.rakesh
    Jul 10 at 16:24


















once you are in Ubuntu with above commands, can you provide a pic after opening "GParted"
– PRATAP
Jul 10 at 16:08




once you are in Ubuntu with above commands, can you provide a pic after opening "GParted"
– PRATAP
Jul 10 at 16:08












@PRATAP Screenshot of gparted drive.google.com/file/d/1dX_aCj9LK9bi8XuKO9SVLndlCUeOuaCL/…
– jayendra.rakesh
Jul 10 at 16:15






@PRATAP Screenshot of gparted drive.google.com/file/d/1dX_aCj9LK9bi8XuKO9SVLndlCUeOuaCL/…
– jayendra.rakesh
Jul 10 at 16:15














also dump of one of the boot-repair attempts - paste.ubuntu.com/p/64X9XmshBJ
– jayendra.rakesh
Jul 10 at 16:19




also dump of one of the boot-repair attempts - paste.ubuntu.com/p/64X9XmshBJ
– jayendra.rakesh
Jul 10 at 16:19












can you click on sda2 "red color alert" and paste the error?
– PRATAP
Jul 10 at 16:21






can you click on sda2 "red color alert" and paste the error?
– PRATAP
Jul 10 at 16:21














It says warning ! - Unable to detect file system! Possible reasons are: - The file system is damaged - The file system is unknown to GParted - There is no file system available (unformatted) - The device entry /dev/sda2 is missing
– jayendra.rakesh
Jul 10 at 16:24






It says warning ! - Unable to detect file system! Possible reasons are: - The file system is damaged - The file system is unknown to GParted - There is no file system available (unformatted) - The device entry /dev/sda2 is missing
– jayendra.rakesh
Jul 10 at 16:24












1 Answer
1






active

oldest

votes

















up vote
0
down vote













When using windows 10 on sda3
and you install and boot ubuntu 18.04



sudo blkid
(read uuid from /dev/sda3, used below as uuid_read_above)

sudo nano /etc/default/grub
(add line to the end of the file:)
GRUB_PRELOAD_MODULES="part_msdos"
sudo update-grub

sudo nano /etc/grub.d/40_custom
(add these lines to the end of the file:)
menuentry "Windows 10" {
insmod ntfs
set root='(hd0,3)'
search --no-floppy --fs-uuid --set uuid_read_above
ntldr /bootmgr
chainloader +1
}
sudo update-grub

sudo grub-install /dev/sda
sudo update-grub


exit and boot from hdd, should see menu with "Windows 10"



boot dual-boot grub2 uefi 18.04 grub-efi grub-pc windows-10 ntfs






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',
    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%2f1053922%2f18-04-dual-boot-showing-grub2-manual%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








    up vote
    0
    down vote













    When using windows 10 on sda3
    and you install and boot ubuntu 18.04



    sudo blkid
    (read uuid from /dev/sda3, used below as uuid_read_above)

    sudo nano /etc/default/grub
    (add line to the end of the file:)
    GRUB_PRELOAD_MODULES="part_msdos"
    sudo update-grub

    sudo nano /etc/grub.d/40_custom
    (add these lines to the end of the file:)
    menuentry "Windows 10" {
    insmod ntfs
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set uuid_read_above
    ntldr /bootmgr
    chainloader +1
    }
    sudo update-grub

    sudo grub-install /dev/sda
    sudo update-grub


    exit and boot from hdd, should see menu with "Windows 10"



    boot dual-boot grub2 uefi 18.04 grub-efi grub-pc windows-10 ntfs






    share|improve this answer



























      up vote
      0
      down vote













      When using windows 10 on sda3
      and you install and boot ubuntu 18.04



      sudo blkid
      (read uuid from /dev/sda3, used below as uuid_read_above)

      sudo nano /etc/default/grub
      (add line to the end of the file:)
      GRUB_PRELOAD_MODULES="part_msdos"
      sudo update-grub

      sudo nano /etc/grub.d/40_custom
      (add these lines to the end of the file:)
      menuentry "Windows 10" {
      insmod ntfs
      set root='(hd0,3)'
      search --no-floppy --fs-uuid --set uuid_read_above
      ntldr /bootmgr
      chainloader +1
      }
      sudo update-grub

      sudo grub-install /dev/sda
      sudo update-grub


      exit and boot from hdd, should see menu with "Windows 10"



      boot dual-boot grub2 uefi 18.04 grub-efi grub-pc windows-10 ntfs






      share|improve this answer

























        up vote
        0
        down vote










        up vote
        0
        down vote









        When using windows 10 on sda3
        and you install and boot ubuntu 18.04



        sudo blkid
        (read uuid from /dev/sda3, used below as uuid_read_above)

        sudo nano /etc/default/grub
        (add line to the end of the file:)
        GRUB_PRELOAD_MODULES="part_msdos"
        sudo update-grub

        sudo nano /etc/grub.d/40_custom
        (add these lines to the end of the file:)
        menuentry "Windows 10" {
        insmod ntfs
        set root='(hd0,3)'
        search --no-floppy --fs-uuid --set uuid_read_above
        ntldr /bootmgr
        chainloader +1
        }
        sudo update-grub

        sudo grub-install /dev/sda
        sudo update-grub


        exit and boot from hdd, should see menu with "Windows 10"



        boot dual-boot grub2 uefi 18.04 grub-efi grub-pc windows-10 ntfs






        share|improve this answer














        When using windows 10 on sda3
        and you install and boot ubuntu 18.04



        sudo blkid
        (read uuid from /dev/sda3, used below as uuid_read_above)

        sudo nano /etc/default/grub
        (add line to the end of the file:)
        GRUB_PRELOAD_MODULES="part_msdos"
        sudo update-grub

        sudo nano /etc/grub.d/40_custom
        (add these lines to the end of the file:)
        menuentry "Windows 10" {
        insmod ntfs
        set root='(hd0,3)'
        search --no-floppy --fs-uuid --set uuid_read_above
        ntldr /bootmgr
        chainloader +1
        }
        sudo update-grub

        sudo grub-install /dev/sda
        sudo update-grub


        exit and boot from hdd, should see menu with "Windows 10"



        boot dual-boot grub2 uefi 18.04 grub-efi grub-pc windows-10 ntfs







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Dec 2 at 19:20

























        answered Dec 2 at 18:26









        Carlos M.

        11




        11






























            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.





            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%2faskubuntu.com%2fquestions%2f1053922%2f18-04-dual-boot-showing-grub2-manual%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

            Mouse cursor on multiple screens with different PPI

            Agildo Ribeiro

            Sometime when accessing a menu: “Ubuntu 16.04 has experienced an internal error”