I run Boot-3 systemD style. Where the save space is a partition (instead of a file or folder). Which means I can extract everything from filesystem.squashfs to that save space and boot it as though a full install. I don't compile the kernel or anything like that, just use Debian updates (apt-get update).trister wrote:Very interesting ...
My question is for DD64 Jessie:
Would it be very difficult to have the kernel file updated and update the contents of 01-filesystem.squashfs so by just replacing these 2 files we would have DD64 stretch/Debian9 version?
Am I oversimplifying the process? (I am not experienced in upgrading/compiling kernels)
Conceptually I could set up DD64 like that, run apt-get update, apt-get upgrade to update to the latest Jessie, then repoint the repository to Stretch and repeat ... and it would all update to the latest Stretch. And then reform/remaster the main filesystem.squashfs. I suspect however that would increase the filesystem.squashfs filesize significantly and perhaps only be usable as a boot-3 type choice. There's also the risk that the DD specific scripts might no longer work as intended after such updating. A quick test of standard Debian Stretch CLI updated to the latest, with xorg, jwm and rox-filer results in around a 800MB filesystem.squashfs size (2GB uncompressed size, using gzip compression). Most of that however is the standard debian CLI files. On modern kit, 2GB of ram is relatively small nowadays (enough to fit the whole image into memory, bearing in mind a lot might not even be used during the average session).
One way might be to update just Debian standard (CLI) to the latest Stretch and then strip that down to just the 'required' packages, along with moving locale's ...etc outside of that, and then apt-get install xorg rox-filer jwm on top of that. However my own personal situation is that I don't need a small filesize as modern kit tends to have more than enough disk space and memory to not have to bother. I'm content to run frugally as I prefer that (read only with optional save) to running full installs where all changes are made persistent as and when they occur.