LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   dd command on fedora 13 "no such file or directory"? (https://www.linuxquestions.org/questions/fedora-35/dd-command-on-fedora-13-no-such-file-or-directory-820561/)

michaelinux 07-18-2010 01:17 PM

dd command on fedora 13 "no such file or directory"?
 
i got this problem on fedora 13, i've always used the dd command to make backups of my cds/dvds but for some reason in fedora it doesn't work..
this is what i get:

dd if=/dev/cdrom of=/home/miguel/Desktop/compilation.iso
dd: opening `/home/miguel/Desktop/compilation.iso': No such file or directory

i don't really know why i get this error, I've always used the same syntax.
what could be the problem? it has always worked for me in other distros.

smoker 07-18-2010 02:06 PM

Try touching compilation.iso before running your command. I've never run dd like that as I usually copy an image to a block device, which already exists.
There is no mention in man dd of dd creating any files, only truncating one by default if it exists.

michaelinux 07-18-2010 07:34 PM

Quote:

Originally Posted by smoker (Post 4037383)
Try touching compilation.iso before running your command. I've never run dd like that as I usually copy an image to a block device, which already exists.
There is no mention in man dd of dd creating any files, only truncating one by default if it exists.

mmm what do you mean by "touching" compilation.iso first? the weird thing is that i've always used dd command to make iso backups of my cds or dvds, and for some reason here in fedora it doesn't work :(

smoker 07-18-2010 10:17 PM

touch creates an empty file.
Code:

touch compilation.iso
FWIW, your command runs fine on F12.

michaelinux 07-19-2010 12:32 PM

Quote:

Originally Posted by smoker (Post 4037635)
touch creates an empty file.
Code:

touch compilation.iso
FWIW, your command runs fine on F12.

:) d'oh!!i'm feeling so stupid right now i got my problem solved.. it turns out that my home folder has a capital letter at the beginning. hmm i think is the first time i have named my home folder like this anyway... sorry xD


All times are GMT -5. The time now is 12:20 AM.