snipt

Ctrl+h for KB shortcuts

Text only

Convert from vmdk to vdi in Debian/Ubuntu

1
2
3
sudo aptitude install qemu
qemu-img convert /path/to/original.vmdk converted.bin
VBoxManage convertdd converted.bin converted.vdi
https://snipt.net/embed/8bb6932af36f5bcb1e1270a2e7237025/
https://snipt.net/raw/8bb6932af36f5bcb1e1270a2e7237025/
8bb6932af36f5bcb1e1270a2e7237025
text
Text only
6
2016-09-22T03:39:29
True
False
False
/api/public/snipt/87651/
convert-from-vmdk-to-vdi-in-debianubuntu
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a>sudo aptitude install qemu </span><span id="L-2"><a name="L-2"></a>qemu-img convert /path/to/original.vmdk converted.bin </span><span id="L-3"><a name="L-3"></a>VBoxManage convertdd converted.bin converted.vdi </span></pre></div> </td></tr></table>
Debian, Linux, Ubuntu, VirtualBox, qemu, vdi, vmdk

Text only

sudo inside of VIM

:w ! sudo tee %
https://snipt.net/embed/c2234aa3e2e568a360fe44c2d5ef1b49/
https://snipt.net/raw/c2234aa3e2e568a360fe44c2d5ef1b49/
c2234aa3e2e568a360fe44c2d5ef1b49
text
Text only
1
2016-09-26T23:46:15
True
False
False
/api/public/snipt/84521/
sudo-inside-of-vim
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a>:w ! sudo tee % </span></pre></div> </td></tr></table>
Debian, Linux, Ubuntu, sudo, vim
Copyrighted, illegal, or inappropriate content? Email support@snipt.net.