From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.bissa.eu ([176.10.215.156]) by ewsd; Tue Nov 12 13:52:57 EST 2019 Received: from [0.0.0.0] (unknown [62.102.148.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: petter9@bissa.eu) by smtp.bissa.eu (Postfix) with ESMTPSA id 8FEDF565C13 for <9front@9front.org>; Tue, 12 Nov 2019 19:52:36 +0100 (CET) To: 9front@9front.org From: petter9@bissa.eu Subject: Booting with encrypted partitions Message-ID: <037e9f1f-1fbd-c22d-c808-67fb4b33312e@bissa.eu> Date: Tue, 12 Nov 2019 19:52:31 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=bissa.eu; s=170404; t=1573584763; bh=c+LoIrrV7ERPC812hUlW5+av/Lw=; h=To:From:Subject:Message-ID:Date:MIME-Version:Content-Type:Content-Transfer-Encoding; b=iUKYHJkUCFQIHRt1mEKWZHq27e08uy1Ta6hfzXpZBSqbMrvyJpVi4sYAOdCCmZDDh84dUbq4iqFQG5Db1ghKPHGO2HaWjUgN9BDI4kdJaC2ohdhu6aEtZk3NQOyvqOvUXsd9IIaL8CRMzqlHOYCnsBvBNb550+pByCKuV1U0ksE= Content-Transfer-Encoding: quoted-printable List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: lossless transactional hosting cloud Hi, Got a bit tired of dropping to the shell and punching in the disk=20 decryption command on every boot.=C2=A0 This one: > disk/cryptsetup -i /dev/sdE0/fsworm /dev/sdE0/fscache /dev/sdE0/other Also, one typo and the entire command must be retyped :/ So i made a change to the boot process to do that for me. Don't know if=20 something like this exist but it was anyway educational for me doing=20 this (noob) and i just thought i would share in case anyone is interested= . The change to the boot script, http://okturing.com/src/7221/body Adding a new variable 'decryptfs' to plan9.ini, with the decrypt command, http://okturing.com/src/7222/body My boot process looks like this now, http://okturing.com/src/7223/body -- Petter