OS in updatable image - Raspberry Pi Forums


hello,

on high level, want create upgradeable custom os build.
first thought how can implemented need boot os image file , later able update file booted os. i've read docs, searched how can done, found keywords squashfs, unionfs, overlayfs, noobs, still not sure.

think this: have mmcblk0p1 fat32 partition mounted boot, large enought 2 os images (like 4-5gb or so), some, let's say, os15.squashfs file on it. device boots "/boot/os15.squashfs" readonly root (which ok me) , continues mounting mmcblk0p2 /var/ read-write, have working system. boot partition r/w too, create (download) new file os16.squashfs on , somehow switch (by editing cmdline.txt instance) new file, restart rpi , i'm done upgrade.

while seems idea, there lot of details did not figure out yet.

if done before, please can share links useful docs, blog posts or other thing can me.

adontz wrote:hello,

on high level, want create upgradeable custom os build.
first thought how can implemented need boot os image file , later able update file booted os. i've read docs, searched how can done, found keywords squashfs, unionfs, overlayfs, noobs, still not sure.

think this: have mmcblk0p1 fat32 partition mounted boot, large enought 2 os images (like 4-5gb or so), some, let's say, os15.squashfs file on it. device boots "/boot/os15.squashfs" readonly root (which ok me) , continues mounting mmcblk0p2 /var/ read-write, have working system. boot partition r/w too, create (download) new file os16.squashfs on , somehow switch (by editing cmdline.txt instance) new file, restart rpi , i'm done upgrade.

while seems idea, there lot of details did not figure out yet.

if done before, please can share links useful docs, blog posts or other thing can me.
rpi seeks boot files on sd card in fat partition when starting up, best not use partition else:

https://thekandyancode.wordpress.com/20 ... i-boots-up

berryboot allows dual booting using 1 kernel

http://www.berryterminal.com/doku.php/berryboot


noobs more of operating system chooser, each os in own partition

https://github.com/raspberrypi/noobs


raspberrypi



Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support