如何重新劃分linux分區大小
阿新 • • 發佈:2017-11-04
art ati clas roi boot 命令 completed 復制 鏈接
1.下載腳本文件,將腳本文件內容復制
1 2 |
chmod +x resize.sh
sudo . /resize .sh
|
輸入上面命令後會看到下面的結果
1 2 3 4 |
root@odroid:~ # sudo ./resize.sh
Found the start point of mmcblk0p2: 266240
Ok, Partition resized, please reboot now
Once the reboot is completed please run this script again
|
重啟系統(reboot),重啟完成後再重新運行一次腳本文件
1 2 3 4 5 |
root@odroid:~ # sudo ./resize.sh
Activating the new size
resize2fs 1.42.5 (29-Jul-2012)
Done!
Enjoy your new space!
|
現在你的根目錄就是你全部磁盤的大小了
腳本文件下載地址: 鏈接:http://pan.baidu.com/s/1gfsMl5D 密碼:e2g7
如何重新劃分linux分區大小