GRUB failed to install after GRUB Rescue












1















I created a new partition on Windows from unallocated space (I already had 4 primary partitions, so it seems it created a dynamic partition), then when I reboot I enter in the GRUB Rescue.



I used instmod and then I could boot to Ubuntu.



I tried to install GRUB with boot-repair and from command line



Using boot repair



First I get the error



SFS detected. You may want to retry after converting Windows dynamic partitioning (SFS partitions) to a basic disk


Then I just continued with boot repair and



GRUB failed to install to the following devices:

/dev/sda


Command line



sudo update-grub
sudo grub-install dev/sda


I get the same GRUB failed to install as I mentioned above



Using bootable usb



I tried boot repair and I get the same errors as when using it on PC.



Windows is not booting, when trying I get:



error: device format "lad/a1eb ... /volume1" invalid must be (f|h)dN with 0<=N<128


My HD:



enter image description here










share|improve this question

























  • SFS is Windows proprietary dynamic partitioning which does not work with Linux. Do not create partitions with Windows if you have used all 4 primary partitions. Best to just undo, but Microsoft makes it easy to create dynamic but has no undo. Some third party tools may work, but good backups required. askubuntu.com/questions/482768/… and:ubuntuforums.org/… There is a new ldmtool that may let you see partitions.

    – oldfred
    Nov 20 '16 at 19:36













  • Just to add, before it everything: Windows and 2 Ubuntus were working fine. After I allocated one partition, everything started.

    – Vitor Abella
    Nov 20 '16 at 19:39











  • Mistake was adding partition using Windows, not gparted. But if you had made a new logical it would have been ok. Windows tools for Windows & Linux tools for Linux.

    – oldfred
    Nov 20 '16 at 19:47













  • @oldfred I couldn't add a partition with gparted because it said I already had 4, then I tried with windows... and my objective was to use this partition with windows, not ubuntu.

    – Vitor Abella
    Nov 20 '16 at 19:49













  • @oldfred do you think if I unallocate all sda4 (see figure) it will boot normally? I have backup and I think it is easier to unallocate and install windows than undoing dynamic disk.

    – Vitor Abella
    Nov 20 '16 at 19:55


















1















I created a new partition on Windows from unallocated space (I already had 4 primary partitions, so it seems it created a dynamic partition), then when I reboot I enter in the GRUB Rescue.



I used instmod and then I could boot to Ubuntu.



I tried to install GRUB with boot-repair and from command line



Using boot repair



First I get the error



SFS detected. You may want to retry after converting Windows dynamic partitioning (SFS partitions) to a basic disk


Then I just continued with boot repair and



GRUB failed to install to the following devices:

/dev/sda


Command line



sudo update-grub
sudo grub-install dev/sda


I get the same GRUB failed to install as I mentioned above



Using bootable usb



I tried boot repair and I get the same errors as when using it on PC.



Windows is not booting, when trying I get:



error: device format "lad/a1eb ... /volume1" invalid must be (f|h)dN with 0<=N<128


My HD:



enter image description here










share|improve this question

























  • SFS is Windows proprietary dynamic partitioning which does not work with Linux. Do not create partitions with Windows if you have used all 4 primary partitions. Best to just undo, but Microsoft makes it easy to create dynamic but has no undo. Some third party tools may work, but good backups required. askubuntu.com/questions/482768/… and:ubuntuforums.org/… There is a new ldmtool that may let you see partitions.

    – oldfred
    Nov 20 '16 at 19:36













  • Just to add, before it everything: Windows and 2 Ubuntus were working fine. After I allocated one partition, everything started.

    – Vitor Abella
    Nov 20 '16 at 19:39











  • Mistake was adding partition using Windows, not gparted. But if you had made a new logical it would have been ok. Windows tools for Windows & Linux tools for Linux.

    – oldfred
    Nov 20 '16 at 19:47













  • @oldfred I couldn't add a partition with gparted because it said I already had 4, then I tried with windows... and my objective was to use this partition with windows, not ubuntu.

    – Vitor Abella
    Nov 20 '16 at 19:49













  • @oldfred do you think if I unallocate all sda4 (see figure) it will boot normally? I have backup and I think it is easier to unallocate and install windows than undoing dynamic disk.

    – Vitor Abella
    Nov 20 '16 at 19:55
















