树莓派安装OpenELEC

 

 

安装 dosfstools 包

 

sudo apt-get install dosfstools 

 

然后解压OpenELEC压缩包,进入目录

sudo ./create_sdcard /dev/sda

 

下边是我用1G内存卡的操作记录

#########################################################
# please execute with your drive as option              #
# example: sudo ./create_sdcard /dev/sdb                #
# or:      sudo ./create_sdcard /dev/mmcblk0            #
# or:      sudo ./create_sdcard /dev/loop0 ~/vSD.img    #
# to create an image file for /dev/loop0 option:        #
#   sudo dd if=/dev/zero of=~/vSD.img bs=1M count=910   #
#########################################################
pi@raspberrypi ~/OpenElec $ sudo ./create_sdcard /dev/sda
#########################################################
#                                                       #
#             OpenELEC.tv USB Installer                 #
#                                                       #
#########################################################
#                                                       #
#     This will wipe any data off your chosen drive     #
# Please read the instructions and use very carefully.. #
#                                                       #
#########################################################
checking MD5 sum...
target/KERNEL: 确定
target/SYSTEM: 确定
umount: /dev/sda: not mounted
umount: /dev/sda1: not mounted
writing new disklabel on /dev/sda (removing all partitions)...
creating partitions on /dev/sda...
marking partition active...
telling kernel we have a new partition table...
creating filesystem on /dev/sda1...
mkfs.vfat 3.0.13 (30 Jun 2012)
creating filesystem on /dev/sda2...
mke2fs 1.42.5 (29-Jul-2012)
文件系统标签=Storage
OS type: Linux
块大小=4096 (log=2)
分块大小=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
51968 inodes, 207872 blocks
10393 blocks (5.00%) reserved for the super user
第一个数据块=0
Maximum filesystem blocks=213909504
7 block groups
32768 blocks per group, 32768 fragments per group
7424 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840

Allocating group tables: 完成
正在写入inode表: 完成
Creating journal (4096 blocks): 完成
Writing superblocks and filesystem accounting information: 完成

mounting partition /dev/sda1 ...
creating bootloader configuration...
copying files to /tmp/openelec_install...
syncing disk...
unmounting partition /tmp/openelec_install ...
cleaning tempdir...
...installation finished

 

 

posted @ 2014-06-14 17:20  hiwjy  阅读(1747)  评论(0编辑  收藏  举报