Dual boot Windows 10-Ubuntu - Grub, os-prober not detecting Windows 10 partition












1















Got my Dell XPS 9560 replaced by warranty after motherboard on previous one went bad. Took out the HDD on the new unit and swapped it out with SSD in previous unit. In the past when swapping out hard drives, if the computer didn't boot to grub, I'd just boot to Ubuntu Live USB and run boot-repair. It would detect all OSes and repair grub, etc. This time however it only detected the Ubuntu partition on the SSD, not the Windows partition. os-prober returns nothing. I can mount and read and write to Windows partition just fine from Ubuntu. Since I've simply used boot-repair in the past I'm pretty unfamiliar with EFI, grub, boot flags/required partitions, etc. Here is output from fdisk -l:



Device          Start        End   Sectors   Size Type
/dev/sdb1 2048 34815 32768 16M Microsoft reserved
/dev/sdb2 34816 748181142 748146327 356.8G Microsoft basic data
/dev/sdb3 748181504 749150207 968704 473M Windows recovery environment
/dev/sdb4 749152256 750200831 1048576 512M EFI System
/dev/sdb5 750200832 1448673279 698472448 333.1G Linux filesystem
/dev/sdb6 1448673280 1465147391 16474112 7.9G Linux swap
/dev/sdb7 749150208 749152255 2048 1M BIOS boot

Partition table entries are not in disk order.









share|improve this question














bumped to the homepage by Community 11 mins ago


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
















  • You can use windows iso to repair the windows boot manager

    – Arpit Agarwal
    Dec 22 '17 at 22:08
















1















Got my Dell XPS 9560 replaced by warranty after motherboard on previous one went bad. Took out the HDD on the new unit and swapped it out with SSD in previous unit. In the past when swapping out hard drives, if the computer didn't boot to grub, I'd just boot to Ubuntu Live USB and run boot-repair. It would detect all OSes and repair grub, etc. This time however it only detected the Ubuntu partition on the SSD, not the Windows partition. os-prober returns nothing. I can mount and read and write to Windows partition just fine from Ubuntu. Since I've simply used boot-repair in the past I'm pretty unfamiliar with EFI, grub, boot flags/required partitions, etc. Here is output from fdisk -l:



Device          Start        End   Sectors   Size Type
/dev/sdb1 2048 34815 32768 16M Microsoft reserved
/dev/sdb2 34816 748181142 748146327 356.8G Microsoft basic data
/dev/sdb3 748181504 749150207 968704 473M Windows recovery environment
/dev/sdb4 749152256 750200831 1048576 512M EFI System
/dev/sdb5 750200832 1448673279 698472448 333.1G Linux filesystem
/dev/sdb6 1448673280 1465147391 16474112 7.9G Linux swap
/dev/sdb7 749150208 749152255 2048 1M BIOS boot

Partition table entries are not in disk order.









share|improve this question














bumped to the homepage by Community 11 mins ago


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
















  • You can use windows iso to repair the windows boot manager

    – Arpit Agarwal
    Dec 22 '17 at 22:08














1












1








1








Got my Dell XPS 9560 replaced by warranty after motherboard on previous one went bad. Took out the HDD on the new unit and swapped it out with SSD in previous unit. In the past when swapping out hard drives, if the computer didn't boot to grub, I'd just boot to Ubuntu Live USB and run boot-repair. It would detect all OSes and repair grub, etc. This time however it only detected the Ubuntu partition on the SSD, not the Windows partition. os-prober returns nothing. I can mount and read and write to Windows partition just fine from Ubuntu. Since I've simply used boot-repair in the past I'm pretty unfamiliar with EFI, grub, boot flags/required partitions, etc. Here is output from fdisk -l:



Device          Start        End   Sectors   Size Type
/dev/sdb1 2048 34815 32768 16M Microsoft reserved
/dev/sdb2 34816 748181142 748146327 356.8G Microsoft basic data
/dev/sdb3 748181504 749150207 968704 473M Windows recovery environment
/dev/sdb4 749152256 750200831 1048576 512M EFI System
/dev/sdb5 750200832 1448673279 698472448 333.1G Linux filesystem
/dev/sdb6 1448673280 1465147391 16474112 7.9G Linux swap
/dev/sdb7 749150208 749152255 2048 1M BIOS boot

