Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

using dd to create part. image I always get the msg that there is no Storage available on the output file.
my cmd. is: sudo dd if=/dev/sdb1 of=/dev/sdc2.disk1.img
device sdb1 is my Ubuntu 11.10 ext4 root partition 54 Gb. in size.
device sdc2 is an empty ext4 partition 80 Gb. in size on an other external hard drive.
Same results if devices are mounted or unmounted or if I run dd as root user.

share|improve this question
3  
You should mount /dev/sdc2 somewhere, say on /mnt, then use as output a new file on /mnt, for example /mnt/file.image. –  enzotib Feb 11 '12 at 22:07
    
Also I'd like to mention that dd is a really dangerous command which does no "sanity checks" or anything to prevent you from destroying your data; and in addition it is ran with superuser privileges. I wouldn't try to guess the correct syntax to use it via trial-and-error process (this /dev/sdc2.disk1.img thingie - is it "hmm... maybe that's how I can write to disk1.img file on the /dev/sdc2 filelsystem", right? :) ) –  Sergey Feb 11 '12 at 23:23
add comment

1 Answer

That is because you are trying to put the file in the /dev directory, which is a tmpfs that holds only a limited amount of files in ram. If you want to put the file in /dev/sdc2, then you have to mount it somewhere and put the file there.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.