Help mounting a CD-R/DVD-R, then using dd to write to them.
I can't seem to mount a CD-R or DVD-R, doesn't matter if it is blank or not.
However, when I use a program such as Brasero, I am able to write to them. I cannot use dd to write to them. This is the output of trying to mount/unmount. Code:
root@delarocha-> mount /dev/sr0 /media/cd Code:
root@delarocha-> dmesg | tail Note: The results of everything(apart from dmesg I would assume), are the same for a CD-R and DVD-R This is what I get while trying to dd a .iso and .mp4, respectively. Code:
web@delarocha-> dd if=/dev/sr0 of=~/Downloads/xubuntu-14.04.1-desktop-amd64.iso Code:
web@delarocha-> dd if=/dev/sr0 of=~/Videos/The\ Hobbit/The\ Hobbit\ The\ Desolation\ of\ Smaug.mp4 Code:
Linux delarocha 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt2-1 (2014-12-08) x86_64 GNU/Linux Code:
sr0 11:0 1 2K 0 rom Here is my /etc/fstab Code:
# /etc/fstab: static file system information. |
You can not mount blank media nor music CDs. You might want to post your linux distribution / version and explain what you are trying to accomplish.
You can't burn optical media via the dd command. You need to use a burning application like Brasero. FYI if = input file, of = output file. dd isn't the correct tool for writing to optical media however if you use it for other purposes make sure the syntax is correct or you might corrupt a filesystem and lose data. |
Hi,
> But after I use the dd command to write the .iso, it disappears. As michaelk already stated, your dd commands are up to overwriting and truncating your input files of=~/Downloads/xubuntu-14.04.1-desktop-amd64.iso of=~/Videos/The\ Hobbit/The\ Hobbit\ The\ Desolation\ of\ Smaug.mp4 must be if=... and if=/dev/sr0 must be of=/dev/sr0. It depends on the media type whether dd would work. Suitable are: DVD-RAM, DVD+RW, BD-RE, formatted DVD-RW, formatted CD-RW. Not suitable for dd: CD-R, unformatted CD-RW, DVD-R, DVD+R, DVD+R DL, unformatted DVD-RW, BD-R. Try with any medium type: xorriso -as cdrecord -v dev=/dev/sr0 blank=as_needed ~/Downloads/xubuntu-14.04.1-desktop-amd64.iso This will automatically make written CD-RW and DVD-RW re-usable. Have a nice day :) |
Although you could use 'dd' to write disks, I would recommend using 'cdrecord' and 'growisofs' instead.
|
All times are GMT -5. The time now is 12:30 PM. |