@servicedesk-pianezza Thanks for the detail — that is a good writeup, and it saves a lot of back and forth.
Two things before the questions.
First, one thing you can rule out on our side: FOS never writes UEFI boot entries. There is
no efibootmgr anywhere in the FOS image, so a deploy cannot leave a bad NVRAM entry
behind. Nothing on the server writes the Host Primary Disk field either — not full
registration, not Quick Registration, not inventory. The only writers are the host edit
form, the group form and the API. So the /dev/md0 you found was set by a person or by an
import, and it is a clue, not a side effect: /dev/md0 can only appear in FOS if an md
array was assembled, and FOS only does that when the host boots with the mdraid=true
kernel argument. That means one of those disks carried RAID (or Intel RST / IMSM) metadata.
Second, your symptom has been reported twice before on this exact family and neither
report reached a root cause:
- https://forums.fogproject.org/topic/14191 — Latitude 3400, resizable, stuck at the Dell
splash, “the only fix is to wipe the drive and re-format it” - https://forums.fogproject.org/topic/14147 — Latitude 3500, resizable, same, and the same
cure
In both, the drive booted fine once moved to another Dell model, and only a wipe on another
machine made the 3400/3500 usable again. That points at the firmware stalling while it
scans the disk, not at Windows. A wipe removes more than the partition table — it removes
whatever is left outside the partitions FOG restores.
So the working theory is stale RAID metadata in the tail of the drive. A resizable deploy
writes the partition table and the partitions; it does not zero the rest of the disk, so
anything the factory install left at the end of the drive survives. Your /dev/md0 is
direct evidence that metadata was there.
Could you run these? All of them in a debug deploy task (tick Debug on the task), at the
shell, before you type fog:
wipefs /dev/nvme0n1 # lists signatures, changes nothing
mdadm --examine /dev/nvme0n1 # and on each partition, e.g. nvme0n1p4
sgdisk -v /dev/nvme0n1
gdisk -l /dev/nvme0n1 # the header lines, including any warnings
Then, on a machine that is already hanging, the one test that separates firmware from
Windows: with the deployed drive in, does F12 reach the boot menu, or does the machine hang
before that too? And with the drive wiped (sgdisk -Z /dev/nvme0n1; wipefs -a /dev/nvme0n1) but nothing deployed, does it boot to “no bootable device”?
If the wipe-then-deploy sequence boots, that is the answer and we will make FOG clear those
signatures itself.
Two BIOS settings worth clearing on these while you are in there, both known to cause a
logo hang independent of FOG: set SupportAssist OS Recovery / “Auto OS Recovery Threshold”
to off, and set Fastboot to Thorough. Also clear NVRAM once, since a 3400 that has failed
to boot several times will have accumulated stale boot entries.
On your sanitize question: a VM capture needs sysprep /generalize /oobe /shutdown before
the capture, and that is the whole of it for hardware differences. It does not explain a
hang this early — generalize problems show up as a BSOD or a spinner, not as a freeze at
the vendor logo.