-
Star
(137)
You must be signed in to star a gist -
Fork
(56)
You must be signed in to fork a gist
-
-
Save larsar/1687725 to your computer and use it in GitHub Desktop.
Thx. Been looking for this. In my case, I was doing a fresh install off the latest v7, 1611 minimal iso and had to also reboot after the .run file was executed before /media/sf_<share_name> was seen. Not sure if a fresh terminal window would've also worked, but I was good after 2nd reboot.
Thanks! This worked for me with the following additional steps:
- reboot after running
/cdrom/VBoxLinuxAdditions.run
sudo reboot
- adding my user to vboxsf group (reference: link) because I encountered permission issues when opening the shared folder
sudo usermod -aG vboxsf $(whoami)
[vagrant@aliyun-local /]$ sudo mkdir /vv
[vagrant@aliyun-local /]$ sudo mount -t vboxsf vv_host /vv
mount: wrong fs type, bad option, bad superblock on vv_host,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
I executed the sudo mount -t vboxsf vv_host / vv
after the above error
How to solve it?
is there any way to permanently mount the shared folder in every reboots ?
Thank you worked for me. I had to do this first. yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers
then yum install kernel-devel
followed your instructions to get the shared drive working on CentOs7.4
Mount with fstab as so
<name_of_share> /path/to/mountpoint vboxsf default 0 0
/sbin/mount.vboxsf: mounting failed with the error: No such device
Thank you worked for me. I had to do this first. yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers
then yum install kernel-devel
followed your instructions to get the shared drive working on CentOs7.4
I did that and
sudo mount -t vboxsf Share /root/Share
/sbin/mount.vboxsf: mounting failed with the error: Protocol error
One of the best post .. wasted almost whole day for this issue .... once i landed here ..able to resolve in few mins
Great post ! Worked like a charm !
Thanks man ! good job.
Thanks! this worked with my CentOs image from Osboxes
CentOS 7-1908 (64bit).vdi
worked great thanks
/sbin/mount.vboxsf: mounting failed with the error: No such device
@pius-pworld - I got the same error. If you look at the suggested log to figure out what went wrong /var/log/vboxadd-setup.log
you probably will see the message asking you to install libelf-dev
, libelf-devel
, or elfutils-libelf-devel
.
I did install the elfutils-libelf-devel
by: yum install elfutils-libelf-devel
. After that, the /cdrom/VBoxLinuxAdditions.run
worked for me.
Thank you for this!