Results 1 to 5 of 5

Thread: Encrypted File Systems

  1. #1
    Junior Member registered user
    Join Date
    Apr 2003
    Posts
    15

    Encrypted File Systems

    Currently i can encrypt my floppies, but what i would like to do is install knoppix onto my spare 4gb hdd with an encrypted swap and root. i kno u can do this with gentoo, using knoppix for help but is there anyway to just be able to do this with knoppix? ive been using AES so its built into knoppix.

    thank you for any help

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    having the swap encrypted is not a big issue, something like the following

    losetup -e AES128 /dev/loop0 /dev/hdax(your swap)
    swapon /dev/loop0

    This may not be the exact sequence but I read it some where

    As for the root, I am curious as it is on CD so how can it be encrypted ? Or if you mean not booting from CD, I believe a scheme like the above would work, however you need at least 2 partition(not counting the swap), one is used to store the kernel image and initrd and in your linuxrc script, do something similar as the above for the root partition.

    I haven't figured out a way to properly protected kernel image and initrd, just in case NSA slip in my door to replace those two which would break all encryption

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Cleveland, OH
    Posts
    228
    I plan on booting from CD and trying this. However, with regards to a hard drive install, couldn't you put the kernel image and initrd on a CD and boot from that? That could keep someone from altering / replacing them. Still ties up a cd drive. A large enough thumb drive could work as well, if you could ensure that it is only mounted as read only through initrd.

    Anybody have any thoughts about this? It would be nice to build a secure workstation in this manner...

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    putting the kernel and initrd on a CD/floppy/thumb drive should do the trick as I can carry it with me to reduce the chance of altered looback driver.

    For those who want even more security, have the kernel and initrd encrypted with a secondary password and decrypt them before using so even if somone replace the CD while I am sleeping, I would notice that at the first gate entrance without handing out the main password

    BTW, the CD-ROM won't be tied up as the kernel and initrd are into memory and the device would be freed.

  5. #5
    Junior Member registered user
    Join Date
    Apr 2003
    Posts
    15
    any possibility of scripts being made here for this solution ? i have no clues about the boot process as such but would be nice to have some working version

Similar Threads

  1. Writing 2 windows file systems after booting from Hard disk
    By Mr_White in forum MS Windows & New to Linux
    Replies: 2
    Last Post: 03-25-2005, 12:26 AM
  2. QTparted - how do you add other file systems?
    By Oxyacetylene in forum Customising & Remastering
    Replies: 4
    Last Post: 03-18-2005, 07:26 PM
  3. problems with create auto mounted file systems
    By Reven in forum Hdd Install / Debian / Apt
    Replies: 8
    Last Post: 11-12-2004, 07:13 AM
  4. Mounting Sun Solaris file systems
    By aallenaia in forum General Support
    Replies: 1
    Last Post: 10-26-2004, 04:05 AM
  5. Replies: 0
    Last Post: 07-25-2003, 04:04 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
  •