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/
USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT
$356.24
Lot SanDisk USB Flash Drive Cruzer Blade Glade Force Ultra Flair Luxe 3.0 3.1
$149.99
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$80.39
Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot
$73.29
New TESLA OEM Model S,3,X,Y USB Flash Drive for Dashcam & Sentry Mode 128GB
$18.99
Lot Of 9 Used USB Flash Drives
$39.00
Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack
$4.99
2TB USB 3.0 Flash Drive Memory Photo Stick for iPhone Android iPad Type C 3 IN1
$16.72
SanDisk Cruzer Glide USB 3.0 16GB 32GB 64GB 128GB 256GB Flash Drive Memory Lot
$276.48
Lot USB Flash Drive Memory Stick Pendrive Thumb Drive 2GB,4GB, 8G, 32G, 64G 128G
$217.13