PDA

View Full Version : [all variants] Encrypt Live USB?


Jekshadow
June 7th, 2009, 10:24 PM
Just wondering, is there any way to encrypt a external 100GB drive, similar to the way the Ubuntu Alternate CD does it for normal installs?

sgosnell
June 7th, 2009, 11:36 PM
Why do you want to encrypt a live CD?

It should be possible to encrypt any drive, regardless of what is on it, but being able to mount it is another matter. If the drive is encrypted, how would you boot from it, when an OS is necessary to decrypt it for use?

Jekshadow
June 8th, 2009, 12:27 AM
The way the Alternate CD works is it puts /boot on a separate, unencrypted partition. That partition contains a kernel, which when detecting the other, encrypted partition, asks you for the password and then unencrypts the partition, allowing Ubuntu to run normally. I want to set something similar up.

Jekshadow
June 8th, 2009, 12:36 AM
Found my answer here:

http://www.linux.com/archive/feature/125625

It's for debian, but it should be very simple to tweak it (if it needs tweaking at all) for Ubuntu.