Cannot find disk on system (get harddisk) - Dell Latitude 3140
-
@Kureebow Dell’s website says storage can be UFS, eMMC, or SSD.
What’s on your laptop?
https://www.dell.com/en-us/search/latitude 3140Perhaps there is still no fog or partclone support for UFS or eMMC storage.
-
@luilly23 It is UFS storage. Time to look to see if its supported.
-
@luilly23 I cant seem to find anything in the fog wiki for UFS being unsupported.
-
@Kureebow I don’t know what UFS is, but is this a relatively new technology?
Just because it’s NOT in the wiki, does not mean it’s automatically supported. We don’t know what we don’t know? How do you say you “don’t support” something you don’t even know about?
There has to be a ‘first’ and I think in this case there surely is.
Now we have to figure out what needs to be built into the filesystem as well as if/what drivers need to be added to the linux kernels?
I don’t have a build system anymore, but at least it’s a way we can try to get this working.
-
@Tom-Elliott It appears to be “released” around 2020. UFS (Universal flash storage).
I have yet to do any “Custom” work within fog usually everything plays pretty well.
I am willing to try if you can point me in the correct directions.
-
@Kureebow UFS is supported in the latest dev branch, you could also just download the latest kernel and init and that may do the trick.
The Surface Go 4 has UFS storage and we had to update the kernel config to support UFS drives. See https://forums.fogproject.org/topic/17112/surface-go-4-incompatible/2?_=1716208953314
and
https://github.com/FOGProject/fos/pull/78
and
https://github.com/FOGProject/fos/commit/71b1a3a46c43b61b692e31de21754dfc55606b64 and https://github.com/FOGProject/fos/blob/dc9656b08f369f9746372020456158d95cd2e0fa/configs/kernelx64.config#L3093-L3100In that post you’ll also see that UFS, at least on the surface go 4, only supports native 4k blocks. Which means, if you are making you image on a VM (VMware for sure on this) then you’re partitioning with 512e blocks instead of 4k blocks. 512e (e for emulated) is still the most common block size as it allows for better backwards compatibility while still using “better” 4k block storage on your disk in the background.
This matters because you won’t be able to correctly deploy a 512 block image to a 4k block disk, the block numbers won’t align properly and it will either completely fail or it will just not resize the disk correctly at the end.
I ended up maintaining a separate 4kn image and had to get approval to buy a separate surface go 4 to maintain the image on. On the plus side, that did give me the motivation to dial in my image creation process further with lots of automation.I imagine there is a VM Hypervisor out there that allows for setting the block size, but I know for sure that VMWare doesn’t. I found that bhyve within FreeBSD did have a method for this, but it required other work arounds for getting around Windows 11 security requirements, and I didn’t want to base my image off something with security workarounds.
-
@Kureebow said in Cannot find disk on system (get harddisk) - Dell Latitude 3140:
@luilly23 I cant seem to find anything in the fog wiki for UFS being unsupported.
While not everything from the wiki has been migrated to it just yet, docs.fogproject.org is the new home of our docs. Also posts within this forum are another great place to look.
-
@luilly23 said in Cannot find disk on system (get harddisk) - Dell Latitude 3140:
@Kureebow Dell’s website says storage can be UFS, eMMC, or SSD.
What’s on your laptop?
https://www.dell.com/en-us/search/latitude 3140Perhaps there is still no fog or partclone support for UFS or eMMC storage.
I’ve previously been able to image with partclone on eMMC. I’ve moved away from such devices as we found them painfully slow for our needs, but if you’re having issues with that I’d be happy to help.
-
@JJ-Fullmer They are UFS devices. Would you recommend updating to the dev branch or trying the kernel first? Which Kernel version should I be looking for?
-
@Kureebow Kernel version 6.1.63 is the one with changes for UFS. You can try updating the kernel on its own first.
-
@Kureebow Kernel Update resolved the issue. Thank you JJ Fullmer for the assistance!