README notes
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 23 Jul 2023 09:01:05 +0000 (11:01 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 23 Jul 2023 09:01:05 +0000 (11:01 +0200)
README.md [new file with mode: 0644]

diff --git a/README.md b/README.md
new file mode 100644 (file)
index 0000000..255b578
--- /dev/null
+++ b/README.md
@@ -0,0 +1,45 @@
+# Veternica raspberry pi deployment in cave
+
+```
+pi@raspberrypi ~ $ uname -a
+Linux raspberrypi 3.18.7+ #755 PREEMPT Thu Feb 12 17:14:31 GMT 2015 armv6l GNU/Linux
+
+
+pi@raspberrypi ~ $ cat /etc/os-release
+PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
+NAME="Raspbian GNU/Linux"
+VERSION_ID="7"
+VERSION="7 (wheezy)"
+ID=raspbian
+ID_LIKE=debian
+ANSI_COLOR="1;31"
+HOME_URL="http://www.raspbian.org/"
+SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
+BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs
+```
+
+# make filesystem read-only
+
+vi /etc/fstab
+
+change default to ro for / and /boot
+
+## /boot/cmdline.txt
+
+add ro at end
+
+root@raspberrypi:/home/pi# cat /boot/cmdline.txt
+dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait ro
+
+## emit output from script to console
+
+start-stop-daemon --no-close
+
+in vi /etc/init.d/gumb.sh
+
+
+## sdcards
+
+6 corrput root /dev/sdc2
+
+