mirror of
https://github.com/mikaela/mikaela.github.io/
synced 2025-02-24 01:10:54 +01:00
60 lines
2.4 KiB
HTML
60 lines
2.4 KiB
HTML
![]() |
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="UTF-8" /> <!-- <meta http-equiv="refresh" content="60" /> --> <meta name="description" content="dd cheatsheet" /> <meta name="keywords" content="dd,usb,isohybrid,hybridiso,syslinux" /> <meta name="author" content="Mika Suomalainen" /> <link rel="canonical" href="http://mkaysi.github.com/articles/cheatsheets/dd.html">
|
||
|
<title>
|
||
|
dd cheatsheet
|
||
|
</title>
|
||
|
<link rel="stylesheet" type="text/css" href="../../tyyli.css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<hr/>
|
||
|
<a href="../../sitemap/sitemap.html">Sitemap</a>
|
||
|
<hr/>
|
||
|
|
||
|
<h1 id="figuring-out-what-is-the-usb-stick">Figuring out what is the USB stick</h1>
|
||
|
<p>Start by mounting the stick which should be automatic in GUI.</p>
|
||
|
<pre><code>mount|grep /dev/sd</code></pre>
|
||
|
<p>should tell what is the /dev/USBSTICK</p>
|
||
|
<h2 id="creating-bootable-usb-stick">Creating bootable USB stick</h2>
|
||
|
<pre><code>isohybrid image.iso
|
||
|
dd if=image of=/dev/USBSTICK bs=1024</code></pre>
|
||
|
<h2 id="creating-.iso-from-cddvd">Creating .iso from CD/DVD</h2>
|
||
|
<p>First unmount the CD/DVD and then</p>
|
||
|
<pre><code>dd if=/dev/DRIVE of=image.iso</code></pre>
|
||
|
<p>DRIVE can be /dev/dvd /dev/cdrom or /dev/scd0 depending on the CD/DVD.</p>
|
||
|
<h2 id="backing-up-scratched-cddvd">Backing up scratched CD/DVD</h2>
|
||
|
<pre><code>dd if=/dev/DRIVE (see above) of=IMAGE.iso conv=noerror</code></pre>
|
||
|
<p>maybe ddrescue should be used instead of dd.</p>
|
||
|
<!-- vim : set ft=html -->
|
||
|
<hr/>
|
||
|
|
||
|
<div id="disqus_thread"></div>
|
||
|
<script type="text/javascript">
|
||
|
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
|
||
|
var disqus_developer = 0;
|
||
|
var disqus_url = 'http://mkaysi.github.com/articles/cheatsheets/dd.html';
|
||
|
var disques_title = 'dd cheatsheet';
|
||
|
var disqus_shortname = 'mkaysishomepage'; // required: replace example with your forum shortname
|
||
|
/* * * DON'T EDIT BELOW THIS LINE * * */
|
||
|
(function() {
|
||
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async =
|
||
|
true;
|
||
|
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
|
||
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0])
|
||
|
.appendChild(dsq);
|
||
|
})();
|
||
|
</script>
|
||
|
<noscript>
|
||
|
Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Dis qus.</a>
|
||
|
</noscript>
|
||
|
|
||
|
<p>
|
||
|
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus </span></a>
|
||
|
</p>
|
||
|
<!-- vim : set ft=html -->
|
||
|
</body>
|
||
|
</html>
|
||
|
|
||
|
|