linux - Integrity of two image files of different size running same os issue -
i have requirement. have 2 virtual image files running light weight linux distribution (eg : slitaz),whose disk sizes different. want check integrity of kernel running of these image files @ given point in time @ block/sector level.
i have accomplished integrity check @ file system level,by mounting image loop device , accessing required kernel files (vmlinuz , initrd) , hashing them , comparing hash genuine hash these files.
now want perform case check integrity @ block level,here did :
but there way check integrity in case?
as know contents @ block/sector level match part belongs kernel in 2 image files since running same linux distro.
i unable block level information of kernel resides check integrity.assuming kernel files reside more 1 block,how info? tool or guidance in appreciated.
if understand correctly, question not become:
i need know on disk blocks (within these file systems) kernel files located.
if case (depending on file system involved) use debugfs
described in post.
Comments
Post a Comment