In the installation of new systems, sometimes can not estimate or wrong partition size, often lead to the operation behind us is greatly inconvenient, such as a partition is too small, resulting in software installation will be reported when the installation space is not enough, which is very troublesome. Here, I'll record the whole process of resizing the home and root partitions after the error partition! 1. View the existing partition status of our machine note the information in the red box, which is the partition path that we want to change later. By the above we can find that the root partition and the home partition produce great irrationality, the home partition is too large, so here we will reduce the storage space on the home partition and add the compressed storage space under root. 2. Uninstall our home section, and compress our home partition size 3. At this time we reload our home directory, and by running the results we can see that we have compressed the home partition to 20G and then we have finished compressing the home and reloading it, such as: 4. We have processed the home block in three steps above, but our free hard drive has not been added to RO OT, so the next step is to add the compressed disk space to the root: this reload and mount the process will take a little time, but we can also continue to see the size of the letter during this time, we will find that the root of the size of the letter will be a little increased up, For example: from the final result we can see that we have compressed the free drive in the home 812G added to the root so that our root space is instantly increased. So our aim is achieved. This article turns from: 65437609
HTTPS DetailXBasic Translationabbr. Hypertext Transfer Protocol security (Hyper Text Transfer Protocol)Network explanationHttps:http Securehttps Tracker: Support Android https: Communication security
resizing partitions under Linux (Centos) (for example, home and root partitions)