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.
HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA
$161.24
Intel Xeon Silver 4214 12-Core 2.20GHz FCLGA3647 CPU Processor - SRFB9
$129.99
HP Z2 Mini G3 Workstation Xeon E3-1225 V5 8GB RAM 256GB SSD Used Open Box No OS
$140.00
Apple MAC Pro A1481 Late 2013 Xeon Quad-Core 3.7GHz 32GB 1TB SSD FirePro D300
$285.00
SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 Grade A Processor
$3.82
Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU
$32.79
Intel Xeon E7-8890 V4 2.20GHz 24-Core 60MB LGA2011 Server CPU Processor SR2SS
$29.99
Intel Xeon E5-2697 V4 2.30 GHz 18C 2011-3 2400MHz 45MB 145W SR2JV CPU Processor
$45.00
Apple MAC Pro A1481 Late 2013 Xeon Quad-Core 3.7GHz 16GB 1TB SSD FirePro D300
$235.00
Dell Precision T7820 Tower 2x Intel Xeon Gold 6130No RAM/ GPU/ HDD/ OS
$454.97