LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-27-2007, 05:56 PM   #1
xor
LQ Newbie
 
Registered: Apr 2007
Location: Philadelphia, PA
Distribution: Suse & Fedora
Posts: 20

Rep: Reputation: 0
File System / RAM Disk Question


Hi Everyone;

Didn't no where else to put this so here we go. Is it possible to have say a readable or encrypted boot partition on a hard drive, as well as an unassembled series of partitions that don't make sense until a RAM disk is created and then the parts of the file system are assembled in RAM making them readable and useable?

If so how do you go about doing this?

Also how would you read a hard drive that is like this?

Thanks

xor
 
Old 04-27-2007, 06:09 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I don't see the sense in encrypting system directories. Why would you need to encrypt /bin/bash? Also, /etc/crypto is read by the kernel to determine which partitions are encrypted.
You can have an encryped partition for data directories such as /home and maybe /tmp and /var. Then the blocks are encrypted on the drive and you give the password when you boot up.

You may opt for a very small swap file to reduce the probability that it will be used to cache memory holding personal information.

Last edited by jschiwal; 04-27-2007 at 06:10 PM.
 
Old 04-27-2007, 06:21 PM   #3
xor
LQ Newbie
 
Registered: Apr 2007
Location: Philadelphia, PA
Distribution: Suse & Fedora
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jschiwal
I don't see the sense in encrypting system directories. Why would you need to encrypt /bin/bash? Also, /etc/crypto is read by the kernel to determine which partitions are encrypted.
You can have an encrypted partition for data directories such as /home and maybe /tmp and /var. Then the blocks are encrypted on the drive and you give the password when you boot up.

You may opt for a very small swap file to reduce the probability that it will be used to cache memory holding personal information.
Hi and Thanks;

I guess the reason is keeping other people from successfully reading your drive, or making it harder. Another reason would be stealth, say encrypting a linux os on a usb drive to leave no trace say for computer forensics, privacy, embedded linux or hacking. Making the file system unreadable will keep most average computer users or wanna be hackers out of your stuff. I've seen this done by a couple of different vendors, a file system which boots and runs application and is unreadable except sector by sector. I'm curious if this is how they do it.

xor
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't mount file system when trying to set up disk quotas rob_xx17 Linux - General 2 04-13-2006 07:16 AM
Read-only file system usb-disk pavodive Linux - Newbie 11 05-25-2005 10:17 PM
RAM based system instead of disk based system ? wini_g Linux - Hardware 7 04-05-2004 06:12 AM
Nvidia FX 5200 PCI Card (System bus / DDR Ram Question) sergeantroach Linux - Hardware 6 02-08-2004 12:05 AM
Large tar file taking huge disk space in ext3 file system pcwulf Linux - General 2 10-20-2003 07:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:47 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