Creating an image from a file system

From MK Wiki EN
Jump to navigation Jump to search
dd if=/dev/XXX of=filename.img

This command dumps all bytes to the file specified.

e2image -ra /dev/XXX filename.img

This command only writes the used blocks to the file specified.