Xiaopei's DokuWiki

These are the good times in your life,
so put on a smile and it'll be alright

User Tools

Site Tools


raspberry pi


最大的问题: SD 卡!

  • 优化 SD 卡的使用:
  • 自动修复 SD 卡故障 FIXME
  • 要用大 SD 卡! Writes are supposed to be spread out among the card, so the larger the card, the less chance of it writing over the same area multiple times. Most GNU/Linux distributions on the Pi can fit on a 4GB card, but 8GB and even 16GB cards are becoming more affordable. Just going from a 4GB to 8 GB card will cut the number of writes to the same area of the card in half.

更推荐自带 Storage 的 BBB BeagleBoard.org - BeagleBone Black

关于在 BBB 上安 UBT (有一个非官方镜像是有插 SD 卡自动将 SD 卡的系统烧入 BBB, 且 BBB 还有 USB 虚拟网口 (插 USB 线到 (ubungu) 电脑, 自动识别一块网卡) 的功能) : http://elinux.org/BeagleBoardUbuntu

PI 和 BBB 的对比: How to Choose the Right Platform: Raspberry Pi or BeagleBone Black? | MAKE

如果 mac 烧不了 sd 卡, 可能是 mac 的卡槽 (slot) 坏了, 用读卡器吧. 1)

修改 etc 减少写操作的方法

#### fstab
proc            /proc           proc    defaults          0       0
# sd 卡只做 /boot
/dev/mmcblk0p1  /boot           vfat    defaults          0       2
# u 盘做 root
/dev/sda1	/               ext4    defaults,noatime  0       1
# 临时的都用 tmpfs
tmpfs /run     tmpfs nodev,nosuid,size=10M 0 0
tmpfs /var/log tmpfs nodev,nosuid,size=20M 0 0
tmpfs /tmp     tmpfs nodev,nosuid,size=10M 0 0
#### monit
# 临时文件放到 tmpfs 分区
  set idfile /run/monit_id
  set statefile /run/monit_state
#### environment
it/raspberry_pi.txt · Last modified: 2014/06/18 16:29 by admin