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.
Lenovo Desktop Computer PC Xeon, up to 32GB RAM, 3TB SSD, Windows 11/10 Pro WiFi
$99.00
HP ProLiant DL380 Gen9 8SFF Server - E5-2698 v3 - 32 Cores- 128 GB Ram - 600 GB
$229.00
Dell Poweredge R630 2x Xeon E5-2670 v3 2.3ghz 24-Cores 32gb 180GB SSD 495w
$169.99
Matched Pair - Intel Xeon E5-2683 v4 2.1GHz 16-Core Processor CPU LGA2011 SR2JT
$39.99
Intel Xeon E5-2697 V2 2.7GHz 12 Core 30M LGA2011 130W SR19H CPU Processor
$24.99
Intel SR2N7 Xeon E5-2680V4 2.40Ghz 14-Core Socket 2011 CPU Processor Broadwell
$15.00
SR2J1 Intel Xeon E5-2695 v4 18-Core 2.10GHz 45MB 120W FCLGA2011 Processor
$30.74
Intel 12-Core Xeon E5-2650 V4 2.20GHz DDR4 (SR2N3) Processor
$4.61
Intel Xeon Gold 6248 SRF90 2.5GHz 20-Core 28MB CPU Processor C5
$139.49
HP Z4 G4 WORKSTATION | INTEL XEON W-2104 3.20GHZ | 500GB | 16GB RAM | NO OS
$249.99