关于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
即可。

Archives

Pages

Powered by Movable Type 7.0.4

May 2019

Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

Recent Assets

  • oppo 350.jpg
  • oppo 357.jpg
  • oppo 353.jpg
  • oppo 345.jpg
  • oppo 343.jpg
  • oppo 342.jpg
  • oppo 340.jpg
  • QQ图片20181209001102.png
  • oppo 336.jpg
  • oppo 334.jpg
Creative Commons License
This blog is licensed under a Creative Commons License.

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.