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.
UNTESTED Lenovo L14 ThinkPad Gen 3 Laptop i3 Core - Open Box - Powers On - *READ
$200.00
Lenovo ThinkPad X1 Yoga 2nd Gen i5-7300U@2.6GHz, 8GB RAM, 128GB SSD , Win 10 Pro
$99.00
Lenovo ThinkPad Yoga 11E 4TH Gen Core i5-7200 2.50GHz 8GB RAM 256 GB SATA SSD
$79.99
Lenovo 100e Laptop PC Computer 11.6" Windows 10 Celeron 4GB RAM 64GB SSD
$74.99
Lenovo ThinkPad T480 14" Laptop Intel Core i5-8350U 1.70GHz 16GB RAM 512GB SSD
$222.49
Lenovo Ideapad 1i 15.6" FHD Touch Laptop - Intel Core i3-1215U with 8GB Memor...
$499.99
Lenovo - LOQ 15.6" Gaming Laptop FHD - AMD Ryzen 7 7435HS with 16GB Memory - ...
$799.99
Lenovo IdeaPad Slim 5 16ABR8 16" Touch AMD Ryzen 7 7730U 16GB 1TB SSD W11H
$449.99
Lenovo Slim 7 Carbon Intel -i7 1260P 16GB 1TB SSD 13.3 (2560x1600) Touch Laptop
$678.99
Lenovo Tab P11 Pro Gen 2, 11.2" 420 nits, 6GB, 128GB, Android 12
$208.99