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 ofpartclone.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 π§
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
- arch rolling: partclone 0.3.52-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms