-
Senior Member
registered user
switching persistent disk images on the fly?
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/
Similar Threads
-
By Capricorny in forum Customising & Remastering
Replies: 10
Last Post: 10-30-2010, 12:20 PM
-
By greenfly in forum Ideas
Replies: 2
Last Post: 01-10-2009, 12:31 PM
-
By rspiteri in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 04-07-2007, 01:54 PM
-
By hotplainrice in forum General Support
Replies: 0
Last Post: 11-02-2006, 11:02 PM
-
By linuxman in forum General Support
Replies: 2
Last Post: 12-10-2005, 11:47 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot
$573.98

Lot Of 8 Micron 8GB 2Rx8 PC4-2666V-RE2-11 ECC REG Server Ram MTA18ASF1G72PDZ-2G6
$210.00

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot
$202.50

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot
$3.75

Crucial MTA36ASF4G72PZ-2G6E1SG 32GB 2RX4 PC4-2666V ECC LRDIMM Server Memory
$150.00

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$21.68

Micron 32GB 1x32GB DDR5 5600 CL46 ECC Unbuffered SO-DIMM MTC20C2085S1TC56BD1
$399.00

Micron MTA18ASF2G72XF1Z-2G9WP1ABVGD 16GB 1Rx4 NN4-2933Y DDR4 ECC NVDIMM
$74.50