From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from outgoing.fripost.org (giraff.fripost.org [IPv6:2a00:1c20:4089:126c:300f:e2a1:9840:5351]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Wed, 12 Sep 2018 18:00:40 +0200 (CEST) Date: Wed, 12 Sep 2018 17:52:01 +0200 From: Guilhem Moulin Message-ID: <20180912155201.GA31331@localhost.localdomain> References: <3981e376-6bc1-eafa-661f-800527d1edd8@riseup.net> <0a634f10-a4fe-54e3-b6ad-edd3f7682ec3@redhat.com> <05d42a4b-7439-0f5a-21b0-d79d1195b07f@riseup.net> <48f41120-27ae-cef3-8bb0-482eb164d468@riseup.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="W/nzBZO5zC0uMSeA" Content-Disposition: inline In-Reply-To: <48f41120-27ae-cef3-8bb0-482eb164d468@riseup.net> Subject: Re: [dm-crypt] Troubleshooting: Header Conversion to argon2id List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: procmem Cc: dm-crypt@saout.de, whonix-devel@whonix.org --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Wed, 12 Sep 2018 at 15:21:00 +0000, procmem wrote: > cryptsetup convert /dev/vda5 --type luks2 --debug > [=E2=80=A6] > Cannot convert device /dev/vda5 which is still in use. > [=E2=80=A6] > Command failed with code -5 (device already exists or device is busy). As the error message indicates, you need to remove (ie, close) the mapped device first. If that device is required for your system to run (for instance if it's holding the root file system) you won't be able to run `cryptsetup luksClose $name` from the main system; however you should be able to perform `cryptsetup convert` from a live CD, or from the initramfs image. Also, if as you hinted at you're using a detached header, you'll need to pass --header=3D/path/to/header to `cryptsetup convert`. Cheers, --=20 Guilhem. --W/nzBZO5zC0uMSeA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERpy6p3b9sfzUdbME05pJnDwhpVIFAluZNh8ACgkQ05pJnDwh pVJyDhAAnsUAlSCYiOLw51VEjrQ+hq1wThRfhChO1P59n9ssg2Jq7JVO7qfEyqy8 L8644ygcvTGg3vVuc0Gyi9g11w6M2jWQ4fTaddJ8YTUtVONIAISvvsqnIKVKAhLI UqFtNX3Krs+cIn3vK/6v2cMc3a+m1XuF6N1UUZir0OOn92oATNseYedwuNdTSWjy m1sC1HJyd6mGx/TJ7w1IG0UHL8kz5FjxGTNJAEY/LUvuHhDPKv1ts14y/KgbG7/b 4+7N/T2qxDjyIcmEyWkeMfxnqCibby/jaVUMiQKg3Ti2JMtXP23qAN6K5nH8PDok oCpwXtLXO55eB1MrhBCd7bepGpK+XKCvAX1DdqnU907HvaORLN6CWKty6KtrcxTs +O791fG3kQKDmI5dPkB+pTh0Rj7nXaY/xQStTf+8ROXgnXVhAhhgwDUBFyFoylql NwtQJKQ6dl95VxiyjPWOPANEGixyOMYSffXsA+McIcVm9w4xyvJB8QsIdPYUhKMs d5luSxbjte7iwgAO9twOaCRDxeiAVvjMSKYw7gcRvDYDKEH0TG+fAqZ7jUoi6vGV 44nBqvnhK01PoS4D1yQaXwtH8PcikXUhRCIQ/CYJUXDJ6syM918es0ic942m7+/8 CKqbD/+JKoc/p7+zaWAxnJoOx4srhMMUfGHRmglg/1Y5ewrsRUg= =4kw4 -----END PGP SIGNATURE----- --W/nzBZO5zC0uMSeA--