关于VirtualBox 6.0.4版本在kernel 5.0.4 mount不到共享盘的问题

找到 /opt/VBoxGuestAdditions-6.0.4/src/vboxguest-6.0.4/vboxsf/vfsmod.c,将
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 3, 0)
# include <linux/mount.h>
#endif
修改成
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 0, 0)
# include <uapi/linux/mount.h> /* for MS_REMOUNT */
#elif LINUX_VERSION_CODE < KERNEL_VERSION(3, 3, 0)
# include <linux/mount.h>
#endif
即可。

Monthly Archives

Pages

Powered by Movable Type 7.3.1

About this Entry

This page contains a single entry by Cnangel published on April 2, 2019 1:10 AM.

关于grub2引导分区不识别的问题 was the previous entry in this blog.

fedora30 发布了 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.