I'm mounting a sharefolder using
mount -t vboxsf with root without problem by the command
mount -t vboxsf logs /tmp/logs/.
I'm trying to mount this sharefolder on every reboot of the machine so I created a quick script that I'm running into
/root/Scripts/boot.sh || exit 1:
#!/bin/sh mkdir /tmp/logs mount -t vboxsf logs /tmp/logs > /root/Scripts/bootlog 2> /root/Scripts/bootlogerror
Everytime when the script is running through
rc.local I'm getting an error:
/sbin/mount.vboxsf : mounting failed with the error : No such device
but the folder
logs get created in
Any idea how I could get a workaround for this situation? Per the message error here I'm guessing that I'm mounting the share folder too early on the system.