16GSD卡刷好Cubian系统后剩余可用空间看不到
如题。那看到啥?
我用了16G, 32G 的SD 卡,cubian 系统都正常。 joyhope 发表于 2014-10-13 22:13 static/image/common/back.gif
那看到啥?
我用了16G, 32G 的SD 卡,cubian 系统都正常。
只看到系统的东西,没有其他的空间,而且系统使用的空间不过几G,剩余的看不到 Filesystem 1M-blocksUsed Available Use% Mounted on
rootfs 1301M 1222M 13M 100% /
/dev/root 1301M 1222M 13M 100% /
devtmpfs 922M 0M 922M 0% /dev
tmpfs 185M 1M 185M 1% /run
tmpfs 5M 0M 5M 0% /run/lock
tmpfs 369M 0M 369M 0% /run/shm
tmpfs 922M 1M 922M 1% /tmp
tmpfs 922M 0M 922M 0% /var/tmp
不知道为什么你的系统没有自动做 分区扩展。 (我感觉这个发行版有这个能力,首次安装后,他会自动boot, 估计是在做这个。) 尝试手工做做看。
用fdisk 的命令,删除一个ext4 的分区,然后再创建。reboot 后,用resize2fs 来扩展。 大概是这个流程。(我因为扳子正常,无法完整的做一遍)。 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 IdSystem
/dev/mmcblk0p1 2048 94207 46080 83Linux
/dev/mmcblk0p2 94208 62333951 31119872 83Linux
用d ,删除 这个mmcblk0p2 , 然后用n, 创建,选择默认值,就是完整的SD 卡的大小。 w 写入后reboot.
用resize2fs /dev/mmcblk0p2 (大概是这个命令。)
应该就好了。 joyhope 发表于 2014-10-14 12:07 static/image/common/back.gif
sudo fdisk /dev/mmcblk0
Command (m for help): p
谢谢指点,我试试
页:
[1]