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.
Dell EMC 092GD6 Broadcom 9305-16i LSI Quad Port 4 Port SAS RAID Controller
$84.99
Dell PERC H330 PCIe 3.0 x8 RAID Storage Controller 4Y5H1 High Profile
$15.99
Yottamaster 2 Bay RAID Hard Drive Enclosure USB 3.1 For 2.5" SATA HDD SSD UASP
$56.25
Yottamaster 2 Bay RAID Hard Drive Enclosure USB 3.1 Type B For 3.5" SATA HDDs
$69.91
LSI 8 Port 6Gbps PCIe 3.0 External SAS RAID Card w/ 1GB CacheVault & Low Profile
$26.10
Inspur LSI YZCA-00424-101 Raid Card 12Gbps HBA Controller Low Profile 9300-8i IT
$15.98
LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault
$39.00
9207-8i PCIE3.0 6Gbps HBA LSI FW:P20 IT Mode ZFS FreeNAS unRAID 2* SFF-8087 US
$32.88
ORICO 5 Bay Raid USB3.0 to SATA External Hard Drive Enclosure for 3.5'' HDD LOT
$31.99
Yottamaster 5 Bay RAID Hard Drive Enclosure Type-C B For 2.5" 3.5" SATA HDD SSDs
$131.59