Difference between revisions of "User talk:Scdbackup"

From ArchWiki
Jump to navigation Jump to search
Line 67: Line 67:
  
 
The programs {{ic|cdrecord}}, {{ic|cdrskin}}, and {{ic|xorrecord}} may be used on all kinds of media with the options shown with {{ic|wodim}}.
 
The programs {{ic|cdrecord}}, {{ic|cdrskin}}, and {{ic|xorrecord}} may be used on all kinds of media with the options shown with {{ic|wodim}}.
 +
 +
=== Verify the burnt ISO image ===
 +
(replacing section 6)
 +
 +
You can verify the integrity of the burnt medium to make sure it contains no errors. Always eject the medium and reinsert it before verifying. The kernel will learn about the new content only by that reinsertion.
 +
 +
First calculate the md5sum of the original ISO image:
 +
 +
{{hc|$ md5sum isoimage.iso|
 +
e5643e18e05f5646046bb2e4236986d8 isoimage.iso
 +
}}
 +
 +
Next calculate the md5sum of the ISO on the medium.
 +
Although some media types deliver exactly the same amount of data as have been submitted to the burn program, many others append trailing garbage when being read. So you should restrict reading to the size of the ISO image.
 +
 +
$ blocks=$(expr $(ls -l isoimage.iso | awk '{print $5}') / 2048)
 +
 +
{{hc|<nowiki>$ dd if=/dev/sr0 bs=2048 count=$blocks | md5sum</nowiki>|
 +
43992+0 records in
 +
43992+0 records out
 +
90095616 bytes (90 MB) copied, 0.359539 s, 251 MB/s
 +
e5643e18e05f5646046bb2e4236986d8  -
 +
}}

Revision as of 14:56, 27 July 2013

About the changes on the wiki

Hello. I appreciate your great interest and I agree with some of your requests, especially on clarity. Do not use the main page for experience any changes, because it is a reference page for the entire community. You have to follow a path, discuss the changes, what to change and how to change, apply a "template" to signal to the whole community of possible changes etc. .. Also, any changes must be described on the main page, and in the event of major changes effettualri step by step. Other users can't understand all the changes made. This procedure may seem slow, but considering that it is not a personal wiki, but Community. good weekend.Veleno (talk) 11:00, 27 July 2013 (UTC)

It is well understood that i need approval. Especially since i am an interested party in the field of optical media. The proposed changes are listed at the talk page. What kind of approval do i have to wait for ?
How do i apply a "template" ? (I guess it is a way to expose an implemented proposal for approval.)
Your proposed changes are wide margin, reflecting a possible reorganization of the entire page. You rightly point out that there are gaps and that it can improve the whole. I answered you on the talk. I think you can from your proposal to amend the best across the page, for example, by combining the relative sections of CD and DVD in one section. does not exist a body that approves, you expect a few days, if no one dissenting opinions, you can operate to change. What you propose is not a small change, but I think a broader change that, in my opinion, it should be well organized. that's all. I apply a template that links to the discussion. ;) Veleno (talk) 11:37, 27 July 2013 (UTC)

Test area


Learning the name of your optical drive

(replacing section 3)

For the remainder of this section the name of your recording device is assumed to be /dev/cdrw.

Check this by

$ wodim dev=/dev/cdrw -checkdrive

which should report "Vendor_info" and "Identification" of the drive. The next guess could be /dev/sr0.

If no drive is found, check whether any /dev/sr* exist and whether they offer rw-permission to you or your group. If no /dev/sr* exists then try

$ modprobe sr_mod

>>> point GUI users to the GUI programs which should handle the following details on their own

Erasing CD-RW and DVD-RW

(replacing sections 4 and 19)

Used CD-RW media need to be erased before you can write over the previously recorded data. This is done by

 $ wodim -v dev=/dev/cdrw blank=fast

Unformatted DVD-RW media need the same treatment before re-use. But fast blanking deprives them of the capability for multi-session and recording of streams of unpredicted length. So one should apply

 $ dvd+rw-format -blank=full /dev/cdrw

dvd+rw-format is part of package dvd+rw-tools. Alternative commands are

 $ cdrecord -v dev=/dev/cdrw blank=all
 $ cdrskin -v dev=/dev/cdrw blank=all
 $ xorriso -outdev /dev/cdrw -blank as_needed

Formatted DVD-RW media can be overwritten without such erasure. So consider to apply once in their life time

 $ dvd+rw-format -force /dev/cdrw

Alternative commands are

 $ cdrskin -v dev=/dev/cdrw blank=format_overwrite
 $ xorriso -outdev /dev/cdrw -format as_needed

All other media are either write-once (CD-R, DVD-R, DVD+R, BD-R) or are overwritable without the need for erasing (DVD-RAM, DVD+RW, BD-RE).

Burning an ISO image

(replacing section 5)

To burn a readily prepared ISO image run on CD:

$ wodim -v dev=/dev/cdrw isoimage.iso

and on DVD or BD:

$ growisofs -dvd-compat -Z /dev/cdrw=isoimage.iso

The programs cdrecord, cdrskin, and xorrecord may be used on all kinds of media with the options shown with wodim.

Verify the burnt ISO image

(replacing section 6)

You can verify the integrity of the burnt medium to make sure it contains no errors. Always eject the medium and reinsert it before verifying. The kernel will learn about the new content only by that reinsertion.

First calculate the md5sum of the original ISO image:

$ md5sum isoimage.iso
 e5643e18e05f5646046bb2e4236986d8 isoimage.iso

Next calculate the md5sum of the ISO on the medium. Although some media types deliver exactly the same amount of data as have been submitted to the burn program, many others append trailing garbage when being read. So you should restrict reading to the size of the ISO image.

$ blocks=$(expr $(ls -l isoimage.iso | awk '{print $5}') / 2048)
$ dd if=/dev/sr0 bs=2048 count=$blocks | md5sum
 43992+0 records in
 43992+0 records out
 90095616 bytes (90 MB) copied, 0.359539 s, 251 MB/s
 e5643e18e05f5646046bb2e4236986d8  -