1












1








1








I created a new partition on Windows from unallocated space (I already had 4 primary partitions, so it seems it created a dynamic partition), then when I reboot I enter in the GRUB Rescue.



I used instmod and then I could boot to Ubuntu.



I tried to install GRUB with boot-repair and from command line



Using boot repair



First I get the error



SFS detected. You may want to retry after converting Windows dynamic partitioning (SFS partitions) to a basic disk


Then I just continued with boot repair and



GRUB failed to install to the following devices:

/dev/sda


Command line



sudo update-grub
sudo grub-install dev/sda


I get the same GRUB failed to install as I mentioned above



Using bootable usb



I tried boot repair and I get the same errors as when using it on PC.



Windows is not booting, when trying I get:



error: device format "lad/a1eb ... /volume1" invalid must be (f|h)dN with 0<=N<128


My HD:



enter image description here










share|improve this question
















I created a new partition on Windows from unallocated space (I already had 4 primary partitions, so it seems it created a dynamic partition), then when I reboot I enter in the GRUB Rescue.



I used instmod and then I could boot to Ubuntu.



I tried to install GRUB with boot-repair and from command line



Using boot repair



First I get the error



SFS detected. You may want to retry after converting Windows dynamic partitioning (SFS partitions) to a basic disk


Then I just continued with boot repair and



GRUB failed to install to the following devices:

/dev/sda


Command line



sudo update-grub
sudo grub-install dev/sda


I get the same GRUB failed to install as I mentioned above



Using bootable usb



I tried boot repair and I get the same errors as when using it on PC.



Windows is not booting, when trying I get:



error: device format "lad/a1eb ... /volume1" invalid must be (f|h)dN with 0<=N<128


My HD:



enter image description here







grub2 boot-repair






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 7 at 9:23









Codito ergo sum

1,5023825




1,5023825










asked Nov 20 '16 at 18:59









Vitor AbellaVitor Abella

2,712102763




2,712102763













  • SFS is Windows proprietary dynamic partitioning which does not work with Linux. Do not create partitions with Windows if you have used all 4 primary partitions. Best to just undo, but Microsoft makes it easy to create dynamic but has no undo. Some third party tools may work, but good backups required. askubuntu.com/questions/482768/… and:ubuntuforums.org/… There is a new ldmtool that may let you see partitions.

    – oldfred
    Nov 20 '16 at 19:36













  • Just to add, before it everything: Windows and 2 Ubuntus were working fine. After I allocated one partition, everything started.

    – Vitor Abella
    Nov 20 '16 at 19:39











  • Mistake was adding partition using Windows, not gparted. But if you had made a new logical it would have been ok. Windows tools for Windows & Linux tools for Linux.

    – oldfred
    Nov 20 '16 at 19:47













  • @oldfred I couldn't add a partition with gparted because it said I already had 4, then I tried with windows... and my objective was to use this partition with windows, not ubuntu.

    – Vitor Abella
    Nov 20 '16 at 19:49













  • @oldfred do you think if I unallocate all sda4 (see figure) it will boot normally? I have backup and I think it is easier to unallocate and install windows than undoing dynamic disk.

    – Vitor Abella
    Nov 20 '16 at 19:55





















  • SFS is Windows proprietary dynamic partitioning which does not work with Linux. Do not create partitions with Windows if you have used all 4 primary partitions. Best to just undo, but Microsoft makes it easy to create dynamic but has no undo. Some third party tools may work, but good backups required. askubuntu.com/questions/482768/… and:ubuntuforums.org/… There is a new ldmtool that may let you see partitions.

    – oldfred
    Nov 20 '16 at 19:36













  • Just to add, before it everything: Windows and 2 Ubuntus were working fine. After I allocated one partition, everything started.

    – Vitor Abella
    Nov 20 '16 at 19:39











  • Mistake was adding partition using Windows, not gparted. But if you had made a new logical it would have been ok. Windows tools for Windows & Linux tools for Linux.

    – oldfred
    Nov 20 '16 at 19:47













  • @oldfred I couldn't add a partition with gparted because it said I already had 4, then I tried with windows... and my objective was to use this partition with windows, not ubuntu.

    – Vitor Abella
    Nov 20 '16 at 19:49













  • @oldfred do you think if I unallocate all sda4 (see figure) it will boot normally? I have backup and I think it is easier to unallocate and install windows than undoing dynamic disk.

    – Vitor Abella
    Nov 20 '16 at 19:55



















