When I did my first Knoppix remastering back in 2006, using chroot was in practice necessary. But returning to the kind of task a few years later, and following the methods outlined by other forum members here, I found that I didn't need it.
Chroot is important when a brand new OS version is created from scratch, for then there isn't anything to run yet. But I have found that as soon as I have a version able to run, it is much better working from that. And with easily configurable (in several parallel versions) persistent store, running the developing system in something like kvm is a very simple, robust and efficient way of applying and testing changes.
Working from Knoppix 7.6.1 (for example), I can run the ISO in kvm, use the flash installer to install Knoppix on the first partition of a USB SSD disk, and start creating alternatives by modifying the booting .cfg file there. When I then run (the external disk is identified as /dev/sdc)
I can use the booting alternatives in the syslinux file. I can even do remastering safely running from the image to be remastered, if I start without persistence. And after the first remastering, I will have all necessary tools in the cloop image, so it doesn't really matter for this use case whether I use persistence or not.Code:sudo kvm /dev/sdc -m 1024 &
Have I missed something important about chroot, as it doesn't seem to have much to offer for mye actual use?
I will need it for a knxbootstrap utility, but remastering is something quite different today.
** Intel i3 10100F CPU Processor - USED **
$47.99
Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc...
$533.99
AMD Ryzen 7 7800X3D Processor (5 GHz, 8 Cores, Socket AM5), New /Sealed
$309.99
Intel Core i7-12700 CPU Processor 4.9GHz 12-Core FCLGA1700 (SRL4Q)
$175.00
Dell Intel® Xeon® Processor E5-2698 v4 Lightly Used
$64.00
Intel Core i7-14700K Processor (5.5 GHz, 20 Cores, LGA 1700) BX8071514700K, OEM
$339.99
Intel Core I7-4770 CPU Processor 3.40 GHz Quad Core Haswell SR149 LGA 1150...
$30.99
AMD Ryzen 5 7600X - 6-Core 4.7 GHz Socket AM5 105W Desktop CPU Processor
$197.98
AMD Ryzen 7 5700G Processor (4.6 GHz, 8 Core, 16 thread, Socket AM4) with cooler
$120.00
Intel Xeon E5-2697 v4 2.3GHz 18-Core Processor CPU LGA2011 SR2JV
$49.99