Change size of /root patition in ubuntu 16.04 LVM





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







0















I installed ubuntu 16.04 with these settings
"Erase Disk and install Ubuntu" with "Use LVM with the new Ubuntu installation" checked
I have a 1tb hard drive and all that 1tb is now in the root partition excluding 4gb swap. How do I decrease the partition of root and make a new partition.










share|improve this question





























    0















    I installed ubuntu 16.04 with these settings
    "Erase Disk and install Ubuntu" with "Use LVM with the new Ubuntu installation" checked
    I have a 1tb hard drive and all that 1tb is now in the root partition excluding 4gb swap. How do I decrease the partition of root and make a new partition.










    share|improve this question

























      0












      0








      0








      I installed ubuntu 16.04 with these settings
      "Erase Disk and install Ubuntu" with "Use LVM with the new Ubuntu installation" checked
      I have a 1tb hard drive and all that 1tb is now in the root partition excluding 4gb swap. How do I decrease the partition of root and make a new partition.










      share|improve this question














      I installed ubuntu 16.04 with these settings
      "Erase Disk and install Ubuntu" with "Use LVM with the new Ubuntu installation" checked
      I have a 1tb hard drive and all that 1tb is now in the root partition excluding 4gb swap. How do I decrease the partition of root and make a new partition.







      partitioning hard-drive lvm 16.04






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 22 '16 at 9:04









      DJ18DJ18

      10112




      10112






















          1 Answer
          1






          active

          oldest

          votes


















          0














          The first thing you should do is backup your most important data in case of a mistake. Then use the LVM resize commands.



          You can find images of procedures on this link:



          How to Extend/REduce LVM's in Linux - Part II



          The actuall commands to reduce the size are:



          resize2fs - Reduce a file-system
          lvreduce - Reduce a Logical volume


          For GUI you can try system-config-lvm from the Ubuntu repository.



          You might consider installing Ubuntu on a Pen-drive. Boot to the pen-drive then install the LVM gui on that drive and manage your hard drive from that session.






          share|improve this answer


























          • I've read somewhere that gparted doesn't support LVM. Thanks anyways

            – DJ18
            Apr 22 '16 at 9:20













          • Sorry. I updated my answer for LVMs.

            – L. D. James
            Apr 22 '16 at 9:56











          • Any GUI method for this?

            – DJ18
            Apr 22 '16 at 10:01











          • @DJ18 Yes. Try system-config.lvm from the repository.

            – L. D. James
            Apr 22 '16 at 10:29














          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%2f760421%2fchange-size-of-root-patition-in-ubuntu-16-04-lvm%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














          The first thing you should do is backup your most important data in case of a mistake. Then use the LVM resize commands.



          You can find images of procedures on this link:



          How to Extend/REduce LVM's in Linux - Part II



          The actuall commands to reduce the size are:



          resize2fs - Reduce a file-system
          lvreduce - Reduce a Logical volume


          For GUI you can try system-config-lvm from the Ubuntu repository.



          You might consider installing Ubuntu on a Pen-drive. Boot to the pen-drive then install the LVM gui on that drive and manage your hard drive from that session.






          share|improve this answer


























          • I've read somewhere that gparted doesn't support LVM. Thanks anyways

            – DJ18
            Apr 22 '16 at 9:20













          • Sorry. I updated my answer for LVMs.

            – L. D. James
            Apr 22 '16 at 9:56











          • Any GUI method for this?

            – DJ18
            Apr 22 '16 at 10:01











          • @DJ18 Yes. Try system-config.lvm from the repository.

            – L. D. James
            Apr 22 '16 at 10:29


















          0














          The first thing you should do is backup your most important data in case of a mistake. Then use the LVM resize commands.



          You can find images of procedures on this link:



          How to Extend/REduce LVM's in Linux - Part II



          The actuall commands to reduce the size are:



          resize2fs - Reduce a file-system
          lvreduce - Reduce a Logical volume


          For GUI you can try system-config-lvm from the Ubuntu repository.



          You might consider installing Ubuntu on a Pen-drive. Boot to the pen-drive then install the LVM gui on that drive and manage your hard drive from that session.






          share|improve this answer


























          • I've read somewhere that gparted doesn't support LVM. Thanks anyways

            – DJ18
            Apr 22 '16 at 9:20













          • Sorry. I updated my answer for LVMs.

            – L. D. James
            Apr 22 '16 at 9:56











          • Any GUI method for this?

            – DJ18
            Apr 22 '16 at 10:01











          • @DJ18 Yes. Try system-config.lvm from the repository.

            – L. D. James
            Apr 22 '16 at 10:29
















          0












          0








          0







          The first thing you should do is backup your most important data in case of a mistake. Then use the LVM resize commands.



          You can find images of procedures on this link:



          How to Extend/REduce LVM's in Linux - Part II



          The actuall commands to reduce the size are:



          resize2fs - Reduce a file-system
          lvreduce - Reduce a Logical volume


          For GUI you can try system-config-lvm from the Ubuntu repository.



          You might consider installing Ubuntu on a Pen-drive. Boot to the pen-drive then install the LVM gui on that drive and manage your hard drive from that session.






          share|improve this answer















          The first thing you should do is backup your most important data in case of a mistake. Then use the LVM resize commands.



          You can find images of procedures on this link:



          How to Extend/REduce LVM's in Linux - Part II



          The actuall commands to reduce the size are:



          resize2fs - Reduce a file-system
          lvreduce - Reduce a Logical volume


          For GUI you can try system-config-lvm from the Ubuntu repository.



          You might consider installing Ubuntu on a Pen-drive. Boot to the pen-drive then install the LVM gui on that drive and manage your hard drive from that session.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 22 '16 at 10:32

























          answered Apr 22 '16 at 9:16









          L. D. JamesL. D. James

          18.9k43889




          18.9k43889













          • I've read somewhere that gparted doesn't support LVM. Thanks anyways

            – DJ18
            Apr 22 '16 at 9:20













          • Sorry. I updated my answer for LVMs.

            – L. D. James
            Apr 22 '16 at 9:56











          • Any GUI method for this?

            – DJ18
            Apr 22 '16 at 10:01











          • @DJ18 Yes. Try system-config.lvm from the repository.

            – L. D. James
            Apr 22 '16 at 10:29





















          • I've read somewhere that gparted doesn't support LVM. Thanks anyways

            – DJ18
            Apr 22 '16 at 9:20













          • Sorry. I updated my answer for LVMs.

            – L. D. James
            Apr 22 '16 at 9:56











          • Any GUI method for this?

            – DJ18
            Apr 22 '16 at 10:01











          • @DJ18 Yes. Try system-config.lvm from the repository.

            – L. D. James
            Apr 22 '16 at 10:29



















          I've read somewhere that gparted doesn't support LVM. Thanks anyways

          – DJ18
          Apr 22 '16 at 9:20







          I've read somewhere that gparted doesn't support LVM. Thanks anyways

          – DJ18
          Apr 22 '16 at 9:20















          Sorry. I updated my answer for LVMs.

          – L. D. James
          Apr 22 '16 at 9:56





          Sorry. I updated my answer for LVMs.

          – L. D. James
          Apr 22 '16 at 9:56













          Any GUI method for this?

          – DJ18
          Apr 22 '16 at 10:01





          Any GUI method for this?

          – DJ18
          Apr 22 '16 at 10:01













          @DJ18 Yes. Try system-config.lvm from the repository.

          – L. D. James
          Apr 22 '16 at 10:29







          @DJ18 Yes. Try system-config.lvm from the repository.

          – L. D. James
          Apr 22 '16 at 10:29




















          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%2f760421%2fchange-size-of-root-patition-in-ubuntu-16-04-lvm%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

          Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

          ComboBox Display Member on multiple fields

          Is it possible to collect Nectar points via Trainline?