isBitLockedPartition error
-
Fog version: 69 (working branch updated today)
server os: Cent OS 7So I was deploying an image that deployed without issue a week ago that hasn’t been touched and I got this “isBitLockedPartition” error when it tries to deploy the second partition of the image. I’m pretty sure the second partition of the image is either the EFI partition or the Microsoft system partition. In any case its one I don’t really touch (well I do install refind into the EFI partition but that hasn’t ever caused any problems, only solutions).
I thought it might be the host was messed with by someone so I cleared out the partition table in a fog debug session with gdisk and tried again with the same results.
Here is the output of a debug session attempt to deploy:
[Tue Oct 31 root@fogclient ~]# fog * Running post init scripts.........................Done * Press [Enter] key to continue ================================== === ==== ===== ==== === ========= == === == === === ======== ==== == ==== === === ======== ==== == ========= === ==== ==== == ========= === ======== ==== == === === === ======== ==== == ==== === === ========= == === == === === ========== ===== ==== ================================== ===== Free Opensource Ghost ====== ================================== ============ Credits ============= = https://fogproject.org/Credits = ================================== == Released under GPL Version 3 == ================================== Version: 69 * Press [Enter] key to continue * Verifying network interface configuration.........Done * Press [Enter] key to continue * Checking Operating System.........................Windows 10 * Checking CPU Cores................................4 * Send method.......................................NFS * Attempting to check in............................Done * Press [Enter] key to continue * Mounting File System..............................Done * Press [Enter] key to continue * Checking Mounted File System......................Done * Press [Enter] key to continue * Checking img variable is set......................Done * Press [Enter] key to continue * Attempting to send inventory......................Done * Press [Enter] key to continue * Using Image: Base * Looking for Hard Disk.............................Done * Press [Enter] key to continue * Using Disk: /dev/sda * Enabling write cache..............................Enabled * Press [Enter] key to continue * Using Hard Disk: /dev/sda * Preparing Partition layout * Erasing current MBR/GPT Tables.................... Done * Press [Enter] key to continue * Restoring Partition Tables (GPT).................. Done * Press [Enter] key to continue * Attempting to expand/fill partitions..............Done * Press [Enter] key to continue +--------------------------------+ | Attempting to deploy image | +--------------------------------+ | Using Partclone | +--------------------------------+ * Processing Partition: /dev/sda1 (1) * Press [Enter] key to continue * Imaging using Partclone (zstd) Cloned successfully. ############################################################################## # # # An error has been detected! # # # ############################################################################## No partition passed (isBitlockedPartition) Args Passed: Kernel variables and settings: bzImage loglevel=4 initrd=init.xz root=/dev/ram0 rw ramdisk_size=127000 web=http://192.168.100.117/fog/ consoleblank=0 rootfstype=ext4 mac=c8:cb:b8:10:26:e9 ftp=192.168.9.28 storage=192.168.9.28:/images/ storageip=192.168.9.28 osid=9 irqpoll hostname=IT-Public-3 chkdsk=0 img=Base imgType=n imgPartitionType=all imgid=27 imgFormat=5 PIGZ_COMP=-19 type=down * Press [Enter] key to continue
I have never done anything with bitlocker and didn’t have any trouble deploying this image before. So I’m wondering if there was a change that could have caused this or a Linux update that could have caused this, or maybe I did It on accident without knowing? The image is a Windows 10 1709 x64 image if that makes a difference to anyone. It is a pretty slim image, only thing added is a set of custom image files, and network drivers. It’s then sysprepped and uploaded to fog. It is a single file zstd with level 19 compression. I use this machine as a public terminal for employees without computers, but it doesn’t get used much so it is often used as a test machine for imaging and this hasn’t happened on this machine before.
The above attempt shows it happening from a storage node download but the same thing happened when it first tried to download from the main server where it was originally uploaded.
Any help would be greatly appreciated.
Thanks,
-JJ -
Didn’t see this post in my search before posting, trying the related capture error workaround
https://forums.fogproject.org/topic/11016/unable-to-capture-image-bitlocked-partition/8 -
@Sebastian-Roth I tried out your init from the previously referenced post. Great Success!
However I figure you should be aware of a slight bug in them, it seems there’s an invalid grep line somewhere, it says no argument – ‘V’ exists and then outputs the grep help text. It does this repeatedly so it’s probably in a function somewhere.
Here’s the full debug output using your init.
[Tue Oct 31 root@fogclient ~]# fog * Running post init scripts.........................Done * Press [Enter] key to continue ================================== === ==== ===== ==== === ========= == === == === === ======== ==== == ==== === === ======== ==== == ========= === ==== ==== == ========= === ======== ==== == === === === ======== ==== == ==== === === ========= == === == === === ========== ===== ==== ================================== ===== Free Opensource Ghost ====== ================================== ============ Credits ============= = https://fogproject.org/Credits = ================================== == Released under GPL Version 3 == ================================== Version: 69 * Press [Enter] key to continue * Verifying network interface configuration.........Done * Press [Enter] key to continue * Checking Operating System.........................Windows 10 * Checking CPU Cores................................4 * Send method.......................................NFS * Attempting to check in............................Done * Press [Enter] key to continue * Mounting File System..............................Done * Press [Enter] key to continue * Checking Mounted File System......................Done * Press [Enter] key to continue * Checking img variable is set......................Done * Press [Enter] key to continue * Attempting to send inventory......................Done * Press [Enter] key to continue * Using Image: Base * Looking for Hard Disk.............................Done * Press [Enter] key to continue * Using Disk: /dev/sda * Enabling write cache..............................Enabled * Press [Enter] key to continue * Using Hard Disk: /dev/sda * Preparing Partition layout * Erasing current MBR/GPT Tables....................Done * Press [Enter] key to continue * Restoring Partition Tables (GPT)..................Done * Press [Enter] key to continue * Attempting to expand/fill partitions..............Done * Press [Enter] key to continue +--------------------------------+ | Attempting to deploy image | +--------------------------------+ | Using Partclone | +--------------------------------+ * Processing Partition: /dev/sda1 (1) * Press [Enter] key to continue * Imaging using Partclone (zstd) Cloned successfully. grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file * Clearing ntfs flag................................Done * Not expanding (/dev/sda1) fixed size * Press [Enter] key to continue * Processing Partition: /dev/sda2 (2) * Press [Enter] key to continue * Imaging using Partclone (zstd) Cloned successfully. Cloned successfully. grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file * Not expanding (/dev/sda2) fixed size * Press [Enter] key to continue * Processing Partition: /dev/sda3 (3) * Press [Enter] key to continue * Imaging using Partclone (zstd) Cloned successfully. grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file * Not expanding (/dev/sda3) fixed size * Press [Enter] key to continue * Processing Partition: /dev/sda4 (4) * Press [Enter] key to continue * Imaging using Partclone (zstd) Cloned successfully. grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file * Clearing ntfs flag................................Done grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file * Resizing ntfs volume (/dev/sda4)..................Done * Press [Enter] key to continue grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file * Clearing ntfs flag................................Done * Press [Enter] key to continue * Resetting UUIDs for /dev/sda * Press [Enter] key to continue * Disk UUID being set to............................c58db304-0143-4807-8553-c3fe3a63572e * Press [Enter] key to continue grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file * Partition type being set to.......................1:de94bba4-06d1-4d40-a16a-bfd50179d6ac * Press [Enter] key to continue * Partition uuid being set to.......................1:6ca9bc0a-b068-431e-ad37-42ebcc1180c9 * Press [Enter] key to continue grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file * Partition type being set to.......................2:c12a7328-f81f-11d2-ba4b-00a0c93ec93b * Press [Enter] key to continue * Partition uuid being set to.......................2:5edc0547-686e-4397-bdd2-43bfae201e45 * Press [Enter] key to continue grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file * Partition type being set to.......................3:e3c9e316-0b5c-4db8-817d-f92df00215ae * Press [Enter] key to continue * Partition uuid being set to.......................3:7d352040-d03c-420a-b307-53242b97e4bf * Press [Enter] key to continue grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file * Partition type being set to.......................4:ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 * Press [Enter] key to continue * Partition uuid being set to.......................4:fe34efcf-4975-4988-9076-08cca3e7630d * Press [Enter] key to continue * Resetting swap systems * Press [Enter] key to continue * Stopping FOG Status Reporter......................Done * Press [Enter] key to continue grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file * Mounting directory................................Done * Press [Enter] key to continue grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file * Mounting directory................................Done * Press [Enter] key to continue * Changing hostname.................................Done * Press [Enter] key to continue * Task Complete * Updating Database................................. Done * Press [Enter] key to continue
So thank you good sir!
-
@JJ-Fullmer Thanks heaps for reporting. Ohh dang, should have tested this. Would have saved me a lot of time. Will do so next time!
Ok, inits are ready to download again and code is checked into the
working
branch. So next time Tom is building the inits this will be in there.Note: Moved to bug reports and marked as solved.
-
@sebastian-roth inits are updated on fogproject main. Thank you.
-
@sebastian-roth But if you test it, what’s the point of us Testers? =p
-
I had the same issue with T540p’s, a git pull and the 1.5.0-RC-10 resolved this for me also.