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.
Intel Core i7-4790K 4.00GHz 8MB Quad-Core LGA 1150/Socket H3 CPU Processor SR219
$67.99
Intel Core i7-14700K Unlocked Desktop Processor - Up to 5.6 GHz max clock speed
$364.99
Intel Core i7-12700KF Unlocked Desktop Processor - 12 Cores And 20 Threads
$219.99
Intel Core i9-14900KF Unlocked Desktop Processor
$439.00
AMD RYZEN 5 PRO 2400GE 3.20GHz AM4 CPU Processor
$29.99
AMD Ryzen 5 5500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor
$106.86
Intel Core i5-14600K Unlocked Desktop Processor
$229.99
Intel Core i5-14600 Processor 5.2 GHz OEM Tray CPU SRN44 CM8071504821018
$169.00
AMD Ryzen 5 5600 Processor (3.5 GHz, 6 Cores, Socket AM4) NEW
$93.46
INTEL CORE I7-9700 PROCESSOR | 3.00GHZ | SRG13
$119.99