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.
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
|
|||
|
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. |
|||
|
|
/dev/sdc2somewhere, say on/mnt, then use as output a new file on/mnt, for example/mnt/file.image. – enzotib Feb 11 '12 at 22:07ddis 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.imgthingie - 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