1.下載腳本文件,將腳本文件內容復制
chmod +x resize.sh sudo ./resize.sh
輸入上面命令后會看到下面的結果
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),重啟完成后再重新運行一次腳本文件
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
