新版VirtualBox在Fedora下不能启动虚拟机的解决办法

前一段时间突然发现VirtualBox被Sun收购了,改名成"Sun xVM VirtualBox",于是兴致勃勃的安上了最新版,结果发现虚拟机启动不了了,提示错误:

VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason. 
Re-setup the kernel module by executing ‘/etc/init.d/vboxdrv setup’ as root.

于是按照提示在终端里执行"sudo /etc/init.d/vboxdrv setup …


Fedora禁止自动挂载分区的方法

Fedora在启动时会自动把系统中的其它分区挂载,为了对自动挂载的分区进行一定的限制,就要改变相应的策略,这一策略存放在"/usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi"文件中。

找到以下提示行

<!-- Here follow volumes we specifically want to ignore - it is the -->
<!-- responsibility of software higher in the stack (e.g. gnome-vfs) -->
<!-- amd mount programs (e.g. Mount() on HAL) to respect volume.ignore -->
<merge key="volume …