|
本帖最后由 sweesin 于 2013-11-9 17:19 编辑
最近我的CB2 NAND 空间开始不够了,
查看df -hl 才知道之前的镜像才用了2Gig。
Filesystem Size Used Avail Use% Mounted on
/dev/nandd 2,0G 1,1G 851M 56% /
none 4,0K 0 4,0K 0% /sys/fs/cgroup
none 91M 368K 91M 1% /run
none 5,0M 0 5,0M 0% /run/lock
none 454M 0 454M 0% /run/shm
none 100M 0 100M 0% /run/user
overflow 1,0M 0 1,0M 0% /tmp
爬过很多文,试用nand-part
root@cubieboard:/home/linaro# ./nand-part
check partition table copy 0: mbr: version 0x00000200, magic softw411
OK
check partition table copy 1: mbr: version 0x00000200, magic softw411
OK
check partition table copy 2: mbr: version 0x00000200, magic softw411
OK
check partition table copy 3: mbr: version 0x00000200, magic softw411
OK
mbr: version 0x00000200, magic softw411
5 partitions
partition 1: class = DISK, name = bootloader, partition start = 32768, partition size = 65536 user_type=0
partition 2: class = DISK, name = env, partition start = 98304, partition size = 32768 user_type=0
partition 3: class = DISK, name = boot, partition start = 131072, partition size = 65536 user_type=0
partition 4: class = DISK, name = rootfs, partition start = 196608, partition size = 4194304 user_type=0
partition 5: class = DISK, name = UDISK, partition start = 4390912, partition size = 3342336 user_type=0
当我用./nand-part /dev/nand "env 32768" "boot 65536" "rootfs 7536640" "swap 0" 来增大rootfs,却不能。- root@cubieboard2:~/compiler/sunxi-tools# ./nand-part /dev/nand "env 32768" "boot 65536" "rootfs 7536640" "swap 0"
- check partition table copy 0: mbr: version 0x00000200, magic softw411
- magic softw411 is not softw311
- check partition table copy 1: mbr: version 0x00000000, magic
- magic is not softw311
- check partition table copy 2: mbr: version 0x00000000, magic
- magic is not softw311
- check partition table copy 3: mbr: version 0x00000000, magic
- magic is not softw311
- all partition tables are bad!
- check partition table copy 0: mbr: version 0x00000200, magic softw411
- OK
- check partition table copy 1: mbr: version 0x00000200, magic softw411
- OK
- check partition table copy 2: mbr: version 0x00000200, magic softw411
- OK
- check partition table copy 3: mbr: version 0x00000200, magic softw411
- OK
- mbr: version 0x00000200, magic softw411
- 5 partitions
- partition 1: class = DISK, name = bootloader, partition start = 32768, partition size = 65536 user_type=0
- partition 2: class = DISK, name = env, partition start = 98304, partition size = 32768 user_type=0
- partition 3: class = DISK, name = boot, partition start = 131072, partition size = 65536 user_type=0
- partition 4: class = DISK, name = rootfs, partition start = 196608, partition size = 4194304 user_type=0
- partition 5: class = DISK, name = UDISK, partition start = 4390912, partition size = 3342336 user_type=0
- Partition 1 starting offset must be at least 128
复制代码 各位大大有什么办法吗?
谢谢
|
|