|
发表于 2014-10-14 12:07:38
|
显示全部楼层
sudo fdisk /dev/mmcblk0
Command (m for help): p
Disk /dev/mmcblk0: 31.9 GB, 31914983424 bytes
4 heads, 16 sectors/track, 973968 cylinders, total 62333952 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009efa1
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 2048 94207 46080 83 Linux
/dev/mmcblk0p2 94208 62333951 31119872 83 Linux
用d ,删除 这个mmcblk0p2 , 然后用n, 创建,选择默认值,就是完整的SD 卡的大小。 w 写入后reboot.
用resize2fs /dev/mmcblk0p2 (大概是这个命令。)
应该就好了。 |
|