Raspberry Pi/Installing
(→Ubuntu) |
(→MAC OSX) |
||
Line 18: | Line 18: | ||
sudo dd bs=1m if=<your image file>.img of=/dev/<disk# from diskutil> | sudo dd bs=1m if=<your image file>.img of=/dev/<disk# from diskutil> | ||
e.g. sudo dd bs=1m if=2012-12-16-wheezy-raspbian.img of=/dev/disk4 | e.g. sudo dd bs=1m if=2012-12-16-wheezy-raspbian.img of=/dev/disk4 | ||
+ | I had some issues with the write speed being unreasonably slow and found a suggestion that sped the process up considerably. Add "r" in front of the disk and specify the exact path of the formatted volume: | ||
+ | e.g. sudo dd if=~/Downloads/raspberry_pi/ubuntu-15.04-snappy-armhf-raspi2.img of=/dev/rdisk2s1 bs=32m | ||
+ | changing <pre>bs=1</pre> to <pre>bs=32</pre> really had no affect on write speed. | ||
+ | |||
3b) to check status of copy | 3b) to check status of copy | ||
CRTL+T | CRTL+T | ||
Line 23: | Line 27: | ||
sudo diskutil eject <disk# from diskutil> | sudo diskutil eject <disk# from diskutil> | ||
e.g. sudo diskutil eject /dev/rdisk3 | e.g. sudo diskutil eject /dev/rdisk3 | ||
+ | |||
=====Ubuntu===== | =====Ubuntu===== | ||
1) identify the disk (not partition) of your SD card. e.g. /dev/sdb | 1) identify the disk (not partition) of your SD card. e.g. /dev/sdb |
Revision as of 07:51, 18 January 2016
Contents |
Download Wheezy
http://www.raspberrypi.org/downloads
Verify SHA1
http://support.apple.com/kb/ht1652
openssl sha1 [full path to file] e.g. openssl sha1 /Users/myaccount/Documents/1024SecUpd2003-03-03.dmg
Installing Image
MAC OSX
http://elinux.org/RPi_Easy_SD_Card_Setup#Using_command_line_tools_.281.29
1) identify the disk (not partition) of your SD card. e.g. disk4 (not disk4s1)
diskutil list
2) unmount SD Card
diskutil unmountDisk /dev/<disk# from diskutil> e.g. diskutil unmountDisk /dev/disk4
3) copy image onto SD Card
sudo dd bs=1m if=<your image file>.img of=/dev/<disk# from diskutil> e.g. sudo dd bs=1m if=2012-12-16-wheezy-raspbian.img of=/dev/disk4
I had some issues with the write speed being unreasonably slow and found a suggestion that sped the process up considerably. Add "r" in front of the disk and specify the exact path of the formatted volume:
e.g. sudo dd if=~/Downloads/raspberry_pi/ubuntu-15.04-snappy-armhf-raspi2.img of=/dev/rdisk2s1 bs=32mchanging
bs=1to
bs=32really had no affect on write speed.
3b) to check status of copy
CRTL+T
4) eject SD Card
sudo diskutil eject <disk# from diskutil> e.g. sudo diskutil eject /dev/rdisk3
Ubuntu
1) identify the disk (not partition) of your SD card. e.g. /dev/sdb
sudo fdisk -l
Look for the Disk which has the correct volume size
i.e. Disk /dev/sdb 15.9 GB
Next look for the Device Boot path listed further down
Device Boot /dev/sdb1
2) unmount SD Card
sudo umount /dev/sdb1
3) copy image onto SD Card
sudo dd bs=1M if=<your image file>.img of=/dev/sdb from fdisk> e.g. sudo dd bs=1M if=2015-02-16-raspbian-wheezy.img of=/dev/sdb1
4) eject SD Card
sudo eject /dev/sdb1
Getting wireless card to work on WEP
http://jeffskinnerbox.wordpress.com/2012/11/05/wifi-support-on-raspberry-pi/
~$ nano /etc/network/interfaces # The loopback network interface< auto lo iface lo inet loopback # The primary (wired) network interface iface eth0 inet dhcp # The wifi (wireless) network interface auto wlan0 allow-hotplug wlan0 iface wlan0 inet dhcp wireless-essid YOUR_SSID wireless-key YOUR_WEP_KEY
PwnPi3.0
download form here
install .img just like you would a normal .img
if the pi fails to boot
download raspberry pi boot files from here
copy the boot directory to the raspberry pi and overwrite any matching files.