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.
ASUS Motherboard H81M-C | No CPU
$25.00
Asus H110I-PLUS LGA 1151 Mini ITX DDR4 Desktop Motherboard w/ I/O Shield
$34.95
Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th)
$59.99
GIGABYTE GA-AB350M-D3H Motherboard Socket AM4 DDR4 +AMD Ryzen 3 2200G I/O Shield
$79.99
(Factory Refurbished) GIGABYTE B450M DS3H WIFI AM4 AMD Micro ATX AMD Motherboard
$79.99
NEW MSI A520M-A PRO AM4 AMD A520 USB3.2 Gen1 Micro-ATX Motherboard
$61.26
Gigabyte B560 DS3H AC Intel LGA 1200 DDR4 ATX Motherboard
$69.95
(Factory Refurbished) GIGABYTE B550 GAMING X V2 AM4 USB 3.0 ATX AMD Motherboard
$89.99
(Factory Refurbished) GIGABYTE B550I AORUS PRO AX AMD SATA Mini-ITX Motherboard
$169.99
GIGABYTE Z390 I AORUS PRO WIFI LGA 1151 Mini ITX Intel Motherboard
$134.99