-
-
Notifications
You must be signed in to change notification settings - Fork 20
System Requirements
-
2GiB
or RAM. -
16GiB
of disk space: actual requirements depends on the requested content.
ExFAT Support is required in order to mount /data
partition on the host. If your system does not support it, choose one of the following methods:
apt install exfat-fuse exfat-utils
apt install udisks2
When using kiwix-plug_installer outside a GUI session, chances are that the default Polkit or PolicyKit (Polkit ancestor) rules would prevent you from setting-up and mounting loop devices.
Note: Change the group or user to assign privileges to.
If using Polkit, edit /etc/polkit-1/rules.d/10-udisks2.rules
and adjust who would be allowed to setup and mount loop devices (here, all users of the group somegroup
).
polkit.addRule(function(action, subject) {
if ((action.id == "org.freedesktop.udisks2.filesystem-mount-system" ||
action.id == "org.freedesktop.udisks2.filesystem-mount" ||
action.id == "org.freedesktop.udisks2.loop-setup" ||
action.id == "org.freedesktop.udisks2.loop-delete-others") &&
subject.isInGroup("somegroup") {
return polkit.Result.YES;
}
});
If using PolicyKit (Ubuntu), edit /etc/polkit-1/localauthority/50-local.d/10-udisks.pkla
and adjust who would be allowed to setup and mount loop devices (here, all users of the group somegroup
).
[udisks2]
#Identity=unix-group:somegroup
Identity=unix-user:myuser
Action=org.freedesktop.udisks2.filesystem-mount;org.freedesktop.udisks2.filesystem-mount-system;org.freedesktop.udisks2.loop-setup;org.freedesktop.udisks2.loop-delete-others
ResultAny=yes
On most distributions, loop devices are owned by root:disk
.
By adding yourself to the disk
group, you save yourself the trouble of elevating privileges to format the data partition.