logo

blog

Unnamed repository; edit this file 'description' to name the repository.
commit 45e31373f9ee22ce81125a7a680c730b73f9043a
parent 4a6d0e41e048eaf6d0a4bb80478502513c4000ae
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 15 Jul 2016 05:52:54 +0200

articles/Entire Disk Encryption… : Correct stupid regex mistake

Diffstat:
articles/Entire Disk Encryption with LUKS and ZFS.html | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/articles/Entire Disk Encryption with LUKS and ZFS.html b/articles/Entire Disk Encryption with LUKS and ZFS.html @@ -36,8 +36,8 @@ sys-kernel/genkernel cryptsetup</pre></code> <p>Configuring ZFS for boot-up: <code>rc-update add zfs-import boot &amp;&amp; rc-update add zfs-mount &amp;&amp; rc-update add zfs-zed</code></p> <h3>initramfs (genkernel)</h3> <pre><code>sed -i 's/.*LUKS=.*/LUKS="yes"/' /etc/genkernel.conf -sed -i 's/.*/.*ZFS.*/ZFS="yes"/' /etc/genkernel.conf -sed -i 's/.*/.*DISKLABEL.*/DISKLABEL="yes"/' /etc/genkernel.conf +sed -i 's/.*ZFS=.*/ZFS="yes"/' /etc/genkernel.conf +sed -i 's/.*DISKLABEL=.*/DISKLABEL="yes"/' /etc/genkernel.conf genkernel --luks --zfs --disklabel initramfs</code></pre> <h3>GRUB</h3> <p>As grub-mkconfig is a piece of crap which does unreadable config, I do it myself. Here it is:</p>