LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 07-12-2014, 04:50 AM   #1
GhengisCan
LQ Newbie
 
Registered: Jul 2014
Posts: 2

Rep: Reputation: Disabled
Dual Boot with Encrypted LVM


Hi Guys,

I'm trying to setup a Dualboot Debian Wheezy + Kali on a shared LUKS LVM.

I've got a 300MB ext4 boot partition and an encrypted volume containing 3GB swap (shared between the O.S) and my two root partitions (not interested in separate home folders as the drive is just 40GB and sharing one would just cause problems with differing program versions).

Debian Wheezy is up and running, now to setup Kali I boot onto my Live CD, load additional components 'crypto-dm-modules' then before partitioning I open a terminal with Alt+F2, install cryptsetup with 'anna-install cryptsetup-udeb' unlock my encrypted LVM with 'cryptsetup luksOpen /dev/sdc6 LUKS001'. I was expecting to add a line to /etc/crypttab so that it unlocks my LUKS on boot but it's a blank file.. I proceeded to install the system but as expected it fails to locate the Volume group, and exits to shell. Anyone able to give me a little guidance here? I know it's not your average build.. But I'm keen to have this shared LUKS container (I'm an IT Engineer, Kali is for clients and I like the concept of one crypto container with shared swap - Cheers
 
Old 07-12-2014, 05:42 AM   #2
GhengisCan
LQ Newbie
 
Registered: Jul 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Gar! Annoying..

I've just ran back through this and I must have installed Kali first last time, can't unlock LVM in the Kali installer, throws errors from device-mapper 'reload ioctl on temporary-cryptsetup-7340 failed: No such device or address' (after prompt for passphrase), Debian loads fine (after mucking about with gfx driver a little).

I suspect I am making this way too hard for myself!! Might have to accept that I need two swap spaces, one outside the encrypted LVM, not as nice so if any of you legends can help with setting up one Encrypted LVM with two linux dirstos inside, let me now! I will be muchos grateful!!!
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] 14.1 uefi boot and luks-encrypted lvm problems ymf331 Slackware 2 05-30-2014 03:00 PM
Shrink partition (LVM encrypted PVs + encrypted LVs) gedaj Linux - Newbie 2 05-22-2013 03:44 AM
Resizable encrypted LVM requiring just one password on boot (encrypted volume group)? Nyyr Linux - Software 9 01-24-2013 05:52 AM
Boot encrypted LVM with USB flash drive? STDOUBT Slackware 8 11-30-2011 10:07 PM
[SOLVED] Slackware 12.1 + RAID 1 + LVM: Can't boot with or without encrypted filesystem gargamel Slackware 29 08-04-2011 06:19 AM

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

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