I there a way to switch to a different persistent disk image (PDI) without having to do multiple reboots?
I have several PDIs on my USB stick. To change from one to the other, I currently do the following:
- 1) reboot with boot: knoppix -b
2) mount the USB stick
3) move the knoppix.img files around (e.g. mv knoppix.img knoppix.A.img ; mv knoppix.B.img knoppix.img)
4) unmount the USB stick
5) continue booting by exiting out of "emergency mode"
To switch again, I repeat the above process. What would be nice would be to do the same without having to reboot. For example, something like this:
- 1) drop into an emergency runlevel (e.g. init 1)
2) mount the USB stick, if necessary
3) unmount the current knoppix.img file
4) move the knoppix.img files around (e.g. mv knoppix.img knoppix.A.img ; mv knoppix.B.img knoppix.img)
5) mount the new knoppix.img file
6) return to runlevel 5 (e.g. init 5)
Not only would this be faster, but it could also be scripted.
Regards,
- Robert
http://www.cwelug.org/
AMD EPYC 7282 CPU Processor 16 Cores 32 Threads 2.8GHZ up to 3.2GHZ 120W no lock
$74.00
Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...
$419.99
Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...
$619.99
Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1
$39.99
Intel Core i5-13500 65w 14 core Raptor Lake Processor
$162.00
AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor
$79.00
AMD Ryzen 5 5600X Desktop Processor (4.6GHz, 6 Cores, Socket AM4)
$119.00
Intel Core i9-13900KF Unlocked Desktop Processor - 24 Cores (8P+16E) & 32 Thread
$539.99
AMD Ryzen 5 5600 Processor (3.5 GHz, 6 Cores, Socket AM4) - 100-100000927BOX
$100.00
AMD Ryzen 5 4500 Processor (3.6 GHz, 6 Cores, Socket AM4) - 100-100000644BOX
$69.99