This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Running Debian GNU/Linux from an encrypted USB drive

Posted by: Anonymous [ip: 67.97.234.6] on March 06, 2008 04:11 PM
So, I suffered through the 3 hour LVM writing phase followed by the actual install again last night...only to come to the exact same results. So, I said what the heck and tried installing without the encryption, just a regular install. That went fine. I was able to reboot -- ONCE. Subsequent attempts to reboot resulted in hangs, with some kind of error message. One question I have is: with or without encryption, is it necessary to update /etc/fstab to use the UUIDs? That seems to be one of the problems. During the install, the hard drive is mapped to one device name and subsequent reboots it ends up getting mapped to a different device name. Thus, the UUID update to fstab should fix that...correct? Another point, is that after the encrypted install followed by a reboot, I was never prompted for a key phrase. Probably because it couldn't find root. Is there any way to make those changes prior to the reboot? I can live without the encryption. While it would have been nice, it's not critical. For now I just want/need to be able to boot reliably from the USB drive. Thanks.

#

Return to Running Debian GNU/Linux from an encrypted USB drive