Root partition is full. No unallocated space. Home partition almost empty. Resize? [duplicate]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite













This question already has an answer here:



  • How to resize partitions?

    4 answers



so when I installed Ubuntu I followed a tutorial that suggested allocating 10-20gb for the / partition so I did. Well I ran out of that space on the first day and I've been struggling a LOT with getting these damn nvidia drivers/cuda drivers to work properly so I don't want to reinstall... So my question is, is it possible, and if so how, to shrink (or delete it completely and just create a new one?) my 200gb /home partition and then allocate about half of that to the root partition? I have 20gb swap, 20gb for root and 200gb for home and that's the whole disk.



I was able to downsize homeI was able to downsize home...



But I cant increase the size of root?but I can't increase the size of root.










share|improve this question















marked as duplicate by karel, Yaron, user68186, David Foerster, Eric Carvalho Feb 7 at 23:42


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • Never be afraid to reinstall. Keep good notes and good backups.
    – user535733
    Feb 7 at 11:50










  • @karel, that sort of worked. I did this and resized the homr partition to half the size. But I can't seem to increase the size of the root partition 🤔
    – Joel Andersson
    Feb 7 at 12:17










  • Yes I am currently booted from a live USB.
    – Joel Andersson
    Feb 7 at 12:19






  • 1




    You will have to move the home partition to the back end of the free space - to the right. Then you can expand root into the now free space.
    – Soren A
    Feb 7 at 12:24















up vote
0
down vote

favorite













This question already has an answer here:



  • How to resize partitions?

    4 answers



so when I installed Ubuntu I followed a tutorial that suggested allocating 10-20gb for the / partition so I did. Well I ran out of that space on the first day and I've been struggling a LOT with getting these damn nvidia drivers/cuda drivers to work properly so I don't want to reinstall... So my question is, is it possible, and if so how, to shrink (or delete it completely and just create a new one?) my 200gb /home partition and then allocate about half of that to the root partition? I have 20gb swap, 20gb for root and 200gb for home and that's the whole disk.



I was able to downsize homeI was able to downsize home...



But I cant increase the size of root?but I can't increase the size of root.










share|improve this question















marked as duplicate by karel, Yaron, user68186, David Foerster, Eric Carvalho Feb 7 at 23:42


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • Never be afraid to reinstall. Keep good notes and good backups.
    – user535733
    Feb 7 at 11:50










  • @karel, that sort of worked. I did this and resized the homr partition to half the size. But I can't seem to increase the size of the root partition 🤔
    – Joel Andersson
    Feb 7 at 12:17










  • Yes I am currently booted from a live USB.
    – Joel Andersson
    Feb 7 at 12:19






  • 1




    You will have to move the home partition to the back end of the free space - to the right. Then you can expand root into the now free space.
    – Soren A
    Feb 7 at 12:24













up vote
0
down vote

favorite









up vote
0
down vote

favorite












This question already has an answer here:



  • How to resize partitions?

    4 answers



so when I installed Ubuntu I followed a tutorial that suggested allocating 10-20gb for the / partition so I did. Well I ran out of that space on the first day and I've been struggling a LOT with getting these damn nvidia drivers/cuda drivers to work properly so I don't want to reinstall... So my question is, is it possible, and if so how, to shrink (or delete it completely and just create a new one?) my 200gb /home partition and then allocate about half of that to the root partition? I have 20gb swap, 20gb for root and 200gb for home and that's the whole disk.



I was able to downsize homeI was able to downsize home...



But I cant increase the size of root?but I can't increase the size of root.










share|improve this question
















This question already has an answer here:



  • How to resize partitions?

    4 answers



so when I installed Ubuntu I followed a tutorial that suggested allocating 10-20gb for the / partition so I did. Well I ran out of that space on the first day and I've been struggling a LOT with getting these damn nvidia drivers/cuda drivers to work properly so I don't want to reinstall... So my question is, is it possible, and if so how, to shrink (or delete it completely and just create a new one?) my 200gb /home partition and then allocate about half of that to the root partition? I have 20gb swap, 20gb for root and 200gb for home and that's the whole disk.



I was able to downsize homeI was able to downsize home...



But I cant increase the size of root?but I can't increase the size of root.





This question already has an answer here:



  • How to resize partitions?

    4 answers







partitioning gparted resize






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 7 at 12:23









karel

51.7k11107131




51.7k11107131










asked Feb 7 at 11:46









Joel Andersson

32




32




marked as duplicate by karel, Yaron, user68186, David Foerster, Eric Carvalho Feb 7 at 23:42


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






