reformat, better output
[veternica] / README.md
1 # Veternica raspberry pi deployment in cave
2
3 ```
4 pi@raspberrypi ~ $ uname -a
5 Linux raspberrypi 3.18.7+ #755 PREEMPT Thu Feb 12 17:14:31 GMT 2015 armv6l GNU/Linux
6
7
8 pi@raspberrypi ~ $ cat /etc/os-release
9 PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
10 NAME="Raspbian GNU/Linux"
11 VERSION_ID="7"
12 VERSION="7 (wheezy)"
13 ID=raspbian
14 ID_LIKE=debian
15 ANSI_COLOR="1;31"
16 HOME_URL="http://www.raspbian.org/"
17 SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
18 BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs
19 ```
20
21 # make filesystem read-only
22
23 vi /etc/fstab
24
25 change default to ro for / and /boot
26
27 ## /boot/cmdline.txt
28
29 add ro at end
30
31 root@raspberrypi:/home/pi# cat /boot/cmdline.txt
32 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait ro
33
34 ## emit output from script to console
35
36 start-stop-daemon --no-close
37
38 in vi /etc/init.d/gumb.sh
39
40
41 ## sdcards
42
43 6 corrput root /dev/sdc2
44
45