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.
Samsung 27" Curved Monitor CF391 WHITE Super Slim C27F391FHN 1920x1080 SEALED
$119.99
Samsung - S Pen Creator Edition - White
$38.00
Samsung Galaxy Tab A9+ 11.0" 64GB Gray Wi-Fi Tablet Bundle SM-X210NZAYXAR 2023
$149.99
Genuine OEM Samsung Galaxy Tab S6 Lite Book Cover -NEW EF-BP610PJEGUJ- #E4
$10.00
MZ7LM1T9HMJP Samsung PM863a 1.92TB SATA 6Gbps 2.5'' SSD Solid State Drive
$54.99
Samsung - Galaxy Book4 15.6" FHD Laptop - Intel Core 7- 16GB Memory - 512GB S...
$599.99
Samsung Galaxy Tab A9 (X110) 64GB 4GB RAM International Version (New)
$126.99
Samsung Chromebook 4 11.6" Celeron 1.1GHz 4GB RAM 32GB SSD XE310XBA
$42.89
Samsung Galaxy Tab A 32GB -UNLOCKED- 10.4 Screen
$69.99
Samsung 1.6TB SSD SAS 2.5" 12G PM1635 MZILS1T6HCHP NetApp 520 Block
$74.99