Virtual mint 19 Linux hard drive is resized with now mount point












0















My virtual mint 19 100 GB was almost full. So I had to add additional disk space. I managed to extra 42 GB and 8 GB swap disk space. But it is not mounted correctly. I am not sure where or how to mount it to use this space. Here is the output from the df -h



enter image description here



The gparted show the partition as follows:-



enter image description here



Please let me how can I mount this /dev/sda2 and where?










share|improve this question



























    0















    My virtual mint 19 100 GB was almost full. So I had to add additional disk space. I managed to extra 42 GB and 8 GB swap disk space. But it is not mounted correctly. I am not sure where or how to mount it to use this space. Here is the output from the df -h



    enter image description here



    The gparted show the partition as follows:-



    enter image description here



    Please let me how can I mount this /dev/sda2 and where?










    share|improve this question

























      0












      0








      0








      My virtual mint 19 100 GB was almost full. So I had to add additional disk space. I managed to extra 42 GB and 8 GB swap disk space. But it is not mounted correctly. I am not sure where or how to mount it to use this space. Here is the output from the df -h



      enter image description here



      The gparted show the partition as follows:-



      enter image description here



      Please let me how can I mount this /dev/sda2 and where?










      share|improve this question














      My virtual mint 19 100 GB was almost full. So I had to add additional disk space. I managed to extra 42 GB and 8 GB swap disk space. But it is not mounted correctly. I am not sure where or how to mount it to use this space. Here is the output from the df -h



      enter image description here



      The gparted show the partition as follows:-



      enter image description here



      Please let me how can I mount this /dev/sda2 and where?







      linux hard-drive partitioning mount linux-mint






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 27 at 21:05









      masiboomasiboo

      1176




      1176






















          1 Answer
          1






          active

          oldest

          votes


















          2














          You need as root to create a mount point: for Debian-based distributions this should be in /media as the preferred location.



          Now you can mount /dev/sda2 with the mount command:



          mount /dev/sda2 /media/MountPoint    ;# (or whatever mount point you created)


          You can make the mount point permanent by adding to /etc/fstab:



          /dev/sda2  /media/MointPoint  ext4  errors=remount-ro  0  1
          # (or any other file system on /dev/sda2 instead of ext4)


          Alternatively, you can move an entire directory (eg /home/*) to the new disc and then mount /dev/sda2 there. In this case the /etc/fstab entry would be:



          /dev/sda2  /home  ext4  errors=remount-ro  0  1


          Once /dev/sda2 is mounted there you can remove the original mount point.



          However, in all honesty, I wouldn't do any of this: I'd delete /dev/sda2 and use gparted to expand /dev/sda1 to fill the free space. Doing that frees you from making decisions about which drive should hold which data.



          It goes without saying that you should back up your virtual disc before doing any partition modifications.






          share|improve this answer


























          • I was trying to extend my virtual disk size by following this: tvi.al/resize-sda1-disk-of-your-vagrant-virtualbox-vm . Then I end up in this seatuation. Can tell what is the correct way of extending virtual disk size?

            – masiboo
            Jan 28 at 10:22











          • You have already extended the disc space. What you need to do is extend the partition /dev/sda1. In gparted simply grab the right-hand edge and drag until it is adjacent to the swap partition.

            – AFH
            Jan 28 at 10:36











          • I started Gparted GUI as root. It doesn't allow me to drag or do any modification. I never used Gparted. So I don't know am I doing it correctly or not. Can you please tell me what could be wrong?

            – masiboo
            Feb 1 at 11:33











          • You can't modify a live partition: you need to use an external Live Boot disc and run gparted from there.

            – AFH
            Feb 1 at 14:09











          • So I have to boot by the Gparted live cd/iso. I will try this way.

            – masiboo
            Feb 1 at 14:29











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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%2fsuperuser.com%2fquestions%2f1399032%2fvirtual-mint-19-linux-hard-drive-is-resized-with-now-mount-point%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









          2














          You need as root to create a mount point: for Debian-based distributions this should be in /media as the preferred location.



          Now you can mount /dev/sda2 with the mount command:



          mount /dev/sda2 /media/MountPoint    ;# (or whatever mount point you created)


          You can make the mount point permanent by adding to /etc/fstab:



          /dev/sda2  /media/MointPoint  ext4  errors=remount-ro  0  1
          # (or any other file system on /dev/sda2 instead of ext4)


          Alternatively, you can move an entire directory (eg /home/*) to the new disc and then mount /dev/sda2 there. In this case the /etc/fstab entry would be:



          /dev/sda2  /home  ext4  errors=remount-ro  0  1


          Once /dev/sda2 is mounted there you can remove the original mount point.



          However, in all honesty, I wouldn't do any of this: I'd delete /dev/sda2 and use gparted to expand /dev/sda1 to fill the free space. Doing that frees you from making decisions about which drive should hold which data.



          It goes without saying that you should back up your virtual disc before doing any partition modifications.






          share|improve this answer


























          • I was trying to extend my virtual disk size by following this: tvi.al/resize-sda1-disk-of-your-vagrant-virtualbox-vm . Then I end up in this seatuation. Can tell what is the correct way of extending virtual disk size?

            – masiboo
            Jan 28 at 10:22











          • You have already extended the disc space. What you need to do is extend the partition /dev/sda1. In gparted simply grab the right-hand edge and drag until it is adjacent to the swap partition.

            – AFH
            Jan 28 at 10:36











          • I started Gparted GUI as root. It doesn't allow me to drag or do any modification. I never used Gparted. So I don't know am I doing it correctly or not. Can you please tell me what could be wrong?

            – masiboo
            Feb 1 at 11:33











          • You can't modify a live partition: you need to use an external Live Boot disc and run gparted from there.

            – AFH
            Feb 1 at 14:09











          • So I have to boot by the Gparted live cd/iso. I will try this way.

            – masiboo
            Feb 1 at 14:29
















          2














          You need as root to create a mount point: for Debian-based distributions this should be in /media as the preferred location.



          Now you can mount /dev/sda2 with the mount command:



          mount /dev/sda2 /media/MountPoint    ;# (or whatever mount point you created)


          You can make the mount point permanent by adding to /etc/fstab:



          /dev/sda2  /media/MointPoint  ext4  errors=remount-ro  0  1
          # (or any other file system on /dev/sda2 instead of ext4)


          Alternatively, you can move an entire directory (eg /home/*) to the new disc and then mount /dev/sda2 there. In this case the /etc/fstab entry would be:



          /dev/sda2  /home  ext4  errors=remount-ro  0  1


          Once /dev/sda2 is mounted there you can remove the original mount point.



          However, in all honesty, I wouldn't do any of this: I'd delete /dev/sda2 and use gparted to expand /dev/sda1 to fill the free space. Doing that frees you from making decisions about which drive should hold which data.



          It goes without saying that you should back up your virtual disc before doing any partition modifications.






          share|improve this answer


























          • I was trying to extend my virtual disk size by following this: tvi.al/resize-sda1-disk-of-your-vagrant-virtualbox-vm . Then I end up in this seatuation. Can tell what is the correct way of extending virtual disk size?

            – masiboo
            Jan 28 at 10:22











          • You have already extended the disc space. What you need to do is extend the partition /dev/sda1. In gparted simply grab the right-hand edge and drag until it is adjacent to the swap partition.

            – AFH
            Jan 28 at 10:36











          • I started Gparted GUI as root. It doesn't allow me to drag or do any modification. I never used Gparted. So I don't know am I doing it correctly or not. Can you please tell me what could be wrong?

            – masiboo
            Feb 1 at 11:33











          • You can't modify a live partition: you need to use an external Live Boot disc and run gparted from there.

            – AFH
            Feb 1 at 14:09











          • So I have to boot by the Gparted live cd/iso. I will try this way.

            – masiboo
            Feb 1 at 14:29














          2












          2








          2







          You need as root to create a mount point: for Debian-based distributions this should be in /media as the preferred location.



          Now you can mount /dev/sda2 with the mount command:



          mount /dev/sda2 /media/MountPoint    ;# (or whatever mount point you created)


          You can make the mount point permanent by adding to /etc/fstab:



          /dev/sda2  /media/MointPoint  ext4  errors=remount-ro  0  1
          # (or any other file system on /dev/sda2 instead of ext4)


          Alternatively, you can move an entire directory (eg /home/*) to the new disc and then mount /dev/sda2 there. In this case the /etc/fstab entry would be:



          /dev/sda2  /home  ext4  errors=remount-ro  0  1


          Once /dev/sda2 is mounted there you can remove the original mount point.



          However, in all honesty, I wouldn't do any of this: I'd delete /dev/sda2 and use gparted to expand /dev/sda1 to fill the free space. Doing that frees you from making decisions about which drive should hold which data.



          It goes without saying that you should back up your virtual disc before doing any partition modifications.






          share|improve this answer















          You need as root to create a mount point: for Debian-based distributions this should be in /media as the preferred location.



          Now you can mount /dev/sda2 with the mount command:



          mount /dev/sda2 /media/MountPoint    ;# (or whatever mount point you created)


          You can make the mount point permanent by adding to /etc/fstab:



          /dev/sda2  /media/MointPoint  ext4  errors=remount-ro  0  1
          # (or any other file system on /dev/sda2 instead of ext4)


          Alternatively, you can move an entire directory (eg /home/*) to the new disc and then mount /dev/sda2 there. In this case the /etc/fstab entry would be:



          /dev/sda2  /home  ext4  errors=remount-ro  0  1


          Once /dev/sda2 is mounted there you can remove the original mount point.



          However, in all honesty, I wouldn't do any of this: I'd delete /dev/sda2 and use gparted to expand /dev/sda1 to fill the free space. Doing that frees you from making decisions about which drive should hold which data.



          It goes without saying that you should back up your virtual disc before doing any partition modifications.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jan 27 at 22:50

























          answered Jan 27 at 22:22









          AFHAFH

          14.5k31939




          14.5k31939













          • I was trying to extend my virtual disk size by following this: tvi.al/resize-sda1-disk-of-your-vagrant-virtualbox-vm . Then I end up in this seatuation. Can tell what is the correct way of extending virtual disk size?

            – masiboo
            Jan 28 at 10:22











          • You have already extended the disc space. What you need to do is extend the partition /dev/sda1. In gparted simply grab the right-hand edge and drag until it is adjacent to the swap partition.

            – AFH
            Jan 28 at 10:36











          • I started Gparted GUI as root. It doesn't allow me to drag or do any modification. I never used Gparted. So I don't know am I doing it correctly or not. Can you please tell me what could be wrong?

            – masiboo
            Feb 1 at 11:33











          • You can't modify a live partition: you need to use an external Live Boot disc and run gparted from there.

            – AFH
            Feb 1 at 14:09











          • So I have to boot by the Gparted live cd/iso. I will try this way.

            – masiboo
            Feb 1 at 14:29



















          • I was trying to extend my virtual disk size by following this: tvi.al/resize-sda1-disk-of-your-vagrant-virtualbox-vm . Then I end up in this seatuation. Can tell what is the correct way of extending virtual disk size?

            – masiboo
            Jan 28 at 10:22











          • You have already extended the disc space. What you need to do is extend the partition /dev/sda1. In gparted simply grab the right-hand edge and drag until it is adjacent to the swap partition.

            – AFH
            Jan 28 at 10:36











          • I started Gparted GUI as root. It doesn't allow me to drag or do any modification. I never used Gparted. So I don't know am I doing it correctly or not. Can you please tell me what could be wrong?

            – masiboo
            Feb 1 at 11:33











          • You can't modify a live partition: you need to use an external Live Boot disc and run gparted from there.

            – AFH
            Feb 1 at 14:09











          • So I have to boot by the Gparted live cd/iso. I will try this way.

            – masiboo
            Feb 1 at 14:29

















          I was trying to extend my virtual disk size by following this: tvi.al/resize-sda1-disk-of-your-vagrant-virtualbox-vm . Then I end up in this seatuation. Can tell what is the correct way of extending virtual disk size?

          – masiboo
          Jan 28 at 10:22





          I was trying to extend my virtual disk size by following this: tvi.al/resize-sda1-disk-of-your-vagrant-virtualbox-vm . Then I end up in this seatuation. Can tell what is the correct way of extending virtual disk size?

          – masiboo
          Jan 28 at 10:22













          You have already extended the disc space. What you need to do is extend the partition /dev/sda1. In gparted simply grab the right-hand edge and drag until it is adjacent to the swap partition.

          – AFH
          Jan 28 at 10:36





          You have already extended the disc space. What you need to do is extend the partition /dev/sda1. In gparted simply grab the right-hand edge and drag until it is adjacent to the swap partition.

          – AFH
          Jan 28 at 10:36













          I started Gparted GUI as root. It doesn't allow me to drag or do any modification. I never used Gparted. So I don't know am I doing it correctly or not. Can you please tell me what could be wrong?

          – masiboo
          Feb 1 at 11:33





          I started Gparted GUI as root. It doesn't allow me to drag or do any modification. I never used Gparted. So I don't know am I doing it correctly or not. Can you please tell me what could be wrong?

          – masiboo
          Feb 1 at 11:33













          You can't modify a live partition: you need to use an external Live Boot disc and run gparted from there.

          – AFH
          Feb 1 at 14:09





          You can't modify a live partition: you need to use an external Live Boot disc and run gparted from there.

          – AFH
          Feb 1 at 14:09













          So I have to boot by the Gparted live cd/iso. I will try this way.

          – masiboo
          Feb 1 at 14:29





          So I have to boot by the Gparted live cd/iso. I will try this way.

          – masiboo
          Feb 1 at 14:29


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • 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%2fsuperuser.com%2fquestions%2f1399032%2fvirtual-mint-19-linux-hard-drive-is-resized-with-now-mount-point%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

          Plaza Victoria

          Puebla de Zaragoza

          Musa