|
本帖最后由 play4fun 于 2013-4-29 10:29 编辑
在新浪微博联系我@JAVA搜索
http://weibo.com/richlinux
下载cubie-server-t4镜像
https://www.miniand.com/forums/forums/development--5/topics/linaro-ubuntu-custom-server-images-armhf
解压
README.txt中提示:
Note that this image is approximately 2G in size. Since you're certainly going
to use a larger SD card, you should go in and resize the second partition up to
the maximum size, and then run resize2fs on the partition as well. That way
you'll end up using the maximum space.
然后,如此这般:
dd if=disk.img of=/dev/sdz conv=fsync
374 sudo umount /media/*
375 sudo fdisk /dev/sdb
先使用d删除分区2,sdb2
然后用n新建分区2,sdb2,使用剩余所有分区。
378 sudo e2fsck -f /dev/sdb2
e2fsck 1.41.14 (22-Dec-2010)
第一步: 检查inode,块,和大小
第二步: 检查目录结构
第3步: 检查目录连接性
Pass 4: Checking reference counts
第5步: 检查簇概要信息
cuberoot: 23152/118080 files (0.1% non-contiguous), 197295/472320 blocks
379 sudo resize2fs /dev/sdb2
resize2fs 1.41.14 (22-Dec-2010)
Resizing the filesystem on /dev/sdb2 to 3872768 (4k) blocks.
The filesystem on /dev/sdb2 is now 3872768 blocks long.
$ df -h
文件系统 容量 已用 可用 已用%% 挂载点
/dev/sdb2 15G 744M 14G 6% /media/cuberoot
/dev/sdb1 64M 3.6M 61M 6% /media/F9C8-1201
sdb2,第二分区能使用15G空间了。
在笔记本电脑上拔下TF卡,插到cubieboard开发板上,
然后接TTL线,电源,开机。
登陆到cubieboard上,
Welcome to Linaro 13.02 (GNU/Linux 3.4.29-t4 armv7l)
* Documentation: https://wiki.linaro.org/
root@localhost:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p2 15G 745M 14G 6% /
devtmpfs 408M 4.0K 408M 1% /dev
none 408M 0 408M 0% /tmp
none 82M 224K 82M 1% /run
none 408M 0 408M 0% /var/tmp
none 5.0M 0 5.0M 0% /run/lock
none 408M 0 408M 0% /run/shm
none 100M 0 100M 0% /run/user
|
评分
-
查看全部评分
|