The future of partclone and therefore FOG as it is
-
@Junkhacker In the imaging process it self no, when the drivers go to copy over it says no room left on device or something like that. But that is only a file copy. I’m suspecting the disk format is damaged by then because of the partclone thing. I’m far from done testing on this. If new hardware give the same results then I’ll go back and create the inits using 0.2.89 (or whatever was original) to ensure I don’t have something else breaking the imaging deployment.
-
@george1421 and this image deploys properly with the standard inits with 0.2.89? this just seems so bizarre to me
-
Same results with a Dell OptiPlex 9010 (unable to boot, disk read error) So I’ll rebuild the inits with the older version of partclone to try to get back to a good place.
-
Well this is a bit disappointing, but rebuilding the inits with only changing partclone back to 0.2.89 resulted in a successful deployment of my Win7 reference image. So it looks at least initially that the newer 0.3.x version is having a problem deploying images created with the older version of partclone.
-
@george1421 could you provide me with your latest copy of the init with 0.3.12
I’d like to test it some more and see if i can get the same failures you did. the inits provide by @Sebastian-Roth here https://forums.fogproject.org/post/119056 didn’t give me the problems you’ve seen after edits to the funcs.sh -
@Junkhacker The latest is in the link below from my google drive. I would have to rebuild the inits again with 0.3.12 (which I plan to do since I confirmed the only change was back to 0.2.89 and it worked). I’ll start the rebuild with 0.3.12 shortly.
-
@george1421 i found a copy of the init_p3 file i downloaded from you yesterday before you rebuit with 2.89, so i’ll work with that
edit: nevermind, that file is from May 1 not yesterday, is that one good enough for testing?
-
Finally got around to testing a bit.
I compiled partclone 0.3.12, removed --ignore-crc and deployed a 0.2.89 UEFI windows 10 image.
Verified I was running the correct partclone version (since it mentions it while writing the data) and monitored for any trouble
Everything completed successfully and the pc booted normally.
edit: I should additionally mention I haven’t touched ramdisk size or anything.
-
@Quazz Would you mind testing with my init? https://drive.google.com/open?id=1L3CxtRXn4cwLksu-41OcGyZ_yd5qlK1h
There is something I don’t yet understand.
-
@george1421 just looking at the partclone binary file sizes in the init from you and the one from @Sebastian-Roth the sizes are all different. I’m curious as to the differences in the config files used to compile the different versions. yours are smaller.
-
@george1421 Deploying now, will report tomorrow.
-
@Junkhacker said in The future of partclone and therefore FOG as it is:
the sizes are all different
Are they both from 0.3.12? As to the config file, I did not change anything. I let buildroot pick the configuration (same as with 0.2.89)
In the buildroot package the partclone.mk file the only thing I changed was the version number and the path to get the file from. Otherwise it has the same compile time switches. Now that may be an issue where I need to modify a compile time switch to include legacy support ??
################################################################################ # # partclone # ################################################################################ PARTCLONE_VERSION = 0.3.12 PARTCLONE_SOURCE = partclone-$(PARTCLONE_VERSION).tar.gz PARTCLONE_SITE = http://partclone.nchc.org.tw/download/testing PARTCLONE_INSTALL_STAGING = YES PARTCLONE_AUTORECONF = YES PARTCLONE_DEPENDENCIES += attr e2fsprogs libgcrypt lzo xz zlib xfsprogs ncurses host-pkgconf PARTCLONE_CONF_OPTS = --enable-static --enable-xfs --enable-btrfs --enable-ntfs --enable-extfs --enable-fat --enable-hfsp --enable-ncursesw define PARTCLONE_LINK_LIBRARIES_TOOL ln -f -s $(BUILD_DIR)/xfsprogs-*/include/xfs $(STAGING_DIR)/usr/include/ ln -f -s $(BUILD_DIR)/xfsprogs-*/libxfs/.libs/libxfs.* $(STAGING_DIR)/usr/lib/ ln -f -s $(@D)/fail-mbr/fail-mbr.bin $(@D)/fail-mbr/fail-mbr.bin.orig endef PARTCLONE_POST_PATCH_HOOKS += PARTCLONE_LINK_LIBRARIES_TOOL $(eval $(autotools-package))
-
@george1421 Did you remove the partclone patch file?
-
@Quazz Yes, also I attached the changes I made to the Config.in and partclone.mk early in this thread.
So what I’m after at the moment is to build a truth table. I’m saying that 0.3.12 doesn’t deploy the older image files correctly, Junkhacker is saying with my inits it does work. I need a few more people to test to confirm one way or the other. If my inits work on everyone else’s environment than mine, I need to dig into why. Its not to say one is right or one is wrong, its to understand why. Because if I’m the odd one with issues, there will be at least a handful of others with the same issue. So its good we have problems like this so we can understand before the update hits everyone’s FOG server.
-
@george1421 Of course, just trying to figure out if there’s any differences in the inits themselves that might cause a disrepancy.
I’ll let you know if it deploys correctly on my test system tomorrow.
Do you have a funky partition layout perhaps? I’m assuming fairly vanilla, but you never know.
-
@george1421 i just tested a deploy with the init i downloaded from your google drive link today. it deployed and booted (though i did get the UUID error, so you need to update your files to the latest build, not that it’s related to the partclone issues)
I’m at kind of a loss as to what’s wrong at this point
-
@george1421 Deployed successfully with your init on my end, W10 Pro UEFI.
-
@Quazz Thank you for checking, I guess I need to better understand what is going wrong with my deployments. They work perfectly with the 0.2.89 partclone even when I build the inits.
-
@george1421 for reference: I tested with your inits using both bios and uefi configurations using a physical computer and a vmware VM. I had no problems with booting the systems after imaging. all images were compressed with zstd (not that that should make a difference, but putting it out there) and the images ranged from windows 7 to windows 10. imaging done while in uefi mode seemed significantly slower. i don’t know if that’s normal, since i don’t normally use that.
-
@george1421 have you had a chance to do any further testing? did you build 32bit versions and have you tried using them?