<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>CoreStorage - Spheron1</title>
	<atom:link href="https://www.spheron1.uk/tag/corestorage/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.spheron1.uk</link>
	<description></description>
	<lastBuildDate>Thu, 07 Mar 2024 12:11:22 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.2</generator>
	<item>
		<title>Decrypting an APFS volume from the Terminal</title>
		<link>https://www.spheron1.uk/2018/07/02/decrypting-an-apfs-volume-from-the-terminal/</link>
					<comments>https://www.spheron1.uk/2018/07/02/decrypting-an-apfs-volume-from-the-terminal/#respond</comments>
		
		<dc:creator><![CDATA[digitaldisaster]]></dc:creator>
		<pubDate>Mon, 02 Jul 2018 16:45:27 +0000</pubDate>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[APFS]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Apple Mac OS X]]></category>
		<category><![CDATA[Apple macOS]]></category>
		<category><![CDATA[CoreStorage]]></category>
		<category><![CDATA[Disk Encryption]]></category>
		<category><![CDATA[Encryption]]></category>
		<category><![CDATA[fdesetup]]></category>
		<category><![CDATA[FileVault]]></category>
		<category><![CDATA[Hackintosh]]></category>
		<category><![CDATA[HFS+]]></category>
		<category><![CDATA[macOS]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Terminal]]></category>
		<guid isPermaLink="false">https://www.spheron1.uk/?p=945</guid>

					<description><![CDATA[<p>I&#8217;ve been playing about with a Hackintosh desktop running High Sierra, but run into an interesting problem &#8211; the FileVault Preboot loader which asks you for the password to decrypt the APFS volume doesn&#8217;t recognise the USB keyboard by default. Apparently there are ways to fix this by building the necessary drivers and inserting them into the Preboot volume, but as&#46;&#46;&#46;</p>
<p>The post <a href="https://www.spheron1.uk/2018/07/02/decrypting-an-apfs-volume-from-the-terminal/">Decrypting an APFS volume from the Terminal</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>I&#8217;ve been playing about with a Hackintosh desktop running High Sierra, but run into an interesting problem &#8211; the FileVault Preboot loader which asks you for the password to decrypt the APFS volume doesn&#8217;t recognise the USB keyboard by default.</p>
<p>Apparently there are ways to fix this by building the necessary drivers and inserting them into the Preboot volume, but as the drive in question is an m.2 NVMe disk, I didn&#8217;t have an easy way to put it into another computer which could mount APFS volumes.</p>
<p>I therefore decided that the quickest and simplest way to recover a working system was to temporarily decrypt the volume.<br />
To do this, I booted the macOS installer from my UniBeast USB stick and launched the Terminal from Utilities-&gt;Terminal in the menu bar.</p>
<p>I found plenty of articles suggesting to use &#8220;fdesetup&#8221; to manage FileVault, however this utility doesn&#8217;t seem to be included in the macOS installer, so instead I had to work out how to accomplish this with the &#8220;diskutil&#8221; utility.</p>
<p>As I&#8217;m using APFS, everything takes place using the commands under &#8220;diskutil apfs&#8221;, however for older HFS+ formatted disks, the same thing should still be possible using the equivalent CoreStorage commands under &#8220;diskutil cs&#8221; (although I haven&#8217;t tested this, so the steps may be a little bit different).</p>
<p>Now lets take a look at the disks and volumes in this system:</p>
<blockquote><p>diskutil apfs list</p></blockquote>
<p>This gives you an ASCII tree view of your disks and their volumes along with various information about each of them.</p>
<p>Find the UUID (the 5 groups of letters and numbers separated by hyphens) for the volume  that you want to decrypt &#8211; it will say &#8220;Encrypted: Yes (Locked)&#8221;.</p>
<p>Before we can decrypt the volume, first we need to unlock it:</p>
<blockquote><p>diskutil apfs unlockVolume &lt;UUID&gt;</p></blockquote>
<p>Enter your passphrase and the volume will be unlocked so that it can be accessed. This only unlocks the Volume whilst the computer is running however and won&#8217;t persist after a reboot.</p>
<p>To permanently decrypt the volume, run:</p>
<blockquote><p>diskutil apfs decryptVolume &lt;UUID&gt;</p></blockquote>
<p>This will start the decryption of the volume in the background.</p>
<p>You can run &#8220;diskutil apfs list&#8221; again to see the progress. Instead of the previous &#8220;Encrypted:&#8221; line, you should now see &#8220;Decryption Process: 1.0% (Unlocked)&#8221;.<br />
Depending on the size of the volume in question, it could take quite some time to complete the decryption.</p>
<p>Once completed, the progress line in the output of &#8220;diskutil apfs list&#8221; will have been replaced with &#8220;Encrypted: no&#8221;. At this point it&#8217;s safe to boot back into normal macOS.</p><p>The post <a href="https://www.spheron1.uk/2018/07/02/decrypting-an-apfs-volume-from-the-terminal/">Decrypting an APFS volume from the Terminal</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://www.spheron1.uk/2018/07/02/decrypting-an-apfs-volume-from-the-terminal/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Object Caching 0/70 objects using Redis
Page Caching using Disk: Enhanced 
Lazy Loading (feed)
Database Caching using Redis

Served from: spheron1.uk @ 2026-07-24 03:51:31 by W3 Total Cache
-->