1. Get a Porteus-OPENBOX-v5.01-x86_64.iso, for example, and mount it.
2. I use grub which is a signed boot loader allowing to load unsigned kernels for compatibility with Secure Boot enabled UEFI systems. From the Porteus-OPENBOX-v5.01-x86_64.iso/boot/syslinux we then only need 2 files: vmlinuz and initrd.xz
2a. In case you customized your previous initrd, typically linuxrc or finit, you need to get those checked in into the new initrd. I use Meld for merging the differences. Then, I assemble my version of initrd using
Code: Select all
/opt/porteus-scripts/makeinitrd -z
2b. Add a menu entry into /mnt/sda1/boot/grub/grub.cfg pointing to the new initrd501 and vmlinuz501
3. Now, an awkward step of replacing the /mnt/sda2/porteus/base and backing-up the /mnt/sda2/porteus/changes. We shouldn't try to do it while it's live of course.
3a. For that I boot into my PorteuX which I actually have on the same USB, and access those folders on the porteus's partition which is not live anymore. Rename base->base50, and copy changes->changes50 as backup.
3b. Copy /Porteus-OPENBOX-v5.01-x86_64.iso/porteus/base --> /mnt/sda2/porteus/
4. Now it's time to try and boot into the new Porteus 5.01 thus prepared, that is using:
1) Amended: boot loader,
2) New: initrd501, vmlinuz501; base,
3) Old: modules, optional; changes
We keep the original base50 and changes50 to roll back to.
I now boot into the new Porteus 5.01. It works without a problem and feels like an incremental update that did not break anything. I'll post here any problems when/if they appear