|
3288 ubuntu 分区大小请教
发表于 2017-3-22 19:43:36
浏览:9515
|
回复:6
打印
只看该作者
[复制链接]
楼主
参考wiki升级完自己编译的kernel,正常起来后查看容量如下:
root@firefly:~# fdisk -l
Disk /dev/mmcblk0: 29.7 GiB, 31910264832 bytes, 62324736 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 /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 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 /dev/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 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
root@firefly:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 1008M 0 1008M 0% /dev
tmpfs 404M 11M 393M 3% /run
/dev/mmcblk0p3 2.3G 2.3G 0 100% /
tmpfs 1009M 0 1009M 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 1009M 0 1009M 0% /sys/fs/cgroup
tmpfs 202M 0 202M 0% /run/user/0
32G的容量,但是df看不到剩余容量,/dev/mmcblk0p3 2.3G看样子是Ubuntu固件的容量。请教下剩余容量怎么配置进去
parameter参数:
CMDLINE:earlyprintk=ttyS2,115200 console=tty0 console=ttyS2,115200 androidboot.selinux=permissive androidboot.hardware=rk30board androidboot.console=ttyS2 root=/dev/mmcblk0p3 linuxroot rw rootfstype=ext4 init=/sbin/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00010000@0x00002000(boot),0x00002000@0x00012000(backup),-@0x00014000(linuxroot)
|
|