Creating an image from a file system: Difference between revisions

From MK Wiki EN
Jump to navigation Jump to search
(Created page with " 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...")
 
(No difference)

Latest revision as of 13:13, 1 November 2021

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.