Reinstalling Ubuntu made it unbootable Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)How to create EFI partition and install grub2 on second diskFile system is not clean (The partition is misaligned by 1024 bytes)Dual Boot - Windows does not showHow to configure existing raid after upgrading to 14.04 from 11Intel RAID5 array Shows < 50% spaceI tried to install Ubuntu following all the instructions, but still the installation says “you need at least 8.6gb…”Ubuntu windows 10 Dual boot problemunable to boot to windows 10 after installing kubuntu 18.04 on second hdd using lvmUbuntu on Second Drive Windows 10Extend filesystem after hdd-cloning 32GB to 500GBUnable to see Windows partition in File Manager Ubuntu 16.04

What makes black pepper strong or mild?

WAN encapsulation

Should I call the interviewer directly, if HR aren't responding?

How can I make names more distinctive without making them longer?

Are my PIs rude or am I just being too sensitive?

Did Kevin spill real chili?

Storing hydrofluoric acid before the invention of plastics

Why does Python start at index 1 when iterating an array backwards?

Is there a concise way to say "all of the X, one of each"?

Is there a "higher Segal conjecture"?

If a contract sometimes uses the wrong name, is it still valid?

How to find all the available tools in macOS terminal?

Should I discuss the type of campaign with my players?

What are the pros and cons of Aerospike nosecones?

Doubts about chords

The logistics of corpse disposal

Gastric acid as a weapon

What is the longest distance a 13th-level monk can jump while attacking on the same turn?

How to draw this diagram using TikZ package?

Do I really need recursive chmod to restrict access to a folder?

What does the "x" in "x86" represent?

Do you forfeit tax refunds/credits if you aren't required to and don't file by April 15?

Is a manifold-with-boundary with given interior and non-empty boundary essentially unique?

Is high blood pressure ever a symptom attributable solely to dehydration?



Reinstalling Ubuntu made it unbootable



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)How to create EFI partition and install grub2 on second diskFile system is not clean (The partition is misaligned by 1024 bytes)Dual Boot - Windows does not showHow to configure existing raid after upgrading to 14.04 from 11Intel RAID5 array Shows < 50% spaceI tried to install Ubuntu following all the instructions, but still the installation says “you need at least 8.6gb…”Ubuntu windows 10 Dual boot problemunable to boot to windows 10 after installing kubuntu 18.04 on second hdd using lvmUbuntu on Second Drive Windows 10Extend filesystem after hdd-cloning 32GB to 500GBUnable to see Windows partition in File Manager Ubuntu 16.04



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








0















Yesterday I decided to upgrade from Ubuntu 17.10 to 18.04 and to use a bootable USB drive to do that. The plan was to assign partitions of the 18.04 to the existing partitions of 17.10 but that's where I think I hit a snag.



