PDA

View Full Version : usb encryption question



westcoast
01-20-2011, 05:20 AM
I recently installed Knoppix 6.3 dvd on usb with persistence. I wanted to encrypt but that screen flashed by so fast I missed it. Is there any way to do it now or do I have to re-do the installation?

Forester
02-02-2011, 12:52 AM
Yes.

Boot Knoppix from DVD. Insert your USB stick. Open a terminal. Check the USB Knoppix is installed on /dev/sdb1. Mount it on /media/sdb1 and delete /media/sdb1/KNOPPIX/knoppix-data.img.

krishna.murphy
02-02-2011, 06:02 AM
I think you could also rename knoppix-data.img to (for instance) old-knoppix-data.img and the contents would still be available for loop-mounting, if needed. The script that looks for knoppix-data.img won't find it, and thus will offer to create the persistent store when you boot the USB again, along with the encrypt option. Once the knoppix-data.aes file is created you can grab whatever you want off the old .img file.

Cheers!
Krishna :mrgreen:

Werner P. Schulz
02-02-2011, 11:29 AM
The script that looks for knoppix-data.img won't find it, and thus will offer to create the persistent store when you boot the USB again,..... this offer is only available, if there is remaining free space greater than 200MB.

Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
"Build personal Recovery-CD with Knoppix (Knoppix remaster)"

Werner P. Schulz
02-02-2011, 11:39 AM
I wanted to encrypt but that screen flashed by so fast I missed it. ... at this point to create persistent memory, Knoppix doesn't wait very long. Reboot and try once more.

If you already have a persistent memory but not encrypted, follow the suggestion to delete '/KNOPPIX/knoppix-data.img'

Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
"Build personal Recovery-CD with Knoppix (Knoppix remaster)"

krishna.murphy
02-02-2011, 05:58 PM
... this offer is only available, if there is remaining free space greater than 200MB.

Good point! If space is an issue, one would need to use an external store, like a hard drive, to hold the old contents. This is all moot if the existing .img file has nothing worthy of note in it, as is usually the case with relatively newly installed-on media. Then one can simply delete it and boot the flash, as previously mentioned.

Cheers!
Krishna :mrgreen: