なんだかんだとエラーがいっぱいでます。 🙁
まだ未解決なんですが、やったことを残しておきます。
ゲストOSを実行しようとするとエラー発生。
仮想マシン"Lbuntu16.04"のセッションを開けませんでした。 The virtual machine 'Lbuntu16.04' has terminated unexpectedly during startup with exit code 1 (0x1). 終了コード : NS_ERROR_FAILURE (0x80004005) コンポーネント: MachineWrap インターフェース: IMachine {b2547866-a0a1-4391-8b86-6952d82efaa0}
$ sudo /sbin/vboxconfig vboxdrv.sh: Building VirtualBox kernel modules. vboxdrv.sh: Starting VirtualBox services. vboxdrv.sh: Building VirtualBox kernel modules. vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why. There were problems setting up VirtualBox. To re-start the set-up process, run /sbin/vboxconfig as root. vboxdrv.sh: Starting VirtualBox services. vboxdrv.sh: Building VirtualBox kernel modules. vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.
$ sudo apt-get install linux-headers-generic
$ sudo /etc/init.d/vboxdrv setup
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use ‘dmesg’ to find out why.
ネットで調べながらいろいろ試してみたが、問題は解決しない。
$ sudo ln -s /usr/src/linux-headers-4.2.0-42-generic/include/generated/uapi/linux/version.h /usr/src/linux-headers-4.2.0-42-generic/include/linux/version.h $ sudo /sbin/vboxconfig
対策
なんと、BIOSの設定の問題だった。
BIOS設定画面にて、「安全なブート」というのを無効にしてからUbuntuを起動してやると、見事ゲストOSを立ち上げることができた。