Skip to content

Instantly share code, notes, and snippets.

@bobuss
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bobuss/988aaca32f5fbe6e73a9 to your computer and use it in GitHub Desktop.
Save bobuss/988aaca32f5fbe6e73a9 to your computer and use it in GitHub Desktop.
Raspberry recipies

Install a raspbian image on a sd-card, under Max OSX

Fast and clean !

$ df -h
Filesystem                                          Size   Used  Avail Capacity   iused     ifree %iused  Mounted on
/dev/disk1                                         465Gi  188Gi  276Gi    41%  49449884  72346210   41%   /
...
/dev/disk2s1                                        56Mi   14Mi   42Mi    26%       512         0  100%   /Volumes/boot

$ sudo diskutil unmount /dev/disk2s1 
Volume boot on disk2s1 unmounted

$ sudo dd bs=1m if=2015-02-16-raspbian-wheezy.img of=/dev/rdisk2 
...

7601+0 records in
7600+0 records out
7969177600 bytes transferred in 657.521117 secs (12120033 bytes/sec)

Mount Remote Samba shares

$ sudo mount -t cifs -o user=changeme,password=changeme,sec=ntlmv2  //192.168.1x.x/sharedfolder /home/username/sambashare/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment