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 Computer PC Desktop 8GB Ram 500GB HD Intel Quad Core i5 3.10GHz Windows 10
$149.99
Dell Intel Core i5 Desktop Computer PC 8GB RAM 500GB HD Windows 10 22" LCD Wi-Fi
$199.48
Dell i5 Desktop Computer PC | up to 16GB RAM, 3TB SSD | Windows 10 Pro | WiFi BT
$210.60
Dell Mini Computer PC | up to 16GB RAM, 1TB SSD | Windows 10 | WiFi Bluetooth
$164.90
Windows 11 Pro Mini PC Intel J4125 Quad Core 2.7GHz 8GB RAM DDR4 128GB SSD GK3V
$194.95
Dell Desktop Computer 500GB HD 8GB RAM Core DVD WiFi Windows 10 PC LCD bundle
$165.00
HP EliteDesk 800 G3 DM 35W Mini Core i5-6500T@2.50GHz 8GB RAM 240GB SSD w/wi-Fi
$149.00
Acer Aspire XC - Desktop Intel Core i3-10105 3.70GHz 8GB RAM 256GB SSD W10H
$249.99
HP Desktop PC Core i5 8GB RAM 500GB HD DVD Wi-Fi Windows 10 Computer 19" Monitor
$196.87
HP OR DELL Desktop PC 8GB 500GB HDD 19" LCD Monitor WiFi Windows 10 Warranty
$164.99