Raspberry Pi/Installing
(→Ubuntu) |
|||
(8 intermediate revisions by one user not shown) | |||
Line 8: | Line 8: | ||
====Installing Image==== | ====Installing Image==== | ||
+ | =====MAC OSX===== | ||
http://elinux.org/RPi_Easy_SD_Card_Setup#Using_command_line_tools_.281.29<br\> | http://elinux.org/RPi_Easy_SD_Card_Setup#Using_command_line_tools_.281.29<br\> | ||
1) identify the disk (not partition) of your SD card. e.g. disk4 (not disk4s1) | 1) identify the disk (not partition) of your SD card. e.g. disk4 (not disk4s1) | ||
Line 17: | 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 <code>bs=1</code> to <code>bs=32</code> really had no affect on write speed. | ||
+ | |||
3b) to check status of copy | 3b) to check status of copy | ||
CRTL+T | CRTL+T | ||
− | 4) | + | 4) eject SD Card |
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===== | ||
+ | 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/sdb | ||
+ | 3) copy image onto SD Card | ||
+ | sudo dd bs=4M if=<your image file>.img of=/dev/sdb from fdisk> | ||
+ | e.g. sudo dd bs=4M if=2015-02-16-raspbian-wheezy.img of=/dev/sdb | ||
+ | 4) eject SD Card | ||
+ | sudo eject /dev/sdb | ||
====Getting wireless card to work on WEP==== | ====Getting wireless card to work on WEP==== | ||
+ | http://jeffskinnerbox.wordpress.com/2012/11/05/wifi-support-on-raspberry-pi/<br> | ||
~$ nano /etc/network/interfaces | ~$ nano /etc/network/interfaces | ||
# The loopback network interface< | # The loopback network interface< | ||
Line 38: | Line 61: | ||
wireless-essid YOUR_SSID | wireless-essid YOUR_SSID | ||
wireless-key YOUR_WEP_KEY | wireless-key YOUR_WEP_KEY | ||
+ | |||
+ | ====PwnPi3.0==== | ||
+ | download form [http://sourceforge.net/projects/pwnpi/files/pwnpi-3.0.img.7z/download here]<br> | ||
+ | install .img just like you would a normal .img<br> | ||
+ | =====if the pi fails to boot===== | ||
+ | download raspberry pi boot files from [https://github.com/raspberrypi/firmware/archive/master.zip here]<br> | ||
+ | copy the boot directory to the raspberry pi and overwrite any matching files. |
Latest revision as of 13:30, 8 May 2016
Contents |
[edit] Download Wheezy
http://www.raspberrypi.org/downloads
[edit] 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
[edit] Installing Image
[edit] 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=32m
changing bs=1
to bs=32
really 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
[edit] 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/sdb
3) copy image onto SD Card
sudo dd bs=4M if=<your image file>.img of=/dev/sdb from fdisk> e.g. sudo dd bs=4M if=2015-02-16-raspbian-wheezy.img of=/dev/sdb
4) eject SD Card
sudo eject /dev/sdb
[edit] 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
[edit] PwnPi3.0
download form here
install .img just like you would a normal .img
[edit] 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.