marked as duplicate by karel, Yaron, user68186, David Foerster, Eric Carvalho Feb 7 at 23:42


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.













  • Never be afraid to reinstall. Keep good notes and good backups.
    – user535733
    Feb 7 at 11:50










  • @karel, that sort of worked. I did this and resized the homr partition to half the size. But I can't seem to increase the size of the root partition 🤔
    – Joel Andersson
    Feb 7 at 12:17










  • Yes I am currently booted from a live USB.
    – Joel Andersson
    Feb 7 at 12:19






  • 1




    You will have to move the home partition to the back end of the free space - to the right. Then you can expand root into the now free space.
    – Soren A
    Feb 7 at 12:24

















  • Never be afraid to reinstall. Keep good notes and good backups.
    – user535733
    Feb 7 at 11:50










  • @karel, that sort of worked. I did this and resized the homr partition to half the size. But I can't seem to increase the size of the root partition 🤔
    – Joel Andersson
    Feb 7 at 12:17










  • Yes I am currently booted from a live USB.
    – Joel Andersson
    Feb 7 at 12:19






  • 1




    You will have to move the home partition to the back end of the free space - to the right. Then you can expand root into the now free space.
    – Soren A
    Feb 7 at 12:24
















Never be afraid to reinstall. Keep good notes and good backups.
– user535733
Feb 7 at 11:50




Never be afraid to reinstall. Keep good notes and good backups.
– user535733
Feb 7 at 11:50












@karel, that sort of worked. I did this and resized the homr partition to half the size. But I can't seem to increase the size of the root partition 🤔
– Joel Andersson
Feb 7 at 12:17




@karel, that sort of worked. I did this and resized the homr partition to half the size. But I can't seem to increase the size of the root partition 🤔
– Joel Andersson
Feb 7 at 12:17












Yes I am currently booted from a live USB.
– Joel Andersson
Feb 7 at 12:19




Yes I am currently booted from a live USB.
– Joel Andersson
Feb 7 at 12:19




1




1




You will have to move the home partition to the back end of the free space - to the right. Then you can expand root into the now free space.
– Soren A
Feb 7 at 12:24





You will have to move the home partition to the back end of the free space - to the right. Then you can expand root into the now free space.
– Soren A
Feb 7 at 12:24











2 Answers
2






active

oldest

votes

















up vote
0
down vote



accepted










You will have to move the home partition to the back end of the free space - to the right. Then you can expand root into the now free space.






