Hi, I have a script that runs to mount a share from the UNRAID server that I’m running underneath Endeavour OS:
mount -t 9p -o trans=virtio /MyMedia /MyMedia -oversion=9p2000.L
I tried following the instructions here:
https://arashmilani.com/post?id=86
But it’s not working.
Was wondering if anyone could help me.
ringo
2
what is your script fully i mis somethings… ?
ringo
3
look the purple line also read some lines above also
https://wiki.archlinux.org/index.php/Systemd/FAQ#How_can_I_make_a_script_start_during_the_boot_process?
you must make the script also executable… chmod +x (xx) , wil do
dont forget that sh line.
Got it working.
I had pointed the [Service] part at a folder called my-script, I needed to point it at the script inside the folder.
I ended up with:
mounter.service
[Unit]
Description=mounter
[Service]
ExecStart=/usr/bin/my-script/mounter.sh
[Install]
WantedBy=multi-user.target
My mounter.sh is… I had missed of the #!/bin/sh part
#!/bin/sh
mount -t 9p -o trans=virtio /MyMedia /MyMedia -oversion=9p2000.L
It is a command for mounting a folder from my host OS ( UNRAID ) to my gues VM ( Endeavour OS )