I created an image of an NTFS partition using dd.
I wonder if I can unload/unpack the files and directories in the image to any partition whose size is larger than the image size, so that I can access the files and directories just in the same way as accessing the original partition?
If yes, how shall I do it?
Added:
Just found something useful from a link :
To restore a partition or a hard disk from an image file, just exchange the arguments "if" and "of". For example, restore the first partition of /dev/sda from the image file "disk2.img":
dd if=disk2.img of=/dev/sda1
I wonder what will happen, if the partition for
ofis not the original partition from where the image is created?- Consider the cases when the partition for
ofis smaller or larger than the original partition. - Also consider the cases when the partition for
ofalready has some data in it. Is it possible to restore from a particular position in the partition, so to avoid overwriting any existing data on the partition forof?
- Consider the cases when the partition for
- Can the restoration from an image created by
ddused by other similar applications, even by Windows software? In other words, does the image created byddhave some format specific todd?
Thanks!
ddcreates an exact byte for byte copy, nothing special about it. – bahamat Sep 11 '12 at 23:24