ブログ - Red Hat 7.6 install on VirtualBox 6.0 その6 Oracle VM VirtualBox Guest Additions tools
Red Hat 7.6 install on VirtualBox 6.0 その6 Oracle VM VirtualBox Guest Additions tools
- カテゴリ :
- ハウツー
- ブロガー :
- ujpblog 2019/1/20 3:43
Virtual Box6.0とLinuxの間を取り持つツールのインストールを行う.これによってVirtual BoxとゲストOSの親和性が良くなるはず.
まずは,仮想的にGuest Additions CD imageをセットする.
セットしたら,ゲストOS側でマウントする.
ファイルを確認する.
Linux用に準備されたコマンドを実行する.
インストールが終わったら,再起動する.
もし,次のようなエラーが出た場合.
インストール時にパッケージが足りなかったと思われる.
まずは,仮想的にGuest Additions CD imageをセットする.
セットしたら,ゲストOS側でマウントする.
[root@localhost ~]# mount -r /dev/cdrom /mnt🆑
[root@localhost ~]#
ファイルを確認する.
[root@localhost ~]# cd /mnt🆑
[root@localhost mnt]#
[root@localhost mnt]# ls -la
合計 64896
dr-xr-xr-x. 5 root root 2408 12月 18 20:51 .
dr-xr-xr-x. 17 root root 224 1月 20 02:29 ..
-r--r--r--. 1 root root 763 10月 29 2017 AUTORUN.INF
dr-xr-xr-x. 2 root root 1824 12月 18 20:51 NT3x
dr-xr-xr-x. 2 root root 2652 12月 18 20:51 OS2
-r--r--r--. 1 root root 547 12月 18 20:51 TRANS.TBL
-r--r--r--. 1 root root 2053267 12月 18 20:45 VBoxDarwinAdditions.pkg
-r--r--r--. 1 root root 3949 12月 18 20:45 VBoxDarwinAdditionsUninstall.tool
-r-xr-xr-x. 1 root root 7925183 12月 18 20:47 VBoxLinuxAdditions.run🈁
-r--r--r--. 1 root root 17186816 12月 18 20:48 VBoxSolarisAdditions.pkg
-r-xr-xr-x. 1 root root 26090920 12月 18 20:51 VBoxWindowsAdditions-amd64.exe
-r-xr-xr-x. 1 root root 12900296 12月 18 20:49 VBoxWindowsAdditions-x86.exe
-r-xr-xr-x. 1 root root 269584 12月 18 20:46 VBoxWindowsAdditions.exe
-r-xr-xr-x. 1 root root 6384 10月 29 2017 autorun.sh
dr-xr-xr-x. 2 root root 792 12月 18 20:51 cert
-r-xr-xr-x. 1 root root 4821 10月 29 2017 runasroot.sh
[root@localhost mnt]#
[root@localhost mnt]# ./VBoxLinuxAdditions.run🆑
Verifying archive integrity... All good.
Uncompressing VirtualBox 6.0.0 Guest Additions for Linux........
VirtualBox Guest Additions installer
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules.
This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: Building the modules for kernel 3.10.0-957.el7.x86_64.
VirtualBox Guest Additions: Starting.
[root@localhost mnt]#
[root@localhost mnt]# reboot🆑
[root@localhost mnt]# ./VBoxLinuxAdditions.run🆑
Verifying archive integrity... All good.
Uncompressing VirtualBox 6.0.0 Guest Additions for Linux........
bzip2 not found. Please install: bzip2 tar; and try again.
[root@localhost mnt]#