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.
Dell Precision T5810 Tower (Xeon E5-1650 v3 - 16GB RAM - K2200 - NO OS NO HDD)
$89.89
Intel Xeon W-2245 SRH02 3.90GHz 8 Core LGA-2066 CPU Processor
$314.95
Matched Pair Intel Xeon E5-2690v4 2.6Ghz 14-Core 135W 35MB LGA2011-3 CPU SR2N2
$45.99
HP Z440 Xeon E5-1605 v3 2.8GHz 1TB SSD 32GB RAM DDR4 WIN10P
$148.95
Intel Xeon E5-2680 v4 SR2N7 2.40GHz 35MB 14-Core LGA2011-3 CPU Processor
$14.99
Intel Xeon E5-2699 V3 2.3Ghz 18 Core 45MB LGA 2011-3 x99 DDR4 CPU Processor
$39.91
Intel Xeon E5-2699 v3 18 Core 2.3 GHz 45MB SR1XD LGA 2011-3 B Grade CPU
$36.95
Intel Xeon Gold 6148 2.4 GHz 20 Cores SR3B6 CD8067303406200
$84.00
HP Z420 Workstation Xeon E5-2690 2.9ghz 8-Cores / 32gb / 1TB / DVD / Win10
$94.99
Dell Precision Desktop Computer Xeon E3 16GB RAM 2TB HDD Windows 10 Pro PC Wi-Fi
$180.14