{"id":994,"date":"2013-07-20T13:05:56","date_gmt":"2013-07-20T13:05:56","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=994"},"modified":"2013-07-20T13:05:56","modified_gmt":"2013-07-20T13:05:56","slug":"one-command-to-make-iso-image-from-live-cddvd-in-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2013\/07\/one-command-to-make-iso-image-from-live-cddvd-in-ubuntu\/","title":{"rendered":"One Command to Make ISO Image from Live CD\/DVD in Ubuntu"},"content":{"rendered":"<p>This simple and brief tutorial will show you how to backup live CD or DVD to iso image on Ubuntu Linux using dd command. <\/p>\n<p>dd is a command on Unix and Unix-like operating systems whose primary purpose is to convert and copy a file. On Unix, device drivers for hardware (such as hard disks) and special device files (such as \/dev\/zero and \/dev\/random) appear in the file system just like normal files; dd can also read from (and in some cases write to) these files. As a result, dd can be used for tasks such as backing up the boot sector of a hard drive, and obtaining fixed amount of random data.<\/p>\n<p><strong>To make iso image out of CD or DVD:<\/strong><\/p>\n<p>Insert your live CD or DVD into computer, then you can check the device name by running below command:<\/p>\n<pre>df -lh<\/pre>\n<p>You&#8217;ll get  a similar output. The last line tells the device name <b>\/dev\/sr0<\/b> and mount point \/media\/handbook\/CD-Rom<\/p>\n<blockquote><p>Filesystem      Size  Used Avail Use% Mounted on<br \/>\n\/dev\/sda6        92G   47G   41G  54% \/<br \/>\nnone            4.0K     0  4.0K   0% \/sys\/fs\/cgroup<br \/>\nudev            870M  4.0K  870M   1% \/dev<br \/>\ntmpfs           176M  980K  175M   1% \/run<br \/>\nnone            5.0M     0  5.0M   0% \/run\/lock<br \/>\nnone            878M  3.5M  874M   1% \/run\/shm<br \/>\nnone            100M   56K  100M   1% \/run\/user<br \/>\n\/dev\/sr0        807M  807M     0 100% \/media\/handbook\/CD-Rom<\/p><\/blockquote>\n<p>Now, use below command to create iso from it:<\/p>\n<pre>dd if=\/dev\/sr0 of=~\/backup.iso bs=1000000 count=512 &&sync<\/pre>\n<p>Here <b>if<\/b> reads from file \/dev\/sr0, <b>of<\/b> write to file <b>backup.iso<\/b>, <b>~\/<\/b> means user home directory. The value of &#8216;bs&#8217; means read and write up to 1000000 bytes at a time. <\/p>\n<p>For more, run:<\/p>\n<pre>man dd<\/pre>","protected":false},"excerpt":{"rendered":"<p>This simple and brief tutorial will show you how to backup live CD or DVD to iso image on Ubuntu Linux using dd command. dd is a command on Unix and Unix-like operating systems whose primary purpose is to convert and copy a file. On Unix, device drivers for hardware (such as hard disks) and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[228,148,270,271,272],"class_list":["post-994","post","type-post","status-publish","format-standard","hentry","category-command-skills","tag-228","tag-backup-iso-from-cd-or-dvd","tag-cd","tag-dvd","tag-julio"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/994","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=994"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/994\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=994"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=994"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=994"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}