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.
2T 128GB USB3.0 Flash Drive OTG Memory Photo Stick USB-C Disk For iPhone Samsung
$13.99
Sandisk 8GB 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot
$79.99
USB3.0 Flash Drive 2TB 1TB 4in1 Memory Photo Stick OTG Type-c For iPhone Samsung
$14.98
4in1 USB3.0 iFlash Drive Photo Memory Stick OTG For iPhone Android Laptop 2TB 1T
$18.88
Windows 11 Flash Drive (Easy Install)
$25.00
Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack
$4.70
Windows 11 Bootable USB Flash Drive Install No System Requirements UEFI 24H2
$9.50
1TB 2TB Type C/USB-A USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop
$17.89
Mac OS X El Capitan 10.11 Bootable USB Flash Drive Installer
$14.99
2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage New LOT
$72.68