diff options
author | Vincent Knecht <vincent.knecht@mailoo.org> | 2016-03-11 17:44:01 +0100 |
---|---|---|
committer | Vincent Knecht <vincent.knecht@mailoo.org> | 2016-03-11 17:44:01 +0100 |
commit | 54acc1e70a3e357d0c60e4d9a9afd99077edce84 (patch) | |
tree | d7771a278277622263a3c1c9ab14704497848c16 /README.md | |
parent | f6d8c17fbf01d3c095ac644ed539f472ceba3950 (diff) | |
download | rpi2-gen-image-54acc1e70a3e357d0c60e4d9a9afd99077edce84.tar.gz rpi2-gen-image-54acc1e70a3e357d0c60e4d9a9afd99077edce84.tar.bz2 rpi2-gen-image-54acc1e70a3e357d0c60e4d9a9afd99077edce84.zip |
Added ENABLE_SPLITFS option to create distinct images for firmware and root partitions
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -149,6 +149,9 @@ password, use only in trusted environments. ##### `ENABLE_HARDNET`=false Enable IPv4/IPv6 network stack hardening settings. +##### `ENABLE_SPLITFS`=false +Enable having root partition on an USB drive by creating two image files: one for the `/boot/firmware` mount point, and another for `/`. + ##### `CHROOT_SCRIPTS`="" Path to a directory with scripts that should be run in the chroot before the image is finally built. Every executable file in this direcory is run in lexicographical order. @@ -167,3 +170,8 @@ After the image file was successfully created by the `rpi2-gen-image.sh` script bmaptool copy ./images/jessie/2015-12-13-debian-jessie.img /dev/mmcblk0 dd bs=4M if=./images/jessie/2015-12-13-debian-jessie.img of=/dev/mmcblk0 ``` +If you have set `ENABLE_SPLITFS`, copy the `-frmw` image on the microSD card, then the `-root` one on the USB drive: +```shell +bmaptool copy ./images/jessie/2015-12-13-debian-jessie-frmw.img /dev/mmcblk0 +bmaptool copy ./images/jessie/2015-12-13-debian-jessie-root.img /dev/sdc +``` |