17. Make directory for
Firefox OS
$ cd
$ mkdir fxos
$ cd fxos
[dir]: Directory name
cd [dir]: Change Directory for [dir]
(if [dir] = empty then [dir] = HomeDirectory)
mkdir [dir]: Make Directory
18. Download Firefox OS
$ wget http://michi.mozlabs.jp/fxos/
b2g-17.0a1.linuxgl-gnueabi-armhf_v6.tar.gz
[NetFile]: File on WWW
wget [NetFile]: Download [NetFile]
19. Unpack
Firefox OS tarball
$ tar xvzf b2g-17.0a1.linuxgl-gnueabi-
armhf_v6.tar.gz
$ cd b2g/
[file]: tarball file name
tar xvzf [file]: unpack command
(x:unpack files,
v:view files list,
z:.gz unpack,
f [file]: tarball file name)
20. Download and unpack
profile data
$ wget http://michi.mozlabs.jp/fxos/
profile.tar.gz
$ tar xvzf profile.tar.gz
27. Install Start!
Make Directory
$ cd
$ mkdir raspi
$ cd raspi
[dir]: Directory name
cd [dir]: Change Directory for [dir]
(if [dir] = empty then [dir] = HomeDirectory)
mkdir [dir]: Make Directory
28. Download
Raspbian “wheezy”
$ wget http://downloads.raspberrypi.org/
images/raspbian/2012-10-28-wheezy-
raspbian/2012-10-28-wheezy-raspbian.zip
You can get hire ↓
http://www.raspberrypi.org/
downloads
29. Unpack Zip
$ unzip 2012-10-28-wheezy-raspbian.zip
[file]: Zip File name
unzip [file]: Unpack [file]
30. Insert SD card
$ df
df: Show disk parameters
Filesystem 512-blocks Used Available Capacity Mounted on
/dev/disk0s2 723603632 442647392 280444240 62% /
devfs 376 376 0 100% /dev
map -hosts 0 0 0 100% /net
map auto_home 0 0 0 100% /home
/dev/disk2s1 31488000 4480 31483520 1% /Volumes/NO NAME
Take note : /dev/disk2s1(BSD Name)
31. Unmount SD Card
$ sudo diskutil unmount /dev/disk2s1
password: *****
[com]: Command
[disk]: BSD name
sudo [com]: Run command as super user
password: *****: Super user password
diskutil: OSX disk utility command
diskutil unmount [disk]: Unmount disk
32. Write
Debian “wheezy”
$ sudo dd bs=1m
if=./2012-10-28-wheezy-raspbian.img
of=/dev/rdisk2
[img disk]: Image disk
./ : Current Directory
/ : Root Directory
dd: Disk dump
(Copy all image)
bs=*: Block Size(1m=1MB)
if=[img disk]: Source image disk
of=[disk]: Output disk
33. Write
Debian “wheezy”
$ sudo dd bs=1m
if=./2012-10-28-wheezy-raspbian.img
of=/dev/rdisk2
Q: !? I noted /dev/disk2s1.
A: /dev/disk2s1 is one of disk partition
Add r for raw access to disk2
s1 means partition
Therefore “/dev/rdisk2”
35. First Step of Pi
expand_rootfs
Use SD Card full access
configure_keyboard
Select your keyboard layout
change_timezone
ex:「Asia」→「Tokyo」
update
Update Debian