share|improve this answer



























    up vote
    -1
    down vote













    Partitions can be resized by common partition editors (GParted, KDE Partition Manager, etc.), but this can only be done when the partition is unmounted. You effectively can't unmount your / and /home partitions when Ubuntu is running -- so you have a dilemma.



    The solution is to boot from Live media (like the USB or DVD you originally installed from), and use the partition editor in the Live media to do exactly what you suggest -- shrink the /home partition on the left, then expand the / partition to use the freed space. Since shrinking on the left will require moving data, expect the operation to take some time -- possibly an hour or more, depending on the amount of data present -- but once that's done, expanding / should take only a few minutes.






    share|improve this answer
















    • 1




      Downvoter, please explain how this answer is inferior to the accepted one-liner?
      – Zeiss Ikon
      Feb 7 at 13:03











    • I'm not downvoter (I'm actually the maintainer of KDE Partition Manager), but it is not true that you can only resize when partition is unmounted. You can resize mounted partitions too. Btrfs can be both grown and shrunk. Although, ext4 can only be grown.
      – Andrius Å tikonas
      Feb 8 at 17:54

















    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote



    accepted










    You will have to move the home partition to the back end of the free space - to the right. Then you can expand root into the now free space.






    share|improve this answer
























      up vote
      0
      down vote



      accepted










      You will have to move the home partition to the back end of the free space - to the right. Then you can expand root into the now free space.






      share|improve this answer






















        up vote
        0
        down vote



        accepted







        up vote
        0
        down vote



        accepted






        You will have to move the home partition to the back end of the free space - to the right. Then you can expand root into the now free space.






        share|improve this answer












        You will have to move the home partition to the back end of the free space - to the right. Then you can expand root into the now free space.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 7 at 12:56









        Soren A

        3,0681724




        3,0681724






















            up vote
            -1
            down vote













            Partitions can be resized by common partition editors (GParted, KDE Partition Manager, etc.), but this can only be done when the partition is unmounted. You effectively can't unmount your / and /home partitions when Ubuntu is running -- so you have a dilemma.



            The solution is to boot from Live media (like the USB or DVD you originally installed from), and use the partition editor in the Live media to do exactly what you suggest -- shrink the /home partition on the left, then expand the / partition to use the freed space. Since shrinking on the left will require moving data, expect the operation to take some time -- possibly an hour or more, depending on the amount of data present -- but once that's done, expanding / should take only a few minutes.






            share|improve this answer
















            • 1




              Downvoter, please explain how this answer is inferior to the accepted one-liner?
              – Zeiss Ikon
              Feb 7 at 13:03











            • I'm not downvoter (I'm actually the maintainer of KDE Partition Manager), but it is not true that you can only resize when partition is unmounted. You can resize mounted partitions too. Btrfs can be both grown and shrunk. Although, ext4 can only be grown.
              – Andrius Å tikonas
              Feb 8 at 17:54














            up vote
            -1
            down vote













            Partitions can be resized by common partition editors (GParted, KDE Partition Manager, etc.), but this can only be done when the partition is unmounted. You effectively can't unmount your / and /home partitions when Ubuntu is running -- so you have a dilemma.



            The solution is to boot from Live media (like the USB or DVD you originally installed from), and use the partition editor in the Live media to do exactly what you suggest -- shrink the /home partition on the left, then expand the / partition to use the freed space. Since shrinking on the left will require moving data, expect the operation to take some time -- possibly an hour or more, depending on the amount of data present -- but once that's done, expanding / should take only a few minutes.






            share|improve this answer
















            • 1




              Downvoter, please explain how this answer is inferior to the accepted one-liner?
              – Zeiss Ikon
              Feb 7 at 13:03











            • I'm not downvoter (I'm actually the maintainer of KDE Partition Manager), but it is not true that you can only resize when partition is unmounted. You can resize mounted partitions too. Btrfs can be both grown and shrunk. Although, ext4 can only be grown.
              – Andrius Å tikonas
              Feb 8 at 17:54












            up vote
            -1
            down vote










            up vote
            -1
            down vote









            Partitions can be resized by common partition editors (GParted, KDE Partition Manager, etc.), but this can only be done when the partition is unmounted. You effectively can't unmount your / and /home partitions when Ubuntu is running -- so you have a dilemma.



            The solution is to boot from Live media (like the USB or DVD you originally installed from), and use the partition editor in the Live media to do exactly what you suggest -- shrink the /home partition on the left, then expand the / partition to use the freed space. Since shrinking on the left will require moving data, expect the operation to take some time -- possibly an hour or more, depending on the amount of data present -- but once that's done, expanding / should take only a few minutes.






            share|improve this answer












            Partitions can be resized by common partition editors (GParted, KDE Partition Manager, etc.), but this can only be done when the partition is unmounted. You effectively can't unmount your / and /home partitions when Ubuntu is running -- so you have a dilemma.



            The solution is to boot from Live media (like the USB or DVD you originally installed from), and use the partition editor in the Live media to do exactly what you suggest -- shrink the /home partition on the left, then expand the / partition to use the freed space. Since shrinking on the left will require moving data, expect the operation to take some time -- possibly an hour or more, depending on the amount of data present -- but once that's done, expanding / should take only a few minutes.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Feb 7 at 12:28









            Zeiss Ikon

            3,0531721




            3,0531721







            • 1




              Downvoter, please explain how this answer is inferior to the accepted one-liner?
              – Zeiss Ikon
              Feb 7 at 13:03











            • I'm not downvoter (I'm actually the maintainer of KDE Partition Manager), but it is not true that you can only resize when partition is unmounted. You can resize mounted partitions too. Btrfs can be both grown and shrunk. Although, ext4 can only be grown.
              – Andrius Å tikonas
              Feb 8 at 17:54












            • 1




              Downvoter, please explain how this answer is inferior to the accepted one-liner?
              – Zeiss Ikon
              Feb 7 at 13:03











            • I'm not downvoter (I'm actually the maintainer of KDE Partition Manager), but it is not true that you can only resize when partition is unmounted. You can resize mounted partitions too. Btrfs can be both grown and shrunk. Although, ext4 can only be grown.
              – Andrius Å tikonas
              Feb 8 at 17:54







            1




            1




            Downvoter, please explain how this answer is inferior to the accepted one-liner?
            – Zeiss Ikon
            Feb 7 at 13:03





            Downvoter, please explain how this answer is inferior to the accepted one-liner?
            – Zeiss Ikon
            Feb 7 at 13:03













            I'm not downvoter (I'm actually the maintainer of KDE Partition Manager), but it is not true that you can only resize when partition is unmounted. You can resize mounted partitions too. Btrfs can be both grown and shrunk. Although, ext4 can only be grown.
            – Andrius Å tikonas
            Feb 8 at 17:54




            I'm not downvoter (I'm actually the maintainer of KDE Partition Manager), but it is not true that you can only resize when partition is unmounted. You can resize mounted partitions too. Btrfs can be both grown and shrunk. Although, ext4 can only be grown.
            – Andrius Å tikonas
            Feb 8 at 17:54


            Popular posts from this blog

            pylint3 and pip3 broken

            Missing snmpget and snmpwalk

            How to enroll fingerprints to Ubuntu 17.10 with VFS491