Hello All,
From the net I found a command to copy a cd into an iso file.
dd if=/dev/cdrom of=file.iso
This has to be given to an unmounted disc. However I got a series of continuous errors when running the command and the operation failed. What could have gone wrong?
Regards,
Rony.
___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Rony,
From the net I found a command to copy a cd into an iso file.
dd if=/dev/cdrom of=file.iso
This has to be given to an unmounted disc. However I got a series of continuous errors when running the command and the operation failed. What could have gone wrong?
This is due to scratches, etc. on the CD. Try this ... dd if=/dev/cdrom of=file.iso conv=noerror Hope this helps ... Regards, BG
- -- Baishampayan Ghose b.ghose@ubuntu.com Ubuntu Linux Project http://www.ubuntu.com/
1024D/86361B74 BB2C E244 15AD 05C5 523A 90E7 4249 3494 8636 1B74
Baishampayan Ghose wrote:
This is due to scratches, etc. on the CD. Try this ... dd if=/dev/cdrom of=file.iso conv=noerror
Hi, I tried it out but this time instead of throwing errors and returning back to the prompt, it went on and on with these errors repeating with the speed slowly reducing. Here is a sample output below. I had to stop the process after 800+ seconds.
Regards,
Rony.
dd: reading `/dev/cdrom': Input/output error 1088+0 records in 1088+0 records out 557056 bytes transferred in 3.128567 seconds (178055 bytes/sec) dd: reading `/dev/cdrom': Input/output error 1088+0 records in 1088+0 records out 557056 bytes transferred in 3.187104 seconds (174784 bytes/sec) dd: reading `/dev/cdrom': Input/output error 1088+0 records in 1088+0 records out 557056 bytes transferred in 3.245893 seconds (171619 bytes/sec) dd: reading `/dev/cdrom': Input/output error 1088+0 records in 1088+0 records out 557056 bytes transferred in 3.304510 seconds (168574 bytes/sec) dd: reading `/dev/cdrom': Input/output error 1088+0 records in 1088+0 records out 557056 bytes transferred in 3.369445 seconds (165326 bytes/sec) dd: reading `/dev/cdrom': Input/output error 1088+0 records in 1088+0 records out 557056 bytes transferred in 3.422749 seconds (162751 bytes/sec) dd: reading `/dev/cdrom': Input/output error 1088+0 records in 1088+0 records out 557056 bytes transferred in 3.481438 seconds (160007 bytes/sec) dd: reading `/dev/cdrom': Input/output error 1088+0 records in 1088+0 records out 557056 bytes transferred in 3.540268 seconds (157349 bytes/sec) dd: reading `/dev/cdrom': Input/output error 1088+0 records in 1088+0 records out 557056 bytes transferred in 3.558054 seconds (156562 bytes/sec) dd: reading `/dev/cdrom': Input/output error 1088+0 records in 1088+0 records out 557056 bytes transferred in 3.580905 seconds (155563 bytes/sec) dd: reading `/dev/cdrom': Input/output error 1088+0 records in 1088+0 records out 557056 bytes transferred in 3.609853 seconds (154315 bytes/sec) dd: reading `/dev/cdrom': Input/output error 1088+0 records in 1088+0 records out 557056 bytes transferred in 3.642474 seconds (152933 bytes/sec) dd: reading `/dev/cdrom': Input/output error 1088+0 records in 1088+0 records out 557056 bytes transferred in 3.668652 seconds (151842 bytes/sec) dd: reading `/dev/cdrom': Input/output error 1088+0 records in 1088+0 records out 557056 bytes transferred in 3.686616 seconds (151102 bytes/sec) dd: reading `/dev/cdrom': Input/output error 1088+0 records in 1088+0 records out 557056 bytes transferred in 3.715667 seconds (149921 bytes/sec) dd: reading `/dev/cdrom': Input/output error 1088+0 records in 1088+0 records out 557056 bytes transferred in 3.733593 seconds (149201 bytes/sec) dd: reading `/dev/cdrom': Input/output error 1088+0 records in 1088+0 records out 557056 bytes transferred in 3.759923 seconds (148156 bytes/sec) dd: reading `/dev/cdrom': Input/output error 1088+0 records in 1088+0 records out 557056 bytes transferred in 3.783359 seconds (147238 bytes/sec) dd: reading `/dev/cdrom': Input/output error 1088+0 records in 1088+0 records out 557056 bytes transferred in 3.812346 seconds (146119 bytes/sec) dd: reading `/dev/cdrom': Input/output error 1088+0 records in 1088+0 records out 557056 bytes transferred in 3.835798 seconds (145226 bytes/sec) dd: reading `/dev/cdrom': Input/output error 1088+0 records in 1088+0 records out 557056 bytes transferred in 3.860115 seconds (144311 bytes/sec) dd: reading `/dev/cdrom': Input/output error
___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
Rony Bill wrote:
Hi, I tried it out but this time instead of throwing errors and returning back to the prompt, it went on and on with these errors repeating with the speed slowly reducing. Here is a sample output below. I had to stop the process after 800+ seconds.
Further to the above mail, I am not even able to copy the cd contents after mounting it and using simple copy/paste in gui mode. I tried it with 2 different movie cds. One a Hollywood movie and one Marathi. Both are original but suspecting that maybe the holly one is copy protected, even the Marathi movie dat file cannot be copied. Both movies play properly in VLC Player. Even K3B burning gave read errors.
I cross checked with a magazine data cd and it created a full iso using the simple dd command dd if=/dev/cdrom of=file.iso
Does the Linux kernel have some cd movie copy protection? Any known application or dependency thats causing this?
Regards,
Rony.
___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
On Sunday 09 April 2006 1:20 am, Rony Bill wrote:
Rony Bill wrote:
I cross checked with a magazine data cd and it created a full iso using the simple dd command dd if=/dev/cdrom of=file.iso
Does the Linux kernel have some cd movie copy protection? Any known application or dependency thats causing this?
dvd copying and playing is user space. Nothing to do with the kernel as long as you have iso9660 and udf fs (for rewritable cd /dvd) support. While copying with k3b specify ignore read errors. A player will play the cd cause it is very tolerant to bit errors. However copying is not. You might want to install libdvdcss2.
JTD wrote:
dvd copying and playing is user space. Nothing to do with the kernel as long as you have iso9660 and udf fs (for rewritable cd /dvd) support. While copying with k3b specify ignore read errors. A player will play the cd cause it is very tolerant to bit errors. However copying is not. You might want to install libdvdcss2.
JTD and Sharukh, the cds can be read properly in Windows. I later copied the hollywood cd using Nero on the same hw. This is surely some copy protect issue. Could the K/Ubuntu 5.10 users try this out on their computers? Try to copy a *.dat file from the mpegav folder in any movie cd and paste it on the desktop.
Regards,
Rony.
___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Rony,
JTD and Sharukh, the cds can be read properly in Windows. I later copied the hollywood cd using Nero on the same hw. This is surely some copy protect issue. Could the K/Ubuntu 5.10 users try this out on their computers? Try to copy a *.dat file from the mpegav folder in any movie cd and paste it on the desktop.
The so-called DAT file can never be copy-pasted directly in GNU/Linux as that file is _not_ a real file. A VCD doesn't contain a file system, it contains raw data. But as Winblows can't access raw data directly from a device those DAT files are provided which act as gateways to the raw data. GNU/Linux won't copy those files as they don't exist, while in Winblows the actual RAW data pointed to by those DAT files will be encoded to MPEG format and copied on-the-fly. Just copy the file on Winblows and then do a `file` on that on GNU/Linux and you will know. So the only way to copy a VCD on GNU/Linux is to either `dd` it or use some VCD ripping program like vcdimager. Hope that helps ... Regards, BG
- -- Baishampayan Ghose b.ghose@ubuntu.com Ubuntu -- Linux for Human Beings http://www.ubuntu.com/
1024D/86361B74 BB2C E244 15AD 05C5 523A 90E7 4249 3494 8636 1B74
On 09/04/06 18:19 +0530, Baishampayan Ghose wrote: <snip>
the only way to copy a VCD on GNU/Linux is to either `dd` it or use some VCD ripping program like vcdimager.
http://www.google.com/search?q=vcdfs
Devdas Bhagat
On Sun, 09 Apr 2006, Baishampayan Ghose wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The so-called DAT file can never be copy-pasted directly in GNU/Linux as that file is _not_ a real file. A VCD doesn't contain a file system, it contains raw data.
What about vcdfs ?
But as Winblows can't access raw data directly from a device those DAT files are provided which act as gateways to the raw data. GNU/Linux won't copy those files as they don't exist, while in Winblows the actual RAW data pointed to by those DAT files will be encoded to MPEG format and copied on-the-fly. Just copy the file on Winblows and then do a `file` on that on GNU/Linux and you will know. So the only way to copy a VCD on GNU/Linux is to either `dd` it or use some VCD ripping program like vcdimager. Hope that helps ... Regards, BG
I don't know about linux not seeing the the dat files. vcd's _can_ be successfully copied with cdrdao. Been there, done that. Do try it and let us know.
besides, ------------------------------------------------
[test@carbon ~]$ ls -R /media/cdrecorder/ /media/cdrecorder/: cdi ext mpegav segment vcd
/media/cdrecorder/cdi: cdi_all.rtf cdi_bum.dat cdi_font.fnt cdi_vcd.app
/media/cdrecorder/ext: lot_x.vcd psd_x.vcd
/media/cdrecorder/mpegav: avseq01.dat avseq02.dat avseq03.dat
/media/cdrecorder/segment: item0001.dat item0002.dat item0003.dat
/media/cdrecorder/vcd: entries.vcd info.vcd lot.vcd psd.vcd
-----------------------------------------------
Sharukh.
Baishampayan Ghose b.ghose@ubuntu.com
The so-called DAT file can never be copy-pasted directly in GNU/Linux as that file is _not_ a real file. A VCD doesn't contain a file system, it contains raw data. But as Winblows can't access raw data directly from a
I myself have copied .dat file directly and pasted in gnu/linux..
Pankaj
Baishampayan Ghose wrote:
The so-called DAT file can never be copy-pasted directly in GNU/Linux as that file is _not_ a real file. A VCD doesn't contain a file system, it contains raw data.
All this information is news for me. Thanks. :)
Regards,
Rony.
___________________________________________________________ NEW Yahoo! Cars - sell your car and browse thousands of new and used cars online! http://uk.cars.yahoo.com/
Baishampayan Ghose wrote:
The so-called DAT file can never be copy-pasted directly in GNU/Linux as that file is _not_ a real file. A VCD doesn't contain a file system, it contains raw data.
The simplest solution to this problem I have found is: 1. Use K3B(or any cd burning tool on linux) to create an ISO image of the VCD and store it on your system. One may face problems with k3b unable to read cd, but this can be fixed by properly configuring it(I dont remember the configuration but you can always try out different combinations. I could find it in around 3 attempts.)
2. The name of the image file would be <anything>.iso 3. Change the extension of this image file by simply renaming it as <anything>.mpg
Since VCD's are in mpeg format and u have just copied entire raw data, just saving it as .mpg makes any video player supporting mpeg movies play it properly. Only problem that may remain is the track info. You wont get separate files for separate tracks as it appears on the vcd.
On Sun, 09 Apr 2006, Rony Bill wrote:
Rony Bill wrote:
Further to the above mail, I am not even able to copy the cd contents after mounting it and using simple copy/paste in gui mode. I tried it with 2 different movie cds. One a Hollywood movie and one Marathi. Both are original but suspecting that maybe the holly one is copy protected, even the Marathi movie dat file cannot be copied. Both movies play properly in VLC Player. Even K3B burning gave read errors.
I cross checked with a magazine data cd and it created a full iso using the simple dd command dd if=/dev/cdrom of=file.iso
Does the Linux kernel have some cd movie copy protection? Any known application or dependency thats causing this?
Regards,
Rony.
If the cd is not scratched, do this:
cdrdao copy
man cdrdao.
I've noticed that if a cd/dvd is scratched, you can't copy it on your pc but it migh run just well on a vcd/dvd player. I don't kow why.
regards,
Sharukh.
Rony,
From the net I found a command to copy a cd into an iso file.
dd if=/dev/cdrom of=file.iso
This has to be given to an unmounted disc. However I got a series of continuous errors when running the command and the operation failed. What could have gone wrong?
You may want to look out for the right byte select option. Usually it is bs=512 so your command would look something like dd if=/dev/cdrom of=file.iso bs=512
In any case have a look at this URLs :
http://www.ccp14.ac.uk/ccp14admin/linux-server/iso_images_to_dvdram/ http://www.cpqlinux.com/dd-resize.html
Thanks & Regards, Mitul Limbani, Founder & CEO, Enterux Solutions, The Enterprise Linux Company (TM), www.enterux.com