ISO mount support
masterlog80 opened this issue · 9 comments
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:
At least comparing to the screenshots online:
Is there someone able to have the ISO mount working? Or to eventually upgrade it to a more recent version?
Thanks and regards,
Same issue here. Also is there any way to check deb package source code? Thanks project only have install.sh.
@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:
- Applying patches requires mounting a partition (ext4 file system) for ISO mount functionality.
-
For example, you can use gparted or diskgenius to repartition the SD card and create a new partition using the remaining space on the SD card.
-
Or, you can use manually created img file for mounting it as partitions
dd if=/dev/zero of=/root/disk.img bs=1M count=8192 status=progress mkfs.ext4 /root/disk.img
-
Use
lsblk
to view storage device information, assuming the new partition is/dev/mmcblk0p2
(if you use USB flash drive, it should be like/dev/sda1
. Or, if you use img file as partitions, it would be/root/disk.img
) -
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
-
Edit
/etc/kvmd/override.yaml
and change the msd type option fromdisabled
tootg
kvmd: msd: type: otg
-
reboot system
sudo reboot
@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:
Regards,
@masterlog80 It does apply on the UI and works perfectly. Just follow the instructions above. :)
It seems working thanks!
But I need to try with a real ISO.
It works perfectly @YipKo, thank you for your assistance!