#438·NanoKVM

Mounting images does not work if Virtual Disk (udisk) is off

Author: petrkrCreated Apr 6, 2025Updated Sep 19, 2026

From description in Settings -> Device -> Virtual Disk "Mount virtual U-disk on the remote host"

and documentation at Images -> ? mark

I think that settings of Virtual Disk enables ability to upload images to NakoKVM's /data folder.

But if this option is disabled, even mounting images (USB/CD) from Images does not works. It seems like it is mounted, it reconfigure USB gadget, but no mass storage appear.

Actual behaviour: If this Virtual Disk is Enabled and no image mounted, there is mass storage with /data contents. If image is mounted, it will replace this /data with image If CD ISO is mounted It mounted it as CD..

Expected behaviour:

  1. option
  • If Device --> Virtual Disk is Off
  • images will not be able to mount with some message "You have to enable virtual disk"
  1. option
  • If device --> Virtual Disk is off
  • host does not have any mass storage
  • if images are mounted (usb or cd)
  • host will get "inserted" such mass storage image regardles on device -> Virtual disk settings
  • if Virt Disk is on
  • host will see /data as mass storage and if there is any mounted image, it will see it as second mass storage

nice2have, support mount more images as more USB/CDs that would also help for #426 and would be more universal, because if you add 2nd, there is already no reason to add N of them (do not remember if that usb gadget have some limit)

Image Version 2024-08-17-18-13-713161.img Application Version 2.2.5 Device Key redacted