logo

blog

My little blog can’t be this cute! git clone https://hacktivis.me/git/blog.git
commit: 6e96cf6874c763636849a4a7936d3457a0c23ac4
parent d8cf731f4ebb3ca26cbcc1e2d99487808271e8dc
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:

Marticles/Entire Disk Encryption with LUKS and ZFS.html4++--
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>