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/
HP ProLiant DL360 G9 Server | 2 x E5-2660V3 2.6Ghz | 64GB | 2 x 900GB SAS HDD
$339.00
Supermicro 4U 36 Bay Storage Server 2.2Ghz 16-C 128GB 1x1280W Rails TrueNAS ZFS
$716.98
Dell R730xd 12LFF 2.6Ghz 20-C 128GB H730 2x10G+2x1G NIC 2x1100W 12x Trays Rails
$721.05
Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 192GB | 8x HDD Trays
$1939.99
Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD
$389.99
HP Proliant DL360 Gen9 28 Core SFF Server 2X E5-2680 V4 16GB RAM P440ar No HDD
$196.95
Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB
$510.00
Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD
$79.19
DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45
$274.00
HP ProLiant DL380 Gen9 16SFF 2x E5-2680v4 2.4GHz =28 Cores 64GB P840 4xRJ45
$353.00