SFS is Windows proprietary dynamic partitioning which does not work with Linux. Do not create partitions with Windows if you have used all 4 primary partitions. Best to just undo, but Microsoft makes it easy to create dynamic but has no undo. Some third party tools may work, but good backups required. askubuntu.com/questions/482768/… and:ubuntuforums.org/… There is a new ldmtool that may let you see partitions.

– oldfred
Nov 20 '16 at 19:36







SFS is Windows proprietary dynamic partitioning which does not work with Linux. Do not create partitions with Windows if you have used all 4 primary partitions. Best to just undo, but Microsoft makes it easy to create dynamic but has no undo. Some third party tools may work, but good backups required. askubuntu.com/questions/482768/… and:ubuntuforums.org/… There is a new ldmtool that may let you see partitions.

– oldfred
Nov 20 '16 at 19:36















Just to add, before it everything: Windows and 2 Ubuntus were working fine. After I allocated one partition, everything started.

– Vitor Abella
Nov 20 '16 at 19:39





Just to add, before it everything: Windows and 2 Ubuntus were working fine. After I allocated one partition, everything started.

– Vitor Abella
Nov 20 '16 at 19:39













Mistake was adding partition using Windows, not gparted. But if you had made a new logical it would have been ok. Windows tools for Windows & Linux tools for Linux.

– oldfred
Nov 20 '16 at 19:47







Mistake was adding partition using Windows, not gparted. But if you had made a new logical it would have been ok. Windows tools for Windows & Linux tools for Linux.

– oldfred
Nov 20 '16 at 19:47















@oldfred I couldn't add a partition with gparted because it said I already had 4, then I tried with windows... and my objective was to use this partition with windows, not ubuntu.

– Vitor Abella
Nov 20 '16 at 19:49







@oldfred I couldn't add a partition with gparted because it said I already had 4, then I tried with windows... and my objective was to use this partition with windows, not ubuntu.

– Vitor Abella
Nov 20 '16 at 19:49















@oldfred do you think if I unallocate all sda4 (see figure) it will boot normally? I have backup and I think it is easier to unallocate and install windows than undoing dynamic disk.

– Vitor Abella
Nov 20 '16 at 19:55







@oldfred do you think if I unallocate all sda4 (see figure) it will boot normally? I have backup and I think it is easier to unallocate and install windows than undoing dynamic disk.

– Vitor Abella
Nov 20 '16 at 19:55












1 Answer
1






active

oldest

votes


















0














What I did: I formated the disk and installed everything again. As I had backup of windows partition, it was just time loss.






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%2f851625%2fgrub-failed-to-install-after-grub-rescue%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














    What I did: I formated the disk and installed everything again. As I had backup of windows partition, it was just time loss.






    share|improve this answer




























      0














      What I did: I formated the disk and installed everything again. As I had backup of windows partition, it was just time loss.






      share|improve this answer


























        0












        0








        0







        What I did: I formated the disk and installed everything again. As I had backup of windows partition, it was just time loss.






        share|improve this answer













        What I did: I formated the disk and installed everything again. As I had backup of windows partition, it was just time loss.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 20 '16 at 23:38









        Vitor AbellaVitor Abella

        2,712102763




        2,712102763






























            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%2f851625%2fgrub-failed-to-install-after-grub-rescue%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

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

            Eduardo VII do Reino Unido