Emergency Mode after Resizing my Home Partition












0















I am desperately searching for help.
I have Ubuntu 18.04 running on a SSD with 4 Partitions
sdb1 = linux = system
sdb2 = swap = swap
sdb3 = linux = ~ mountpoint /home
sdb4 = ntfs = Exchange to windows / use the rest pf the space as usb drive



I formated sdb4 and decreased its size. Afterwards I was able to boot ubuntu normally. When I resized the sdb3 from a live usb of gparted, I coudlnt boot ubuntu normally afterwards. Stating it is in emergency mode.



I tried reinstalling grub in gpatted live. For that I mounted sdb1 and ran sudo grub-install --root-directory=/mnt/ /dev/sdb



However resulting in a break with error (grub can only be installed in thjs setup by using blocklist).



Do you have a recommendation how I can fix it? I tried the save mode in the advanced grub options but it doesnt seem to work properly since I cant select the options i want after save mode started



I would be relly gratefull if you could help me










share|improve this question



























    0















    I am desperately searching for help.
    I have Ubuntu 18.04 running on a SSD with 4 Partitions
    sdb1 = linux = system
    sdb2 = swap = swap
    sdb3 = linux = ~ mountpoint /home
    sdb4 = ntfs = Exchange to windows / use the rest pf the space as usb drive



    I formated sdb4 and decreased its size. Afterwards I was able to boot ubuntu normally. When I resized the sdb3 from a live usb of gparted, I coudlnt boot ubuntu normally afterwards. Stating it is in emergency mode.



    I tried reinstalling grub in gpatted live. For that I mounted sdb1 and ran sudo grub-install --root-directory=/mnt/ /dev/sdb



    However resulting in a break with error (grub can only be installed in thjs setup by using blocklist).



    Do you have a recommendation how I can fix it? I tried the save mode in the advanced grub options but it doesnt seem to work properly since I cant select the options i want after save mode started



    I would be relly gratefull if you could help me










    share|improve this question

























      0












      0








      0








      I am desperately searching for help.
      I have Ubuntu 18.04 running on a SSD with 4 Partitions
      sdb1 = linux = system
      sdb2 = swap = swap
      sdb3 = linux = ~ mountpoint /home
      sdb4 = ntfs = Exchange to windows / use the rest pf the space as usb drive



      I formated sdb4 and decreased its size. Afterwards I was able to boot ubuntu normally. When I resized the sdb3 from a live usb of gparted, I coudlnt boot ubuntu normally afterwards. Stating it is in emergency mode.



      I tried reinstalling grub in gpatted live. For that I mounted sdb1 and ran sudo grub-install --root-directory=/mnt/ /dev/sdb



      However resulting in a break with error (grub can only be installed in thjs setup by using blocklist).



      Do you have a recommendation how I can fix it? I tried the save mode in the advanced grub options but it doesnt seem to work properly since I cant select the options i want after save mode started



      I would be relly gratefull if you could help me










      share|improve this question














      I am desperately searching for help.
      I have Ubuntu 18.04 running on a SSD with 4 Partitions
      sdb1 = linux = system
      sdb2 = swap = swap
      sdb3 = linux = ~ mountpoint /home
      sdb4 = ntfs = Exchange to windows / use the rest pf the space as usb drive



      I formated sdb4 and decreased its size. Afterwards I was able to boot ubuntu normally. When I resized the sdb3 from a live usb of gparted, I coudlnt boot ubuntu normally afterwards. Stating it is in emergency mode.



      I tried reinstalling grub in gpatted live. For that I mounted sdb1 and ran sudo grub-install --root-directory=/mnt/ /dev/sdb



      However resulting in a break with error (grub can only be installed in thjs setup by using blocklist).



      Do you have a recommendation how I can fix it? I tried the save mode in the advanced grub options but it doesnt seem to work properly since I cant select the options i want after save mode started



      I would be relly gratefull if you could help me







      boot grub2 resize






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 15 at 10:52









      SysRIPSysRIP

      32




      32






















          1 Answer
          1






          active

          oldest

          votes


















          0
















          1. This error (grub can only be installed in thjs setup by using blocklist) may be because your disk has GPT (GUID Partition Table). You have to create a 1 MB partition in the begining of disk with flag 'bios_grub'. Now install grub.



            sudo grub-install /dev/sdb ### or whichever disk you want to install grub on



          2. The UUID of your partition might have changed, compare the UUID of /home entry in etc/fstab with the output of command:



            sudo blkid  /dev/sdb3 ### partition that you have resized.


            if changed replace with the new UUID.




          3. Run command:



            sudo update-grub


            and reboot.








          share|improve this answer



















          • 1





            Thanks. Your suggestion 2 seems to have fixed it

            – SysRIP
            Jan 15 at 13:48











          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%2f1109893%2femergency-mode-after-resizing-my-home-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
















          1. This error (grub can only be installed in thjs setup by using blocklist) may be because your disk has GPT (GUID Partition Table). You have to create a 1 MB partition in the begining of disk with flag 'bios_grub'. Now install grub.



            sudo grub-install /dev/sdb ### or whichever disk you want to install grub on



          2. The UUID of your partition might have changed, compare the UUID of /home entry in etc/fstab with the output of command:



            sudo blkid  /dev/sdb3 ### partition that you have resized.


            if changed replace with the new UUID.




          3. Run command:



            sudo update-grub


            and reboot.








          share|improve this answer



















          • 1





            Thanks. Your suggestion 2 seems to have fixed it

            – SysRIP
            Jan 15 at 13:48
















          0
















          1. This error (grub can only be installed in thjs setup by using blocklist) may be because your disk has GPT (GUID Partition Table). You have to create a 1 MB partition in the begining of disk with flag 'bios_grub'. Now install grub.



            sudo grub-install /dev/sdb ### or whichever disk you want to install grub on



          2. The UUID of your partition might have changed, compare the UUID of /home entry in etc/fstab with the output of command:



            sudo blkid  /dev/sdb3 ### partition that you have resized.


            if changed replace with the new UUID.




          3. Run command:



            sudo update-grub


            and reboot.








          share|improve this answer



















          • 1





            Thanks. Your suggestion 2 seems to have fixed it

            – SysRIP
            Jan 15 at 13:48














          0












          0








          0









          1. This error (grub can only be installed in thjs setup by using blocklist) may be because your disk has GPT (GUID Partition Table). You have to create a 1 MB partition in the begining of disk with flag 'bios_grub'. Now install grub.



            sudo grub-install /dev/sdb ### or whichever disk you want to install grub on



          2. The UUID of your partition might have changed, compare the UUID of /home entry in etc/fstab with the output of command:



            sudo blkid  /dev/sdb3 ### partition that you have resized.


            if changed replace with the new UUID.




          3. Run command:



            sudo update-grub


            and reboot.








          share|improve this answer















          1. This error (grub can only be installed in thjs setup by using blocklist) may be because your disk has GPT (GUID Partition Table). You have to create a 1 MB partition in the begining of disk with flag 'bios_grub'. Now install grub.



            sudo grub-install /dev/sdb ### or whichever disk you want to install grub on



          2. The UUID of your partition might have changed, compare the UUID of /home entry in etc/fstab with the output of command:



            sudo blkid  /dev/sdb3 ### partition that you have resized.


            if changed replace with the new UUID.




          3. Run command:



            sudo update-grub


            and reboot.









          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 15 at 13:28









          VijayVijay

          1,5851718




          1,5851718








          • 1





            Thanks. Your suggestion 2 seems to have fixed it

            – SysRIP
            Jan 15 at 13:48














          • 1





            Thanks. Your suggestion 2 seems to have fixed it

            – SysRIP
            Jan 15 at 13:48








          1




          1





          Thanks. Your suggestion 2 seems to have fixed it

          – SysRIP
          Jan 15 at 13:48





          Thanks. Your suggestion 2 seems to have fixed it

          – SysRIP
          Jan 15 at 13:48


















          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%2f1109893%2femergency-mode-after-resizing-my-home-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

          How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

          is 'sed' thread safe

          How to make a Squid Proxy server?