Creating an image from a file system

From MK Wiki EN
Revision as of 13:13, 1 November 2021 by MkWikiEnSysOp (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.