转:http://morningdiary.blog.163.com/blog/static/13084540220131110438989/
软件篇
树莓派官方推荐系统是基于debian的raspbian,但是既然树莓派挂显示器后边,自然是要行使高清播放器的职责,所以软件篇以XBMC为主。在Raspberry Pi上的XBMC独立系统(即开机即是XBMC界面)目前共有三种,分别是OpenELEC、Raspbmc和XBian,这三者基本上大同小异,OpenELEC出得比较早,且安装方式比后两者稍复杂,我还没有使用过;XBian在玩家中口碑不错,属于比较稳定且对树莓派性能挖掘比较深,安装时不需要网络支持;Raspbmc则是得到官方支持,安装时需要全程网络支持,带有GUI设置程序,适合喜欢折腾的人士,以下以Raspbmc为例。
网络下载比较慢,可以采取在官方网站下载sd.img,在windows系统下烧录。
从Raspbmc网站上下载最新优化好的xbmc系统,烧到SD卡上,整个系统就可以
跑了。不过不建议用Raspbmc的Installer,从国外网站下载实在太慢,所以可以直接下载镜像,解压后得到sd.img,用Win32DiskImager烧到SD卡中。
1、SD卡的处理
下载官方的安装程序,运行如图

安装方式比较丰富,可以安装到USB设备,也可以安装到NFS网络共享空间中

如果局域网中没有DHCP服务器的话,还能事先设置好IP地址,需要注意的是,Raspbmc在树莓派上的安装全程需要网络支持,所以网络设置如果出错的话,则无法正常安装

选中SD卡,同意协议,点击Install安装,会下载16M的引导文件

引导文件写入SD卡之后,提示可以将卡拿到树莓派上进行后续安装

2、XBMC安装
Raspbmc在树莓派上的安装时间取决于网络,因为SD卡中的只有安装用的引导程序,其他全部都需要从网络上进行下载
安装开始时即连接Raspbmc服务器

安装过程需要15-25分钟,如果你家里网络很慢的话,一晚上也说不定的哦..

官方的FAQ地址,方便用户查询~~

让我们看看安装过程中到底做了什么
分区格式化

下载根文件系统

安装根文件系统

下载内核模块

安装内核模块

下载内核及引导程序
至此,文件系统及内核方面的安装工作完成

Raspbmc的启动画面

重启后继续自动安装
为首次运行进行设置

更新配置服务

开始下载XBMC

很快下载完毕(速度视网络而定)

开始解压

解压完毕

重启后,终于看到熟悉的XBMC界面