Partition table entries are not in disk order.









share|improve this question














Got my Dell XPS 9560 replaced by warranty after motherboard on previous one went bad. Took out the HDD on the new unit and swapped it out with SSD in previous unit. In the past when swapping out hard drives, if the computer didn't boot to grub, I'd just boot to Ubuntu Live USB and run boot-repair. It would detect all OSes and repair grub, etc. This time however it only detected the Ubuntu partition on the SSD, not the Windows partition. os-prober returns nothing. I can mount and read and write to Windows partition just fine from Ubuntu. Since I've simply used boot-repair in the past I'm pretty unfamiliar with EFI, grub, boot flags/required partitions, etc. Here is output from fdisk -l:



Device          Start        End   Sectors   Size Type
/dev/sdb1 2048 34815 32768 16M Microsoft reserved
/dev/sdb2 34816 748181142 748146327 356.8G Microsoft basic data
/dev/sdb3 748181504 749150207 968704 473M Windows recovery environment
/dev/sdb4 749152256 750200831 1048576 512M EFI System
/dev/sdb5 750200832 1448673279 698472448 333.1G Linux filesystem
/dev/sdb6 1448673280 1465147391 16474112 7.9G Linux swap
/dev/sdb7 749150208 749152255 2048 1M BIOS boot

Partition table entries are not in disk order.






ubuntu windows grub2 dual-boot uefi






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 22 '17 at 14:55









pornstachepornstache

62




62





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


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















  • You can use windows iso to repair the windows boot manager

    – Arpit Agarwal
    Dec 22 '17 at 22:08



















  • You can use windows iso to repair the windows boot manager

    – Arpit Agarwal
    Dec 22 '17 at 22:08

















You can use windows iso to repair the windows boot manager

– Arpit Agarwal
Dec 22 '17 at 22:08





You can use windows iso to repair the windows boot manager

– Arpit Agarwal
Dec 22 '17 at 22:08










1 Answer
1






active

oldest

votes


















0














Try one of the following :




  1. From a live-cd run "sudo dd if=/usr/lib/syslinux/mbr/mbr.bin of=/dev/sdb

  2. Run form Microsoft Windows iso image, "lets say Windows 7" go to the rapir and get into the CMD and run this command.
    x:sourcebootrec /fixboot


Regards,
Mahmood Shehab






share|improve this answer























    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%2f412523%2fdual-boot-windows-10-ubuntu-grub-os-prober-not-detecting-windows-10-partition%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Try one of the following :




    1. From a live-cd run "sudo dd if=/usr/lib/syslinux/mbr/mbr.bin of=/dev/sdb

    2. Run form Microsoft Windows iso image, "lets say Windows 7" go to the rapir and get into the CMD and run this command.
      x:sourcebootrec /fixboot


    Regards,
    Mahmood Shehab






    share|improve this answer




























      0














      Try one of the following :




      1. From a live-cd run "sudo dd if=/usr/lib/syslinux/mbr/mbr.bin of=/dev/sdb

      2. Run form Microsoft Windows iso image, "lets say Windows 7" go to the rapir and get into the CMD and run this command.
        x:sourcebootrec /fixboot


      Regards,
      Mahmood Shehab






      share|improve this answer


























        0












        0








        0







        Try one of the following :




        1. From a live-cd run "sudo dd if=/usr/lib/syslinux/mbr/mbr.bin of=/dev/sdb

        2. Run form Microsoft Windows iso image, "lets say Windows 7" go to the rapir and get into the CMD and run this command.
          x:sourcebootrec /fixboot


        Regards,
        Mahmood Shehab






        share|improve this answer













        Try one of the following :




        1. From a live-cd run "sudo dd if=/usr/lib/syslinux/mbr/mbr.bin of=/dev/sdb

        2. Run form Microsoft Windows iso image, "lets say Windows 7" go to the rapir and get into the CMD and run this command.
          x:sourcebootrec /fixboot


        Regards,
        Mahmood Shehab







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 28 '17 at 5:48









        Mahmood ShehabMahmood Shehab

        111




        111






























            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%2f412523%2fdual-boot-windows-10-ubuntu-grub-os-prober-not-detecting-windows-10-partition%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

            サソリ

            広島県道265号伴広島線

            Accessing regular linux commands in Huawei's Dopra Linux