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.
HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5" HARD DRIVE ZERO HOURS
$52.00
WD 5TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0050BBK-WESN
$78.99
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$82.99
Western Digital WD4000FYYZ RE 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5" Hard Drive
$24.08
HGST Ultrastar HE10 10TB SATA 6.0Gb/s 7200 3.5" Datacenter HDD - HUH721010ALE601
$79.99
Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$87.99
WD Ultrastar DC HC530 14TB SATA 6G 3.5" 7200RPM Enterprise HDD - WUH721414ALE604
$110.00
HGST HDD HUH721010AL5200 10TB 3.5" SAS 12Gb/s Server Hard Disk Drive *READ
$50.89
Seagate ST8000NM0045 8TB 7.2k SATA 6Gbps 3.5" 4Kn Format Hard Drive Open Box New
$84.99
Internal HDD SATA 3.5" 250GB-2TB Hard Drive with Legacy Windows 11 Pro Installed
$38.15