Davide Zanon
Dabbler
- Joined
- Jan 25, 2017
- Messages
- 44
Hi,
so I just installed Truenas SCALE for VM testing purposes and I'm hitting two problems trying to install the os from iso:
first problem, if I try to upload an iso from the VM creation page I get this error
second problem, if I skip the upload part and add a cdrom device later with the mount point with the iso, when I start the VM i get this error
Searching the forum I read that I have to give permission to libvirt-qemu user to read/write where I store the iso and I did but it seems I'm missing something here.
I created a dedicated dataset for storing various isos and I gave libvirt-qemu full permissions on the dataset.
There must be an easier way to achieve this, I mean this is a basic feature, the official documentation doesn't say anything about it.
What I don't get either is how do I specify the iso I want to boot from?
Thanks
so I just installed Truenas SCALE for VM testing purposes and I'm hitting two problems trying to install the os from iso:
first problem, if I try to upload an iso from the VM creation page I get this error
Code:
Error: Http failure response for http://truenasscaleip/_upload?auth_token=sometoken: 403 Forbidden
second problem, if I skip the upload part and add a cdrom device later with the mount point with the iso, when I start the VM i get this error
Code:
[EFAULT] internal error: process exited while connecting to monitor: 2023-04-05T09:07:07.830370Z qemu-system-x86_64: -blockdev {"driver":"file","filename":"/mnt/test/VMs/ISOs","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap"}: Could not open '/mnt/test/VMs/ISOs': Permission denied
Searching the forum I read that I have to give permission to libvirt-qemu user to read/write where I store the iso and I did but it seems I'm missing something here.
I created a dedicated dataset for storing various isos and I gave libvirt-qemu full permissions on the dataset.
There must be an easier way to achieve this, I mean this is a basic feature, the official documentation doesn't say anything about it.
What I don't get either is how do I specify the iso I want to boot from?
Thanks