HOWTO: DVD -> VOB -> ISO -> DVD ... or, duplicate DVD5 exact copy
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Linux Mint 12, FreeBSD, Ubuntu 12.10, Mac OS X
Posts: 83
Rep:
Copy DVDs with the dd command
Quote:
Originally Posted by Bruce Hill
Originally posted by demerson3
Your guide looks good from a cursory read. May I give you one CLI pointer?
How to cut out K3B -- which is my favorite thing to do with GUIs, especially
if they're part of KDE.
And you've successfully made an exact copy faster than K3B
using the raw power of GNU/Linux, and any errors while you
burn will be right there in front of you.
NB: You can always look at the K3B log and see what commands it used.
I tried these instructions and the dd command did seem to want to copy the data from /dev/hdc, but here is what I got:
sai:~$ dd if=/dev/hdc of=TheBluesShow7.iso
dd: reading `/dev/hdc': Input/output error
1504+0 records in
1504+0 records out
770048 bytes (770 kB) copied, 5.81758 seconds, 132 kB/s
sai:~$ diff /dev/hdc TheBluesShow7.iso
diff: /dev/hdc: Input/output error
What happened here? What should I do next? I prefer the command line myself too.
Distribution: Linux Mint 12, FreeBSD, Ubuntu 12.10, Mac OS X
Posts: 83
Rep:
usind cat to copy DVDs
Quote:
Originally Posted by Laban
cat readss the device (your cd/dvd drive). What it reads is piped (sent) to bzip2 which is a compression utility like zip/rar/gzip etc. The -vv part is just to show that something is happening. Bzip2 sends the now compressed information out to a file - my_file.iso. But just to show that the file is compressed, we'll add .bz2 as well.
So:
cat YOUR_DVD_DRIVE_GOES_HERE | bzip2 -vv > FILENAME_OF_SAVED_IMAGE.iso.bz2
Made any sense?
I followed your directions using "cat" and this is what I get:
I tried these instructions and the dd command did seem to want to copy the data from /dev/hdc, but here is what I got:
sai:~$ dd if=/dev/hdc of=TheBluesShow7.iso
dd: reading `/dev/hdc': Input/output error
1504+0 records in
1504+0 records out
770048 bytes (770 kB) copied, 5.81758 seconds, 132 kB/s
sai:~$ diff /dev/hdc TheBluesShow7.iso
diff: /dev/hdc: Input/output error
What happened here? What should I do next? I prefer the command line myself too.
Thanks in advance to all replies
trox
Perhaps a bad DVD? Dirty, scratched? Clean it and try again ... also try running as root rather than user. And also try another DVD -- perhaps a new one?
To cut to the chase: check out dvdbackup. There may be other tools as well.
I still believe dd is the wrong approach. There are special considerations, including error correction, that should be utilised when reading optical media. dd was not designed for optical media. It was designed for magnetic disks, which are far more reliable in terms of getting a good read the first time.
"cdparanoia" is an example of a program that extracts audio tracks from audio cd's, using error correction and other techniques that assist in reading optical media. You can get a much better read from cdparanoia than from dd, because it reads intelligently.
So, for your CLI needs, check out dvdbackup, and look around for other tools that are designed to read dvd's. I'll integrate this into my main post when I have the time.
just to update, afaik cdparanoia has been part of cdda2wav for some time and may be obsolete or misbehave /going from some user reports online, may be wrong/
just to update, afaik cdparanoia has been part of cdda2wav for some time and may be obsolete or misbehave /going from some user reports online, may be wrong/
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.