<p>When moving file to <code>/usr/local/bin</code> it says:</p>

<pre><code>mv: inter-device move failed: 'kubectl' to '/usr/local/bin/kubectl';
unable to remove target: Read-only file system
</code></pre>

<p>I already try <code>chmod</code></p>

<p>How can the CoreOS directory be made writable?</p>

<p>In CoreOS the <code>/usr</code> partition is read-only by design, so <code>/usr/local/bin/</code> will be read-only too (unless you mount another disk there). This allows for the auto-updating CoreOS uses to keep the OS current. You can see the partition layout <a href="https://coreos.com/os/docs/latest/sdk-disk-partitions.html" rel="noreferrer">here</a>.</p>

<p>You can install your binaries, etc. in another partition. I usually use <code>/opt/</code> for this purpose. You can either mount another disk on <code>/opt/</code> or rely on the fact that <code>/</code> is read-write, depending on your use case, size of files installed, etc.</p>
