@@ -76,11 +76,18 Enable iptables IPv4/IPv6 firewall | |||||
76 | ##### `ENABLE_HARDNET`=false |
|
76 | ##### `ENABLE_HARDNET`=false | |
77 | Enable IPv4/IPv6 network stack hardening settings |
|
77 | Enable IPv4/IPv6 network stack hardening settings | |
78 |
|
78 | |||
|
79 | ## Logging of the bootstrapping process | |||
|
80 | All information related to the bootstrapping process and the commands executed by the `rpi2-gen-image.sh` script can easily be saved into a logfile. The common shell command `script` can be used for this purpose: | |||
|
81 | ||||
|
82 | ```shell | |||
|
83 | script -c 'APT_SERVER=ftp.de.debian.org ./rpi2-gen-image.sh' ./build.log | |||
|
84 | ``` | |||
|
85 | ||||
79 | ## Flashing the image file |
|
86 | ## Flashing the image file | |
80 | After the image file was succesfully created by the `rpi2-gen-image.sh` script it can be copied to the microSD card that will be used by the RPi2 computer. This can be performed by using the tools `bmaptool` or `dd`. Using `bmaptool` will probably speed-up the copy process because `bmaptool` copies more wisely than `dd`. |
|
87 | After the image file was succesfully created by the `rpi2-gen-image.sh` script it can be copied to the microSD card that will be used by the RPi2 computer. This can be performed by using the tools `bmaptool` or `dd`. Using `bmaptool` will probably speed-up the copy process because `bmaptool` copies more wisely than `dd`. | |
81 |
|
88 | |||
82 | #####Flashing examples: |
|
89 | #####Flashing examples: | |
83 | ```shell |
|
90 | ```shell | |
84 | bmaptool copy ./images/jessie/2015-12-13-debian-jessie.img /dev/mmcblk0 |
|
91 | bmaptool copy ./images/jessie/2015-12-13-debian-jessie.img /dev/mmcblk0 | |
85 | dd bs=4M if=./images/jessie/2015-12-13-debian-jessie.img of=/dev/mmcblk |
|
92 | dd bs=4M if=./images/jessie/2015-12-13-debian-jessie.img of=/dev/mmcblk0 | |
86 | ``` |
|
93 | ``` |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant