参考:http://ask.xmodulo.com/install-gparted-linux.html
http://xmodulo.com/how-to-set-up-epel-repository-on-centos.html
1.安装epel-repository
centos7命令:
sudo yum install epel-release
CentOS6及以前的版本参考上面网址
2.安装gparted
$ sudo yum install yum-utils git gnome-common gcc-c++
$ sudo yum-builddep gparted
$ git clone git://git.gnome.org/gparted
$ cd gparted
$ ./autogen.sh
$ make
$ sudo make install
3.使用gparted工具
命令sudo gparted即可打开工具,剩下就是图形化操作界面