Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #185670

Using preseed (Debian/Ubuntu) to partition both RAID and encryption

From Andre Goree <andre@drenet.net>
Newsgroups linux.debian.user
Subject Using preseed (Debian/Ubuntu) to partition both RAID and encryption
Date 2017-08-21 22:30 +0200
Message-ID <uh1uH-Ac-45@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

I am trying to configure a preseed image using RAID + encryption. I 
originally wanted to do this without LVM, however it does not seem (at 
least with encryption) that this is possible. I simply want to know if 
this is even possible via preseed -- that is, to have both RAID and 
encryption partitioned. All the documentation I'm seeing states (from 
what I can tell) that you can only have either RAID _or_ encryption. I'm 
not seeing any way to preseed both.

I've attached the disk configuration portions of the preseeds I've used 
to provision LVM+RAID (with some success, seem to have an issue booting 
after that but I'm sure that's something I can overcome -- the RAID and 
LVM are configured when I boot into rescue mode after an install using 
the attached preseed conf) and LVM+encryption (with this conf, grub has 
a hard time installing but I'm sure I could work around that as well).

I suppose, I'm trying to meld the two, and I've tried a few different 
combinations but not have worked out. Essentially, I believe you can 
have only either partman-auto/method string crypt or partman-auto/method 
string raid but not both. Can anyone confirm or deny this for me? Thanks 
in advance.


-- 
Andre Goree
-=-=-=-=-=-
Email     - andre at drenet.net
Website   - http://www.drenet.net
PGP key   - http://www.drenet.net/pubkey.txt
-=-=-=-=-=-

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Using preseed (Debian/Ubuntu) to partition both RAID and encryption Andre Goree <andre@drenet.net> - 2017-08-21 22:30 +0200
  Re: Using preseed (Debian/Ubuntu) to partition both RAID and  encryption Andre Goree <andre@drenet.net> - 2017-08-22 18:20 +0200

csiph-web