PARTCLONE.CHKIMG(8)

✨ NAME ✨

partclone.chkimg β€” the (iconic, lowkey underrated) utility that checks whether an image made by partclone is actually valid πŸ’…

(this is the partclone.chkimg page from the Partclone User Manual, btw β€” welcome bestie 🫢)


🌸 SYNOPSIS 🌸

partclone.chkimg {[-s | --source] source} [[-dX | --debug=X]]
                 [[-N | --ncurses]] [[-f | --UI-fresh]] [[-F | --force]]
                 [[--ignore_crc]] [[-C | --no_check]]
                 [[-B | --no_block_detail]] [[-z | --buffer_size]]
                 [[-L | --logfile] logfile] [[--json-status] FILE]
                 [[--json-fresh] N]

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so partclone.chkimg is part of the Partclone project, and its whole job is verifying image files ✨. That's it, that's the gig.

Partclone gives you utilities to back up used blocks, and it's designed for maximum file-system compatibility by leaning on existing libraries β€” like, e2fslibs gets used to read the used blocks of an ext2 partition. Slay, honestly.

The file systems Partclone supports include btrfs, ext2, ext3, ext4, reiserfs, reiser4, xfs, jfs and zfs for LINUX πŸ”₯. It also handles some non-linux operating systems, ex: NTFS, FAT, EXFAT (for Windows), HFS plus (APPLE MAC OS), UFS2 (FreeBSD), VMFS (VMWare Vsphere) 🌈. All partclone utils run like partclone.xxx and are very similar to fsck or mkfs β€” for example, to backup/restore hfsplus, just run partclone.hfsp. Periodt.


πŸ’– OPTIONS πŸ’–

The program follows the usual GNU command line syntax, with long options starting with two dashes (`-`). A summary of options is included below πŸ‘‡

  • -s FILE, --source FILE β€” Source FILE, bestie. The FILE could be an image file (made by partclone) or a device, depending on what you're doing. Normally, backup source = device, restore source = image file.

Receiving data from a pipe line is supported ONLY for restoring β€” just ignore the -s option, or use - to mean "receive data from stdin" 🫢

  • -L FILE, --logfile FILE β€” put a special path to record partclone log information. (default /var/log/partclone.log)
  • -C, --no_check β€” Don't check device size and free space πŸ™ˆ
  • -N, --ncurses β€” Using Ncurses Text User Interface ✨
  • -X, --dialog β€” Output message as Dialog Format.
  • --ignore_crc β€” Ignore crc check error πŸ’€ (yes, it's giving "I'm choosing peace")
  • -F, --force β€” Force progress.
  • -f sec, --UI-fresh sec β€” put a special second to different interval.
  • --json-status[=FILE] β€” Write progress status to FILE in JSON format, periodically refreshed, so external tools can poll the check status (default FILE: /var/log/partclone.json) πŸ”₯
  • --json-fresh=N β€” JSON status update interval in seconds (default: 1, minimum: 1)
  • -dlevel, --debug level β€” Set the debug level [1|2|3]
  • -h, --help β€” Show summary of options.
  • -v, --version β€” Show version of program.

πŸŽ€ FILES πŸŽ€

  • /var/log/partclone.log β€” The log file of partclone.chkimg πŸ“

⭐ EXAMPLES ⭐

Check whether part.img is correct or not. Main character behavior only πŸ’…

check part.img file is correct or not.
  partclone.chkimg -d -s partclone.img

πŸ‘‘ DIAGNOSTICS πŸ‘‘

The following diagnostics may be issued on stderr:

partclone.chkimg provides some return codes, that can be used in scripts 🧚

  • 0 β€” Program exited successfully.
  • 1 β€” Clone or Restore seem failed. 😭

πŸ“ BUGS πŸ“

Report bugs to thomas@clonezilla.org or http://partclone.org.

You can get support at http://partclone.org 🫢


🌈 SEE ALSO 🌈

partclone(8), partclone.chkimg(8), partclone.restore(8), partclone.dd(8), partclone.info(8)


πŸ’œ AUTHOR πŸ’œ

Yu-Chin Tsai <thomas@clonezilla.org>


Copyright Β© 2007 Yu-Chin Tsai

This manual page was written for the Debian system (and may be used by others).

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation.

On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.


ok that's the whole page bestie, no notes πŸ’…βœ¨

And yeah β€” this beauty is partclone.chkimg from the Partclone User Manual, dated 10/28/2026, page PARTCLONE.CHKIMG(8). Go verify something, ily πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from