|
|
# General requirements
|
|
|
|
|
|
* `2GiB` or RAM.
|
|
|
* `16GiB` of disk space: actual requirements depends on the requested content.
|
|
|
|
|
|
# Linux-specifix requirements
|
|
|
|
|
|
* ExFAT support
|
|
|
* [Storaged](http://storaged.org/) (`udisks2`)
|
|
|
|
|
|
## Exfat Support
|
|
|
|
|
|
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:
|
|
|
|
|
|
* __easiest__: [exfat-fuse](https://github.com/relan/exfat/) (`apt install exfat-fuse`)
|
|
|
* [exfat-nofuse](https://github.com/dorimanx/exfat-nofuse): compile and probe `exfat` filesystem support module for your kernel.
|
|
|
|
|
|
## Udisks2
|
|
|
|
|
|
* `apt install udisks2`
|
|
|
|
|
|
### Udisks2 rules
|
|
|
|
|
|
When using pibox __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.
|
|
|
|
|
|
If using __Polkit__, edit `/etc/polkit-1/rules.d/10-udisks2.rules`
|
|
|
|
|
|
```
|
|
|
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") &&
|
|
|
subject.isInGroup("www-data") {
|
|
|
return polkit.Result.YES;
|
|
|
}
|
|
|
});
|
|
|
```
|
|
|
|
|
|
If using __PolicyKit__ (Ubuntu <= 16.04), edit `/etc/polkit-1/localauthority/50-local.d/10-udisks.pkla`
|
|
|
|
|
|
```
|
|
|
[udisks2]
|
|
|
Identity=unix-group:www-data
|
|
|
Action=org.freedesktop.udisks2.filesystem-mount;org.freedesktop.udisks2.filesystem-mount-system;org.freedesktop.udisks2.loop-setup
|
|
|
ResultAny=yes
|
|
|
``` |
|
|
\ No newline at end of file |