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.
AMD Ryzen 7 7800X3D Processor (5 GHz, 8 Cores, Socket AM5), New /Sealed
$309.99
Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc...
$533.99
Dell Intel® Xeon® Processor E5-2698 v4 Lightly Used
$64.00
Intel Core i7-4790 3.60GHz Socket LGA1150 Desktop CPU SR1QF
$31.99
AMD Ryzen 5 7600X - 6-Core 4.7 GHz Socket AM5 105W Desktop CPU Processor
$197.98
Intel Core i7-12700KF Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unlocked
$189.00
Intel - Core i5-14600K 14th Gen 14-Core 20-Thread - 4.0GHz (5.3GHz Turbo) Soc...
$305.99
Intel Core i5 Gen 10 I5-10505 3.20 GHz Comet Lake SRH38 FCLGA1200 Processor Used
$60.84
Intel Xeon E5-2697 v4 2.3GHz 18-Core Processor CPU LGA2011 SR2JV
$49.99
AMD Ryzen 7 PRO 5750G Processor (4.6 GHz, 8 Cores, Socket AM4) Tray -...
$245.00