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


Groups > linux.debian.user > #185670 > unrolled thread

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

Started byAndre Goree <andre@drenet.net>
First post2017-08-21 22:30 +0200
Last post2017-08-22 18:20 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.debian.user


Contents

  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

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

FromAndre Goree <andre@drenet.net>
Date2017-08-21 22:30 +0200
SubjectUsing preseed (Debian/Ubuntu) to partition both RAID and encryption
Message-ID<uh1uH-Ac-45@gated-at.bofh.it>

[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
-=-=-=-=-=-

[toc] | [next] | [standalone]


#185725 — Re: Using preseed (Debian/Ubuntu) to partition both RAID and encryption

FromAndre Goree <andre@drenet.net>
Date2017-08-22 18:20 +0200
SubjectRe: Using preseed (Debian/Ubuntu) to partition both RAID and encryption
Message-ID<uhk4i-4NV-7@gated-at.bofh.it>
In reply to#185670
On 2017/08/21 4:19 pm, Andre Goree wrote:
> 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
> -=-=-=-=-=-


Wanted to bump this.  Should I perhaps ask on a different list?  Maybe 
one of the dev lists?


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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web