LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-04-2006, 02:51 AM   #1
esckey2004
LQ Newbie
 
Registered: Dec 2004
Posts: 5

Rep: Reputation: 0
Encrypt Your Filesystem ?


Ok I don’t know if this is the right place for this post but I saw a webpage explaining how to encrypt your root file system at and forums.gentoo.org/viewtopic.php?t=31363 but my question is it possible to encrypt a windows partition in the same way?
 
Old 01-04-2006, 06:33 AM   #2
rolsch
LQ Newbie
 
Registered: Jul 2004
Location: Berlin, Germany
Distribution: Debian Sarge, Fedora Core 4, Suse 9.1
Posts: 13

Rep: Reputation: 0
Could you please be a little bit more specific about your configuration. By "windows partition", do you mean a windows partition on a linux box, or on a network share, encryption from within linux or from within windows?

I assume you are trying to encrypt a fat partition on a linux box, which is - of course - not the root partition of your linux installation. Yes, it is possible. Loop-AES works independantly from the type of your file system. If your linux box supports a specific filesystem, then you can use that filesystem along with Loop-AES. Loop-AES works with a patched version of 'mount', which itself uses gpg to achieve encryption.

So here is a short diagram to show the dependencies:

[physical block device] <--> [loop device] <--> [mount point in your directory tree]

The connection between [physical block device] and [loop device] is achieved through 'losetup', the connection between [loop device] and [mount point] is achieved through the patched version of 'mount'.

You are free to choose whatever filesystem you want to sit upon your loop device. After setting up your loop device with 'losetup', you may create a filesystem with 'mkfs', e.g.:

Code:
mkfs -t vfat /dev/loop3
Hope this is what you meant,
Roland

P.S.
Personally I would prefer DM-Crypt over Loop-AES. It uses a device mapper target instead of a loop device, and doesn't need a patched 'mount' version.
 
Old 01-04-2006, 11:32 AM   #3
esckey2004
LQ Newbie
 
Registered: Dec 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you

Yes this did answer my question thank you for your reply
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
encrypt and decrypt using encrypt(char block[64], int edflag) rockwell_001 Linux - Security 3 08-30-2009 09:16 AM
Encrypt CD/DVD Ikluh Linux - Security 1 12-16-2005 11:01 AM
adduser no encrypt andy7t Linux - Software 6 07-26-2005 10:06 AM
encrypt error hudo *BSD 0 01-02-2005 11:13 AM
Encrypt vivekind Linux - General 1 01-16-2002 03:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration