如何重新划分linux分区大小
1.下载脚本文件,将脚本文件内容复制
|
1
2
|
chmod +x resize.shsudo ./resize.sh |
输入上面命令后会看到下面的结果
|
1
2
3
4
|
root@odroid:~# sudo ./resize.sh Found the start point of mmcblk0p2: 266240Ok, Partition resized, please reboot nowOnce the reboot is completed please run this script again |
重启系统(reboot),重启完成后再重新运行一次脚本文件
|
1
2
3
4
5
|
root@odroid:~# sudo ./resize.sh Activating the new sizeresize2fs 1.42.5 (29-Jul-2012)Done!Enjoy your new space! |
现在你的根目录就是你全部磁盘的大小了
脚本文件下载地址: 链接:http://pan.baidu.com/s/1gfsMl5D 密码:e2g7

浙公网安备 33010602011771号