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.
Cisco SG300-52-Port Gigabit Managed Rack Mountable Network Switch
$44.95
ARUBA J9772A 2530-48G PoE+ 48 PORT ETHERNET SWITCH W/ RACK EARS J9772-60301
$140.23
HPE ARUBA 2530-24G J9773A PoE+ 24-PORT GIGABIT ETHERNET SWITCH J9773-60201
$93.24
Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED
$99.97
Netgear ProSafe FS726T 24 Port 10/100 Smart Switch w/2 Gigabit Ports
$19.99
NETGEAR GS108 ProSafe 8-Port GbE Unmanaged Switch w/ Power Adapter
$14.99
TP-Link TL-SG108 8-Port 10/100/1000 Mbps Gigabit Ethernet Desktop Switch FREE SH
$14.99
NETGEAR GS305300PAS 5 Port Gigabit Ethernet Unmanaged Switch
$22.99
Cisco Catalyst C9300-24UX-A 24 Port 10G/mGig Copper UPOE Network Switch
$499.00
HP 2530-48G PoE+ 48 Port PoE Gigabit Ethernet Network Switch J9772A
$99.98