0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

CLIでVirtualBoxのインストール (on Ubuntu)

Posted at

Install

$ sudo apt install virtualbox
$ sudo apt install virtualbox-ext-pack
$ sudo modprobe vboxdrv

Secure Boot のため起動しない

$ systemctl status virtualbox
Apr 05 07:14:48 ubuntu kernel: Lockdown: modprobe: unsigned module loading is restricted; see man kernel_lockdown.7
Apr 05 07:14:48 ubuntu virtualbox[45582]:  * modprobe vboxdrv failed. Please use 'dmesg' to find out why
Apr 05 07:14:48 ubuntu virtualbox[45582]:    ...fail!
Apr 05 07:14:48 ubuntu systemd[1]: virtualbox.service: Control process exited, code=exited, status=1/FAILURE
Apr 05 07:14:48 ubuntu systemd[1]: virtualbox.service: Failed with result 'exit-code'.

Secure Bootを無効化して再起動すると、virtualbox のサービスが立ち上がる。

$ sudo mokutil --disable-validation
$ sudo reboot

Disable Secure Boot in shim-signedにより詳細が記載されている

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?