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 N23 Yoga 2.1 GHz 32GB eMMC - 4GB ( Flip design )
$99.00
Lenovo Thinkpad Yoga Touchscreen Laptop Computer Windows 10 4GB 128GB SSD HDMI
$149.99
Lenovo ThinkPad X12 Detachable Laptop, 12.3" FHD IPS Touch 400 nits, i5-1130G7
$759.00
Lenovo ThinkPad E15 Gen 3 AMD Laptop, 15.6" FHD IPS 300 nits, Ryzen 7 5700U
$753.83
Lenovo IdeaPad Gaming 3 15.6" 120Hz Ryzen 5-5600H 8GB RAM 512GB SSD RTX 3050 Ti
$599.99
Lenovo Legion 5 Pro Gaming 165Hz QHD G-Sync R7-5800H 16GB RAM 512GB SSD RTX 3060
$1119.00
Lenovo Legion 5 Pro 16 165Hz QHD IPS G-Sync Ryzen 7 16GB RAM 1TB SSD RTX 3070
$1389.00
Lenovo Legion 5 15.6 165Hz Gaming AMD Ryzen 7-5800H 16GB RAM 1TB SSD RTX 3050 Ti
$914.99
Lenovo ThinkPad X1 Yoga Gen 6 Intel Laptop, 14.0" FHD IPS Touch 400 nits
$899.00
Lenovo ThinkPad T460 14" Laptop Core i7-6600U 6th 2.60GHz WebCam Backlit HDMI
$245.00