clonezilla-util icon indicating copy to clipboard operation
clonezilla-util copied to clipboard

Detect "Dokandriver is missing" earlier

Open i3v opened this issue 7 months ago • 1 comments

I forgot to install the Dokan driver before starting the clonezilla-util version 2.6.0. As a result, clonezilla-util failed somewhere in the middle of the process. Of course, this is my own mistake that I forgot to install the driver. But maybe it would be nice to have a preliminary check that Dokan driver actually exists in the very beginning, to make the consequences of such dummy user mistakes less annoying.

The tool failed while attempting to create the virtual disk:

[04:20:08 INF] [] [sdg6] Loading partition information
[04:20:08 INF] Waiting for L:\ to be available.
[04:20:08 ERR] System.DllNotFoundException: Dll was not found.
   at DokanNet.Native.NativeMethods.DokanInit()
   at DokanNet.Dokan..ctor(ILogger logger)
   at libClonezilla.VFS.OnDemandVFS.<>c__DisplayClass0_1.<.ctor>b__2()

The console sort of hanged at this point.

i3v avatar May 15 '25 02:05 i3v

Thanks @i3v, great suggestion. I'll add it to the todo list.

fiddyschmitt avatar May 15 '25 08:05 fiddyschmitt

Hi @i3v,

Thanks again for the suggestion. It's now part of v2.6.1

Cheers, Fidel

fiddyschmitt avatar Nov 25 '25 11:11 fiddyschmitt