jacobbar / fruity-pikvm

Install Pi-KVM on debian SBCs such as Orange Pi, Banana Pi, Mango Pi, etc
GNU General Public License v3.0
165 stars 28 forks source link

ISO mount support #12

Closed masterlog80 closed 1 month ago

masterlog80 commented 3 months ago

Hello,

By modifying the script here, I was able to have this working on Orange Pi Zero 3 smoothly, by using the official Image Orangepizero3_1.0.2_ubuntu_jammy_server_linux6.1.31.img [1] (of course it may work with other Debian based image, but this has Python 3.10 already installed so it's easier to setup). Checking KVMD version it shows 3.198 which can eventually be pretty old. I am assuming this is the reason of the lack of ISO mount support: current status At least comparing to the screenshots online: desired status Is there someone able to have the ISO mount working? Or to eventually upgrade it to a more recent version?

Thanks and regards,

[1] http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-Zero-3.html

halida commented 3 months ago

Same issue here. Also is there any way to check deb package source code? Thanks project only have install.sh.

masterlog80 commented 2 months ago

@halida We may need assistance from the person who created this repo (@jacobbar), but it doesn't seem there is a lot of activity recently....

leux0 commented 1 month ago

{3C4560EF-942E-4659-B003-997D7589933E}

masterlog80 commented 1 month ago

Hello @leux0 , sorry but can you please explain your update above?

YipKo commented 1 month ago

@masterlog80 I've tested it and it works well on my Orange Pi Zero 3 with the official system image Orangepizero3_1.0.2_ubuntu_jammy_server_linux6.1.31.

Here are details:

  1. Applying patches requires mounting a partition (ext4 file system) for ISO mount functionality.
  1. Add the /dev/mmcblk0p2 partition mount entry to the last line of /etc/fstab : /dev/mmcblk0p2 /var/lib/kvmd/msd ext4 nodev,nosuid,noexec,rw,errors=remount-ro,data=journal,X-kvmd.otgmsd-root=/var/lib/kvmd/msd,X-kvmd.otgmsd-user=kvmd 0 0

  2. Edit /etc/kvmd/override.yaml and change the msd type option from disabled to otg

    kvmd:
        msd:
            type: otg
  3. reboot system sudo reboot

masterlog80 commented 1 month ago

@YipKo thank you for your update. I will check that asap, but does it apply on the UI as well? Like adding the "Drive" menu which I have seen on the official device: image

Regards,

YipKo commented 1 month ago

@masterlog80 It does apply on the UI and works perfectly. Just follow the instructions above. :)

masterlog80 commented 1 month ago

It seems working thanks! But I need to try with a real ISO.

masterlog80 commented 1 month ago

It works perfectly @YipKo, thank you for your assistance!