LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 05-14-2005, 03:48 PM   #1
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 50
Gentoo - encrypted hdd


Can I use dm-crypt or cryptoloop to encrypt the root partition in a stage 1 gentoo? I have never tried Gentoo out and thought I might try it out.
 
Old 05-14-2005, 04:03 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
I don't see any reason why you couldn't do that, provided you set up a proper initrd with the install to mount the encrypted partition. I do wonder WHY you want to encrypt the root partition, however. I would think encrypting data to be enough (so encrypt /home).
 
Old 05-14-2005, 05:14 PM   #3
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Original Poster
Rep: Reputation: 50
I was mostly wondering if the kernel that comes with the cd supports this.

The reason why I want to encrypt the whole root partition is that I do not only want to encrypt /home but also the logs and the configure files. Instead of putting /var and /etc in different partitions I thought it might be easier to put /boot in a partition and then encrypt the whole root (and /home).
 
Old 05-14-2005, 09:42 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Well, an encrypted partition only works when the system is off, and if you intend for it to be bootable without use intervention, there is no way to make it 'secure'.
 
Old 05-15-2005, 08:11 AM   #5
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Original Poster
Rep: Reputation: 50
Yes, of course. But in my case I want to know that if anyone else get my disks they will have a hard time to access the data. But, if I would encrypt the root partition, how easy would that work? Can I then just boot the box and when the root partition is about to get mounted I would just be prompted for a password?
 
  


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
Gentoo wont load my hdd... XPS Gen II GUIPenguin Linux - Hardware 2 11-05-2005 10:20 PM
Gentoo install on HDD and move to a different PC ctkroeker Linux - Distributions 7 10-20-2005 02:40 PM
Gentoo Emerge Failure, Now HDD is Full ! tionik06 Linux - Software 2 07-08-2005 08:33 PM
Enabling HDD DMA in Gentoo? vharishankar Linux - Hardware 12 03-10-2005 03:14 AM
Problems starting up Gentoo on SCSI HDD CPUguy387 Linux - General 3 08-20-2004 04:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

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