Note: Using Clonezilla 2.2.1-25-i686-pae, Debian base
After upgrading from Clonezilla 1.x.x, now when we capture our 'clean' Windows 2000 NTFS hard disk image and then restore it to a new computer, Windows Chkdsk runs everytime. It does NOT find any errors or files to fix and the box runs 100% normally. However, after a hard power cycle, chkdsk runs again. It's as if the Clonezilla imaging process has somehow permanently set a 'dirty bit'.
Confirmed that using a 'good image' captured with an older version of CZ, but restored with the newer 2.2.1 CZ still produces the chkdsk issue. The chkdsk did seem to 'heal' itself after the first reboot. Note: Have had ZERO issues using the exact same software (new or old cz / images from either) on our newer Windows XP target computer. Possible Win2000/NTFS issue only.
Any help / suggestions much appreciated.
Thanks!
Last edit: polishm 2014-07-18
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If the partitions are the same size, you can also try removing the -r option. I have noticed that is seems on recent versions of clonezilla this can cause Windows chkdsk to be triggered even if no resize is performed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It worked! Not only did it fix the chkdsk issue on Windows 2000, it fixed another issue we were having: After restoring with this option (-r) newer CZ can no longer capture the image (partclone or ntfsclone) because of this 'dirty bit' (that apparently no ntfs fix tool in the world seems to be able to fix).
Thanks Again!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry I did not receive any notifications and have not been back to this forum in several months. Thank you conan & bd25 for your suggestions. Will update if/when I get a chance to get back to this issue and test them.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Note: Using Clonezilla 2.2.1-25-i686-pae, Debian base
After upgrading from Clonezilla 1.x.x, now when we capture our 'clean' Windows 2000 NTFS hard disk image and then restore it to a new computer, Windows Chkdsk runs everytime. It does NOT find any errors or files to fix and the box runs 100% normally. However, after a hard power cycle, chkdsk runs again. It's as if the Clonezilla imaging process has somehow permanently set a 'dirty bit'.
Here are the syslinux.cfg options being used:
Capture:
append initrd=/gdls-live/initrd.img boot=live username=user config quiet noprompt noswap nomodeset locales="en_US.UTF-8" keyboard-layouts="NONE" edd=on noeject ocs_prerun="sudo rm -r -f /home/partimage/TAGTS_pre2013_image" ocs_live_run="ocs-sr -q2 -j2 -z1p -i 2000 -p poweroff -nogui savedisk pre2013_image sda" ocs_postrun="" ocs_live_extra_param="" keyboard-layouts="NONE" ocs_live_batch="yes" locales="en_US.UTF-8" vga=788 ip= nosplash toram=filesystem.squashfs i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=no live-media-path=/gdls-live
Restore:
append initrd=/clonezilla-live/initrd.img boot=live username=user config quiet noprompt noswap nomodeset locales="en_US.UTF-8" keyboard-layouts="NONE" edd=on noeject ocs_prerun1="sudo mount /dev/sdb1 /mnt" ocs_prerun2="sudo mount --bind /mnt/home/partimag /home/partimag" ocs_live_run="ocs-live-restore" ocs_live_extra_param="-e1 auto -e2 -batch -r -j2 -p poweroff -nogui -icds restoredisk disk_image sda" keyboard-layouts="NONE" ocs_live_batch="yes" locales="en_US.UTF-8" vga=788 ip= nosplash toram=filesystem.squashfs i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=no live-media-path=/clonezilla-live
UPDATE:
Confirmed that using a 'good image' captured with an older version of CZ, but restored with the newer 2.2.1 CZ still produces the chkdsk issue. The chkdsk did seem to 'heal' itself after the first reboot. Note: Have had ZERO issues using the exact same software (new or old cz / images from either) on our newer Windows XP target computer. Possible Win2000/NTFS issue only.
Any help / suggestions much appreciated.
Thanks!
Last edit: polishm 2014-07-18
Try adding post_run command(s) to your restore append line and using the ntfsfix utility that is included with CZ. That works for me.
If the partitions are the same size, you can also try removing the -r option. I have noticed that is seems on recent versions of clonezilla this can cause Windows chkdsk to be triggered even if no resize is performed.
It worked! Not only did it fix the chkdsk issue on Windows 2000, it fixed another issue we were having: After restoring with this option (-r) newer CZ can no longer capture the image (partclone or ntfsclone) because of this 'dirty bit' (that apparently no ntfs fix tool in the world seems to be able to fix).
Thanks Again!
Sorry I did not receive any notifications and have not been back to this forum in several months. Thank you conan & bd25 for your suggestions. Will update if/when I get a chance to get back to this issue and test them.