18 Jan 2011 23:11
HOWTO example for ReadOnly Rootfs using multistrap
Marcus Osdoba <marcus.osdoba <at> googlemail.com>
2011-01-18 22:11:06 GMT
2011-01-18 22:11:06 GMT
Hello mailinglist, I tried several embedded linux systems for my target device (seagate dockstar - 128MiB/kirkwood/4USBports) and finally came back to Debian/Emdebian. Since I like to install the system onto the internal NAND flash, my main requirement was to use a READ ONLY root file system - or at least one without write access besides configuration issues. The obviously volatile result was made public here: http://gitorious.org/dockstar/emdebian-multistrap The information is placed here, if anyone digging through the mailinglist archive would look for an example for a) using multistrap b) read only rootfs The solution is not perfect but works for me. Makefiles would be a better way than bash skripts, but at the beginning I wasn't aware of the recipe/make character. The skript set produces a ubi-image, ext2 image and tar.gz of the generated rootfs. The way how this is created is ugly and not very generic: - no (marginal) sanity checks - defining packages in conf file - running multistrap - tweak configuration (e.g. nameserver and iface) - tweaking some packages for read only usage (e.g. fsck.ubifs, samba)(Continue reading)
RSS Feed