LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-03-2007, 07:59 PM   #1
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Rep: Reputation: 30
Loading encrypted partitions at boot


So I have 5 partitions. /boot, /, /usr, /swap, and /home. I've encrypted the latter 4 with luks encryption using cryptsetup. I've changed the fstabs to use the device /dev/mapper/device and then setup my /etc/cryptttab to load them. However at boot it immediately asks the password for root. I put it in and then it continues to load up and then it fails when trying to mount /usr and /home complaining that the device /dev/mapper/device isn't found. I then try to open the partition with the command
Code:
cryptsetup /dev/sda6 usr
and it complains about the shared cryptsetup library not being found. This makes sense because it's under /usr/lib, which apparently hasn't been mounted. However, why is the root partition opening up but not the rest? How is it working if the library isn't mounted? I did add dm-crypt to my list in /etc/modules so that is loaded. I confirmed this with lsmod. Anyone know why /dev/mapper/root is opening but not the rest?
 
  


Reply



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
Installing to encrypted partitions? compu73rg33k Ubuntu 2 11-03-2007 07:54 PM
LXer: Tutorial: Protecting Data with Encrypted Linux Partitions LXer Syndicated Linux News 0 06-14-2007 07:17 PM
Accessing encrypted partitions from OpenBSD avallach *BSD 2 06-12-2007 05:04 AM
Creating and using encrypted partitions as non-root v00d00101 Linux - Security 3 06-25-2006 05:31 PM
Hacking the initrd for encrypted partitions sonicbuddha Linux - Security 2 12-20-2005 08:23 PM

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

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