Increase virtual HDD space on VMWare for Ubuntu












1















I am having an issue following instructions on how to increase from here.
I cannot get the unallocated space to merge with the sda1, no matter what I try. I allocate the 30GB, then try it that way, but it still doesn't work. I copied sda1 into unallocated -- still didn't work!
I can decrease size of sda1, but cannot increase it.



I've done:




  1. Shut down VM

  2. From settings change disk sizze

  3. in CD/DVD setting, load the Ubuntu ISO

  4. Start VM, press F2 to get in bios, and change Boot to CD first
    5/ Run ubuntu as guest

  5. sudo apt-get install gparted

  6. Run gparted


enter image description here










share|improve this question





























    1















    I am having an issue following instructions on how to increase from here.
    I cannot get the unallocated space to merge with the sda1, no matter what I try. I allocate the 30GB, then try it that way, but it still doesn't work. I copied sda1 into unallocated -- still didn't work!
    I can decrease size of sda1, but cannot increase it.



    I've done:




    1. Shut down VM

    2. From settings change disk sizze

    3. in CD/DVD setting, load the Ubuntu ISO

    4. Start VM, press F2 to get in bios, and change Boot to CD first
      5/ Run ubuntu as guest

    5. sudo apt-get install gparted

    6. Run gparted


    enter image description here










    share|improve this question



























      1












      1








      1








      I am having an issue following instructions on how to increase from here.
      I cannot get the unallocated space to merge with the sda1, no matter what I try. I allocate the 30GB, then try it that way, but it still doesn't work. I copied sda1 into unallocated -- still didn't work!
      I can decrease size of sda1, but cannot increase it.



      I've done:




      1. Shut down VM

      2. From settings change disk sizze

      3. in CD/DVD setting, load the Ubuntu ISO

      4. Start VM, press F2 to get in bios, and change Boot to CD first
        5/ Run ubuntu as guest

      5. sudo apt-get install gparted

      6. Run gparted


      enter image description here










      share|improve this question
















      I am having an issue following instructions on how to increase from here.
      I cannot get the unallocated space to merge with the sda1, no matter what I try. I allocate the 30GB, then try it that way, but it still doesn't work. I copied sda1 into unallocated -- still didn't work!
      I can decrease size of sda1, but cannot increase it.



      I've done:




      1. Shut down VM

      2. From settings change disk sizze

      3. in CD/DVD setting, load the Ubuntu ISO

      4. Start VM, press F2 to get in bios, and change Boot to CD first
        5/ Run ubuntu as guest

      5. sudo apt-get install gparted

      6. Run gparted


      enter image description here







      ubuntu virtual-machine vmware gparted






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 16 '17 at 0:17









      Jeff Schaller

      41.5k1056132




      41.5k1056132










      asked Apr 3 '16 at 12:03









      SamNewbieSamNewbie

      63




      63






















          1 Answer
          1






          active

          oldest

          votes


















          0














          You have the right tools in place to do what you want. The two steps you need to take are to move the extended disk to the end of the unallocated space, then you can grow /dev/sda1. Until you move the swap space out of the way, then you cannot make sda1 bigger.



          From the screen that you have up:




          1. Select the extended partition /dev/sda2. It includes /dev/sda5, your swap space.

          2. Menu Partition -> Move then move it to the end of the allocated space.

          3. Then select the Primary partition: /dev/sda1.

          4. Menu Partition -> Resize then grow it to the end of the (newly positioned) unallocated space.


          5. Then Apply to make the changes take effect



            #include <std/disclaimers.h>




          Make backups first, your mileage may vary, RTFM, may destroy your system.






          share|improve this answer
























          • Given that the extended partition contains only swap space, it would be simpler (and faster) to just delete /dev/sda2 (incl. /dev/sda5), extend /dev/sda1, and then create /dev/sda2 as swap at the end of the disk. BTW, don't forget to edit the swap entry in /etc/fstab

            – cas
            Apr 4 '16 at 2:07











          • You are right, cas! There is more than one way to do it. Editing /etc/fstab is a level of complexity that I was trying to avoid.

            – ElderDelp
            Apr 4 '16 at 18:00











          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%2f273997%2fincrease-virtual-hdd-space-on-vmware-for-ubuntu%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














          You have the right tools in place to do what you want. The two steps you need to take are to move the extended disk to the end of the unallocated space, then you can grow /dev/sda1. Until you move the swap space out of the way, then you cannot make sda1 bigger.



          From the screen that you have up:




          1. Select the extended partition /dev/sda2. It includes /dev/sda5, your swap space.

          2. Menu Partition -> Move then move it to the end of the allocated space.

          3. Then select the Primary partition: /dev/sda1.

          4. Menu Partition -> Resize then grow it to the end of the (newly positioned) unallocated space.


          5. Then Apply to make the changes take effect



            #include <std/disclaimers.h>




          Make backups first, your mileage may vary, RTFM, may destroy your system.






          share|improve this answer
























          • Given that the extended partition contains only swap space, it would be simpler (and faster) to just delete /dev/sda2 (incl. /dev/sda5), extend /dev/sda1, and then create /dev/sda2 as swap at the end of the disk. BTW, don't forget to edit the swap entry in /etc/fstab

            – cas
            Apr 4 '16 at 2:07











          • You are right, cas! There is more than one way to do it. Editing /etc/fstab is a level of complexity that I was trying to avoid.

            – ElderDelp
            Apr 4 '16 at 18:00
















          0














          You have the right tools in place to do what you want. The two steps you need to take are to move the extended disk to the end of the unallocated space, then you can grow /dev/sda1. Until you move the swap space out of the way, then you cannot make sda1 bigger.



          From the screen that you have up:




          1. Select the extended partition /dev/sda2. It includes /dev/sda5, your swap space.

          2. Menu Partition -> Move then move it to the end of the allocated space.

          3. Then select the Primary partition: /dev/sda1.

          4. Menu Partition -> Resize then grow it to the end of the (newly positioned) unallocated space.


          5. Then Apply to make the changes take effect



            #include <std/disclaimers.h>




          Make backups first, your mileage may vary, RTFM, may destroy your system.






          share|improve this answer
























          • Given that the extended partition contains only swap space, it would be simpler (and faster) to just delete /dev/sda2 (incl. /dev/sda5), extend /dev/sda1, and then create /dev/sda2 as swap at the end of the disk. BTW, don't forget to edit the swap entry in /etc/fstab

            – cas
            Apr 4 '16 at 2:07











          • You are right, cas! There is more than one way to do it. Editing /etc/fstab is a level of complexity that I was trying to avoid.

            – ElderDelp
            Apr 4 '16 at 18:00














          0












          0








          0







          You have the right tools in place to do what you want. The two steps you need to take are to move the extended disk to the end of the unallocated space, then you can grow /dev/sda1. Until you move the swap space out of the way, then you cannot make sda1 bigger.



          From the screen that you have up:




          1. Select the extended partition /dev/sda2. It includes /dev/sda5, your swap space.

          2. Menu Partition -> Move then move it to the end of the allocated space.

          3. Then select the Primary partition: /dev/sda1.

          4. Menu Partition -> Resize then grow it to the end of the (newly positioned) unallocated space.


          5. Then Apply to make the changes take effect



            #include <std/disclaimers.h>




          Make backups first, your mileage may vary, RTFM, may destroy your system.






          share|improve this answer













          You have the right tools in place to do what you want. The two steps you need to take are to move the extended disk to the end of the unallocated space, then you can grow /dev/sda1. Until you move the swap space out of the way, then you cannot make sda1 bigger.



          From the screen that you have up:




          1. Select the extended partition /dev/sda2. It includes /dev/sda5, your swap space.

          2. Menu Partition -> Move then move it to the end of the allocated space.

          3. Then select the Primary partition: /dev/sda1.

          4. Menu Partition -> Resize then grow it to the end of the (newly positioned) unallocated space.


          5. Then Apply to make the changes take effect



            #include <std/disclaimers.h>




          Make backups first, your mileage may vary, RTFM, may destroy your system.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 3 '16 at 18:29









          ElderDelpElderDelp

          20316




          20316













          • Given that the extended partition contains only swap space, it would be simpler (and faster) to just delete /dev/sda2 (incl. /dev/sda5), extend /dev/sda1, and then create /dev/sda2 as swap at the end of the disk. BTW, don't forget to edit the swap entry in /etc/fstab

            – cas
            Apr 4 '16 at 2:07











          • You are right, cas! There is more than one way to do it. Editing /etc/fstab is a level of complexity that I was trying to avoid.

            – ElderDelp
            Apr 4 '16 at 18:00



















          • Given that the extended partition contains only swap space, it would be simpler (and faster) to just delete /dev/sda2 (incl. /dev/sda5), extend /dev/sda1, and then create /dev/sda2 as swap at the end of the disk. BTW, don't forget to edit the swap entry in /etc/fstab

            – cas
            Apr 4 '16 at 2:07











          • You are right, cas! There is more than one way to do it. Editing /etc/fstab is a level of complexity that I was trying to avoid.

            – ElderDelp
            Apr 4 '16 at 18:00

















          Given that the extended partition contains only swap space, it would be simpler (and faster) to just delete /dev/sda2 (incl. /dev/sda5), extend /dev/sda1, and then create /dev/sda2 as swap at the end of the disk. BTW, don't forget to edit the swap entry in /etc/fstab

          – cas
          Apr 4 '16 at 2:07





          Given that the extended partition contains only swap space, it would be simpler (and faster) to just delete /dev/sda2 (incl. /dev/sda5), extend /dev/sda1, and then create /dev/sda2 as swap at the end of the disk. BTW, don't forget to edit the swap entry in /etc/fstab

          – cas
          Apr 4 '16 at 2:07













          You are right, cas! There is more than one way to do it. Editing /etc/fstab is a level of complexity that I was trying to avoid.

          – ElderDelp
          Apr 4 '16 at 18:00





          You are right, cas! There is more than one way to do it. Editing /etc/fstab is a level of complexity that I was trying to avoid.

          – ElderDelp
          Apr 4 '16 at 18:00


















          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%2f273997%2fincrease-virtual-hdd-space-on-vmware-for-ubuntu%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 make a Squid Proxy server?

          Is this a new Fibonacci Identity?

          Touch on Surface Book