First, a little bit about my setup - it was a dual-boot system spread over an SSD and an HDD. Only the documents were stored on the HDD (think downloads, pictures, basically the entire /home folder and it's Windows counterpart) - everything else was on the SSD.



Now, back to the problem - it looks to me like I created a second EFI partition by explicitly assigning the /boot location - which is how it used to be with 17.10, but it seems like it was installed in legacy mode. Here's what the fdisk used to say before the reinstall.



Disk /dev/nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: FCA82D3C-D3F2-41F8-A17A-16500CC996B8

Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 534527 532480 260M EFI System
/dev/nvme0n1p2 534528 567295 32768 16M Microsoft reserved
/dev/nvme0n1p3 567296 381069758 380502463 181.4G Microsoft basic data
/dev/nvme0n1p4 381071360 382722047 1650688 806M Windows recovery environment
/dev/nvme0n1p5 382724096 498069503 115345408 55G Linux filesystem
/dev/nvme0n1p6 498069504 500117498 2047995 1000M Linux boot partition


Here's what it says now.



Disk /dev/nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: FCA82D3C-D3F2-41F8-A17A-16500CC996B8

Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 534527 532480 260M EFI System
/dev/nvme0n1p2 534528 567295 32768 16M Microsoft reserved
/dev/nvme0n1p3 567296 381069758 380502463 181.4G Microsoft basic data
/dev/nvme0n1p4 381071360 382722047 1650688 806M Windows recovery environment
/dev/nvme0n1p5 382724096 498069503 115345408 55G Linux filesystem
/dev/nvme0n1p6 498069504 500117498 2047995 1000M EFI System


It looks like this might be the answer to my problem - to install the Linux EFI bootloader to the existing EFI system partition - but I wanted to double-check with the community if that's actually the issue. Thank you for any and all advice!










share|improve this question







New contributor




fandor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


























    0















    Yesterday I decided to upgrade from Ubuntu 17.10 to 18.04 and to use a bootable USB drive to do that. The plan was to assign partitions of the 18.04 to the existing partitions of 17.10 but that's where I think I hit a snag.



    First, a little bit about my setup - it was a dual-boot system spread over an SSD and an HDD. Only the documents were stored on the HDD (think downloads, pictures, basically the entire /home folder and it's Windows counterpart) - everything else was on the SSD.



    Now, back to the problem - it looks to me like I created a second EFI partition by explicitly assigning the /boot location - which is how it used to be with 17.10, but it seems like it was installed in legacy mode. Here's what the fdisk used to say before the reinstall.



    Disk /dev/nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: gpt
    Disk identifier: FCA82D3C-D3F2-41F8-A17A-16500CC996B8

    Device Start End Sectors Size Type
    /dev/nvme0n1p1 2048 534527 532480 260M EFI System
    /dev/nvme0n1p2 534528 567295 32768 16M Microsoft reserved
    /dev/nvme0n1p3 567296 381069758 380502463 181.4G Microsoft basic data
    /dev/nvme0n1p4 381071360 382722047 1650688 806M Windows recovery environment
    /dev/nvme0n1p5 382724096 498069503 115345408 55G Linux filesystem
    /dev/nvme0n1p6 498069504 500117498 2047995 1000M Linux boot partition


    Here's what it says now.



    Disk /dev/nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: gpt
    Disk identifier: FCA82D3C-D3F2-41F8-A17A-16500CC996B8

    Device Start End Sectors Size Type
    /dev/nvme0n1p1 2048 534527 532480 260M EFI System
    /dev/nvme0n1p2 534528 567295 32768 16M Microsoft reserved
    /dev/nvme0n1p3 567296 381069758 380502463 181.4G Microsoft basic data
    /dev/nvme0n1p4 381071360 382722047 1650688 806M Windows recovery environment
    /dev/nvme0n1p5 382724096 498069503 115345408 55G Linux filesystem
    /dev/nvme0n1p6 498069504 500117498 2047995 1000M EFI System


    It looks like this might be the answer to my problem - to install the Linux EFI bootloader to the existing EFI system partition - but I wanted to double-check with the community if that's actually the issue. Thank you for any and all advice!










    share|improve this question







    New contributor




    fandor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      0












      0








      0








      Yesterday I decided to upgrade from Ubuntu 17.10 to 18.04 and to use a bootable USB drive to do that. The plan was to assign partitions of the 18.04 to the existing partitions of 17.10 but that's where I think I hit a snag.



      First, a little bit about my setup - it was a dual-boot system spread over an SSD and an HDD. Only the documents were stored on the HDD (think downloads, pictures, basically the entire /home folder and it's Windows counterpart) - everything else was on the SSD.



      Now, back to the problem - it looks to me like I created a second EFI partition by explicitly assigning the /boot location - which is how it used to be with 17.10, but it seems like it was installed in legacy mode. Here's what the fdisk used to say before the reinstall.



      Disk /dev/nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 sectors
      Units: sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 512 bytes
      I/O size (minimum/optimal): 512 bytes / 512 bytes
      Disklabel type: gpt
      Disk identifier: FCA82D3C-D3F2-41F8-A17A-16500CC996B8

      Device Start End Sectors Size Type
      /dev/nvme0n1p1 2048 534527 532480 260M EFI System
      /dev/nvme0n1p2 534528 567295 32768 16M Microsoft reserved
      /dev/nvme0n1p3 567296 381069758 380502463 181.4G Microsoft basic data
      /dev/nvme0n1p4 381071360 382722047 1650688 806M Windows recovery environment
      /dev/nvme0n1p5 382724096 498069503 115345408 55G Linux filesystem
      /dev/nvme0n1p6 498069504 500117498 2047995 1000M Linux boot partition


      Here's what it says now.



      Disk /dev/nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 sectors
      Units: sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 512 bytes
      I/O size (minimum/optimal): 512 bytes / 512 bytes
      Disklabel type: gpt
      Disk identifier: FCA82D3C-D3F2-41F8-A17A-16500CC996B8

      Device Start End Sectors Size Type
      /dev/nvme0n1p1 2048 534527 532480 260M EFI System
      /dev/nvme0n1p2 534528 567295 32768 16M Microsoft reserved
      /dev/nvme0n1p3 567296 381069758 380502463 181.4G Microsoft basic data
      /dev/nvme0n1p4 381071360 382722047 1650688 806M Windows recovery environment
      /dev/nvme0n1p5 382724096 498069503 115345408 55G Linux filesystem
      /dev/nvme0n1p6 498069504 500117498 2047995 1000M EFI System


      It looks like this might be the answer to my problem - to install the Linux EFI bootloader to the existing EFI system partition - but I wanted to double-check with the community if that's actually the issue. Thank you for any and all advice!










      share|improve this question







      New contributor




      fandor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      Yesterday I decided to upgrade from Ubuntu 17.10 to 18.04 and to use a bootable USB drive to do that. The plan was to assign partitions of the 18.04 to the existing partitions of 17.10 but that's where I think I hit a snag.



      First, a little bit about my setup - it was a dual-boot system spread over an SSD and an HDD. Only the documents were stored on the HDD (think downloads, pictures, basically the entire /home folder and it's Windows counterpart) - everything else was on the SSD.



      Now, back to the problem - it looks to me like I created a second EFI partition by explicitly assigning the /boot location - which is how it used to be with 17.10, but it seems like it was installed in legacy mode. Here's what the fdisk used to say before the reinstall.



      Disk /dev/nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 sectors
      Units: sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 512 bytes
      I/O size (minimum/optimal): 512 bytes / 512 bytes
      Disklabel type: gpt
      Disk identifier: FCA82D3C-D3F2-41F8-A17A-16500CC996B8

      Device Start End Sectors Size Type
      /dev/nvme0n1p1 2048 534527 532480 260M EFI System
      /dev/nvme0n1p2 534528 567295 32768 16M Microsoft reserved
      /dev/nvme0n1p3 567296 381069758 380502463 181.4G Microsoft basic data
      /dev/nvme0n1p4 381071360 382722047 1650688 806M Windows recovery environment
      /dev/nvme0n1p5 382724096 498069503 115345408 55G Linux filesystem
      /dev/nvme0n1p6 498069504 500117498 2047995 1000M Linux boot partition


      Here's what it says now.



      Disk /dev/nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 sectors
      Units: sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 512 bytes
      I/O size (minimum/optimal): 512 bytes / 512 bytes
      Disklabel type: gpt
      Disk identifier: FCA82D3C-D3F2-41F8-A17A-16500CC996B8

      Device Start End Sectors Size Type
      /dev/nvme0n1p1 2048 534527 532480 260M EFI System
      /dev/nvme0n1p2 534528 567295 32768 16M Microsoft reserved
      /dev/nvme0n1p3 567296 381069758 380502463 181.4G Microsoft basic data
      /dev/nvme0n1p4 381071360 382722047 1650688 806M Windows recovery environment
      /dev/nvme0n1p5 382724096 498069503 115345408 55G Linux filesystem
      /dev/nvme0n1p6 498069504 500117498 2047995 1000M EFI System


      It looks like this might be the answer to my problem - to install the Linux EFI bootloader to the existing EFI system partition - but I wanted to double-check with the community if that's actually the issue. Thank you for any and all advice!







      dual-boot partitioning 18.04 17.10






      share|improve this question







      New contributor




      fandor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      fandor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      fandor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Apr 12 at 4:14









      fandorfandor

      113




      113




      New contributor




      fandor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      fandor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      fandor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















          1 Answer
          1






          active

          oldest

          votes


















          0














          Good news is I fixed it, bad news is I don't know what was the problem, which was the whole point of trying to fix it - please, please post another answer if you know something!



          Here are the changes I made that made everything work.



          1. Placed /boot on the first EFI System partition (/dev/nvme0n1p1).

          2. Deleted the second EFI System partition because the community wiki strongly recommends to have only one EFI partition.

          3. Ran boot-repair utility that reinstalled GRUB.

          4. Disabled Secure Boot in BIOS.

          All the changes were made from the live USB.






          share|improve this answer








          New contributor




          fandor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.




















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



            );






            fandor is a new contributor. Be nice, and check out our Code of Conduct.









            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1133167%2freinstalling-ubuntu-made-it-unbootable%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














            Good news is I fixed it, bad news is I don't know what was the problem, which was the whole point of trying to fix it - please, please post another answer if you know something!



            Here are the changes I made that made everything work.



            1. Placed /boot on the first EFI System partition (/dev/nvme0n1p1).

            2. Deleted the second EFI System partition because the community wiki strongly recommends to have only one EFI partition.

            3. Ran boot-repair utility that reinstalled GRUB.

            4. Disabled Secure Boot in BIOS.

            All the changes were made from the live USB.






            share|improve this answer








            New contributor




            fandor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.
























              0














              Good news is I fixed it, bad news is I don't know what was the problem, which was the whole point of trying to fix it - please, please post another answer if you know something!



              Here are the changes I made that made everything work.



              1. Placed /boot on the first EFI System partition (/dev/nvme0n1p1).

              2. Deleted the second EFI System partition because the community wiki strongly recommends to have only one EFI partition.

              3. Ran boot-repair utility that reinstalled GRUB.

              4. Disabled Secure Boot in BIOS.

              All the changes were made from the live USB.






              share|improve this answer








              New contributor




              fandor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.






















                0












                0








                0







                Good news is I fixed it, bad news is I don't know what was the problem, which was the whole point of trying to fix it - please, please post another answer if you know something!



                Here are the changes I made that made everything work.



                1. Placed /boot on the first EFI System partition (/dev/nvme0n1p1).

                2. Deleted the second EFI System partition because the community wiki strongly recommends to have only one EFI partition.

                3. Ran boot-repair utility that reinstalled GRUB.

                4. Disabled Secure Boot in BIOS.

                All the changes were made from the live USB.






                share|improve this answer








                New contributor




                fandor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.










                Good news is I fixed it, bad news is I don't know what was the problem, which was the whole point of trying to fix it - please, please post another answer if you know something!



                Here are the changes I made that made everything work.



                1. Placed /boot on the first EFI System partition (/dev/nvme0n1p1).

                2. Deleted the second EFI System partition because the community wiki strongly recommends to have only one EFI partition.

                3. Ran boot-repair utility that reinstalled GRUB.

                4. Disabled Secure Boot in BIOS.

                All the changes were made from the live USB.







                share|improve this answer








                New contributor




                fandor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer






                New contributor




                fandor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered Apr 12 at 23:49









                fandorfandor

                113




                113




                New contributor




                fandor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                fandor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                fandor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.




















                    fandor is a new contributor. Be nice, and check out our Code of Conduct.









                    draft saved

                    draft discarded


















                    fandor is a new contributor. Be nice, and check out our Code of Conduct.












                    fandor is a new contributor. Be nice, and check out our Code of Conduct.











                    fandor is a new contributor. Be nice, and check out our Code of Conduct.














                    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%2f1133167%2freinstalling-ubuntu-made-it-unbootable%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

                    Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

                    How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

                    Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü