LoginSignup
3
1

More than 5 years have passed since last update.

VirtualBox + CentOS7でGUIが操作できなくなる問題の解決

Last updated at Posted at 2019-03-02

はじめに

ホストOSにWindows10。VirtualBox 6.0にCentOS7を入れ使っているのですが、どうもバグがあるようですぐにGUIが反応しなくなります。

解決

以下の記事に書いてありました。
https://bugs.centos.org/view.php?id=15570

カーネル 3.10.0-957.x.el7 特有の問題だそうです。
自分の使っているCentOS7は、、

$ uname -a
Linux localhost.localdomain 3.10.0-957.5.1.el7.x86_64 #1 SMP Fri Feb 1 14:54:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

ビンゴ。
ではカーネルをココを参考にアップデートします。

$ su
# rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
# rpm -Uvh https://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
# yum --enablerepo=elrepo-kernel install kernel-ml
# reboot

起動するとkernelが3.10→4.20になっています。

image.png

しばらく使いましたが、確かに直ったようです。

【参考】kernel versionについて

Linuxのバージョンが3.10から4.20と大きくジャンプしています。。
私がLinuxを開発で使っていたのは2.6.16くらいの昔なのですが、今はだいぶバージョンの考え方が変わったようですね。

Linux 3系から4系に変わるのも、大きな変更があったからではないそうです。
https://japan.zdnet.com/article/35060811/

あと、ターミネータのT-800のkernelがLinuxで、4.1.15 というのは知りませんでした。。

3
1
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
3
1