LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 04-15-2009, 04:21 PM   #1
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,600

Rep: Reputation: 142Reputation: 142
Encrypted root with LUKS on LVM and RAID-1: How?


Dear all,

OpenSuSE 11.1 is by far the best SuSE version in a long time. It's generally up to competition or ahead of it. It's admirable, how thoughtful this system is set up, and how clean and fast it is compared to its predecessors. It ssems, that SuSE is fighting its way back to where they came from before the Novell "merger."

Having said that, it is even harder to understand, IMHO, why the installer doesn't support encrypted root partitions. Of course, there is a manual solution:

http://en.opensuse.org/Encrypted_Roo...ith_SUSE_HOWTO

However, this HOW-TO doesn't explain how to combine LUKS encryption with LVM on a RAID-1 system, as described for Slackware 12.2 here:

http://www.iverbi.de/slackware/RAID1...2_2_Howto.html
http://www.iverbi.de/slackware/RAID1...12_2_Howto.pdf

Is there a similar guide anywhere available for OpenSuSE 11.1?
I'd appreciate, if you could point me there, then.

If not: Would it be possible to do all the low-level setup work, like partitioning, setting up the logical volumes and encrypting everything, with Slackware, following the document above, and then install OpenSuSE 11.1 on that system? Would that work???

Thanks,

gargamel
 
Old 04-17-2009, 12:33 PM   #2
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,600

Original Poster
Rep: Reputation: 142Reputation: 142
Maybe my original post is simply a bit too long, although my question is certainly not trivial. But I try to put it simpler and shorter:

How can I set up a fully encrypted OpenSUSE 11.1 install on a software RAID-1 system with two hard discs using LVM?

In other words: What are the exact steps for formatting, partitioning, setting up RAID-1, encrypting and creating and activation logical volumes using a combination of software RAID-1, LVM and LUKS?

Thanks for your help!

gargamel
 
Old 04-20-2009, 02:59 PM   #3
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,600

Original Poster
Rep: Reputation: 142Reputation: 142
Nobody done this before? Really?
Well, then maybe someone can answer me the following question.

Would it work, if I would to the basic setup, ie formatting, setting up RAID-1 and LVM and LUKS encryption with Slackware 12.2 32-bits and then install OpenSuSE? Would the installer recognize the encrypted volumes on the software RAID-1?

Thanks!!!

gargamel
 
Old 08-04-2009, 03:57 PM   #4
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 270

Rep: Reputation: 31
ok, I guess this out of date but I'll answer anyway.

the process of creating an encrypted root fs is essentially the same whether you use raid or not. when you create the new initrd, include the futures "lvm dm luks raid". This should suffice to get it running.
 
Old 08-04-2009, 03:58 PM   #5
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 270

Rep: Reputation: 31
btw, if you are still working on this, I can go into more details. no point writing two pages for a project that has been given up.
 
Old 03-20-2010, 04:30 PM   #6
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,600

Original Poster
Rep: Reputation: 142Reputation: 142
Yeah, I had given up on this with SuSE 11.1. But I'd give OpenSUSE 11.2 a try, I only I knew, how.

What I would do is described here:
RAID1_LVM_LUKS_Slackware12_2_Howto.html

Has anyone done this with OpenSUSE 11.2? How?

I set up a machine following this How-To, and would use the created partitioning and LV scheme for OpenSUSE 11.2. But somehow, YaST on the one hand correctly displays, which devices and partitions are under LVM control, and which ones are encrypted, but then fails to ask me for the LUKS passphrase. Also, it doesn not allow me to encrypt my RAID-1 array. In only allows me to encrypt an LV or a volume group.

Or do I get something wrong, here?
Thanks in advance!

gargamel
 
  


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
[SOLVED] Slackware 12.1 + RAID 1 + LVM: Can't boot with or without encrypted filesystem gargamel Slackware 29 08-04-2011 06:19 AM
Slackware 12.2 + RAID-1 + LVM + LUKS encrypted root gargamel Slackware 35 12-17-2009 11:25 AM
Recover encrypted LUKS partition itinlopez Linux - General 3 11-30-2008 02:20 AM
LXer: Encrypted Root LVM LXer Syndicated Linux News 0 05-14-2008 01:00 PM
mount luks encrypted partition with kdm mattydee Slackware 2 01-28-2008 12:32 AM


All times are GMT -5. The time now is 07:50 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration