Page 1 of 2
VBox5.2.4 GuestAdditions window host Win10 failed install on Centos 7 Guest
Posted: 4. Jan 2018, 02:57
by winter668
error: ./install.sh: line 371: bzip2: command not found
tar: This not look like a tar archive
The Linux guest window is small and can not be resized. After "yum install bzip2" can not see all five steps. Only show 3 steps, first 2 steps is blocked by guest black window.
Thank you
Re: VBox5.2.4 GuestAdditions window host Win10 failed install on Centos 7 Guest
Posted: 4. Jan 2018, 07:24
by socratis
winter668 wrote:The Linux guest window is small and can not be resized.
That's right. This is *not* a terminal window. This is a VGA screen with 640x480 resolution
(from the looks of it). You cannot "resize" such a window and there is no scrollbar. You could run the command with the "
| more" pipe redirection, it might work.
How exactly did you install CentOS?
Re: VBox5.2.4 GuestAdditions window host Win10 failed install on Centos 7 Guest
Posted: 4. Jan 2018, 14:56
by Perryg
What I see is a tty ( Terminal Type (Unix terminal interface) ) window that one gets when there is no active desktop. Think command line only like a server.
The only way to adjust that frame is with framebuffers. This would need to be done in the guest and has nothing really to do with VirtualBox. Also if the guest does not have a desktop manager with Xorg or Wayland the guest additions would not help anyway.
Note: you can use the shift+page up and shift+page down to see the contents up to a fashion until the allocated buffers for scrolling have been depleted.
Re: VBox5.2.4 GuestAdditions window host Win10 failed install on Centos 7 Guest
Posted: 5. Jan 2018, 00:16
by winter668
Hi Perryg,
Thank you for let me know I can use shift + page up/page down to see the content hide/blocked by the back window.
In the next screen attachment:
1. I display the content of of VM's GuestAdditions.iso
2. Tried to invoke the guest addition installer ./VBoxLinuxAdditions.run.
After that, you can saw the errors. How to fix the error and make the guest addition working?
Re: VBox5.2.4 GuestAdditions window host Win10 failed install on Centos 7 Guest
Posted: 5. Jan 2018, 00:31
by Perryg
If you type the following what does it return?
Re: VBox5.2.4 GuestAdditions window host Win10 failed install on Centos 7 Guest
Posted: 5. Jan 2018, 03:00
by winter668
Thank you Perryg
I an not sure what I did is correct.
"bzip2 -V" just turn "-bash : bzip2: command not found". Do you like me to try more other things?
Re: VBox5.2.4 GuestAdditions window host Win10 failed install on Centos 7 Guest
Posted: 5. Jan 2018, 03:07
by Perryg
That means that you have not installed bzip2. If it were installed it would have returned the version number. So install bzip2 and verify after you have it installed by running that command again.
Example of proper return:
Code: Select all
perry@perry-main ~ $ bzip2 -V
bzip2, a block-sorting file compressor. Version 1.0.6, 6-Sept-2010.
Copyright (C) 1996-2010 by Julian Seward.
This program is free software; you can redistribute it and/or modify
it under the terms set out in the LICENSE file, which is included
in the bzip2-1.0.6 source distribution.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
LICENSE file for more details.
Re: VBox5.2.4 GuestAdditions window host Win10 failed install on Centos 7 Guest
Posted: 5. Jan 2018, 04:21
by winter668
Thank you Perryg.
I tried to install : sudo yum -y install bzip2.
I saw errors on the next screen. Total 2 screen with errors. The correct order should be Capture4 and Capture5.
Re: VBox5.2.4 GuestAdditions window host Win10 failed install on Centos 7 Guest
Posted: 5. Jan 2018, 04:31
by Perryg
What you have now is either no network connection or a misconfigured repo on the guest. Can you ping google.com and or 8.8.8.8?
Re: VBox5.2.4 GuestAdditions window host Win10 failed install on Centos 7 Guest
Posted: 5. Jan 2018, 05:14
by winter668
Hi Perryg,
How to ping google.com or 8.8.8.8 on Linux guest?
Re: VBox5.2.4 GuestAdditions window host Win10 failed install on Centos 7 Guest
Posted: 5. Jan 2018, 05:25
by Perryg
You type ping google.com or ping 8.8.8.8
If it fails then you should look at the guest network stack. Some OSes do not enable them by default ( really dumb but that is the way it is ). But this is now in the realm of a specific Linux OS and how to configure it. You should ask them if that is indeed the issue.
Re: VBox5.2.4 GuestAdditions window host Win10 failed install on Centos 7 Guest
Posted: 6. Jan 2018, 21:47
by winter668
Thank you Perryg,
You are right, the guest network didn't start yet.
I resolved it by change: /etc/sysconfig/network-scripts/ifcfg-enp0s3 for "ONBOOT" from "no" to "yes", then reboot the guest.
After this I installed bzip2 successfully
"yum install gcc make perl" successfully
"yum install kernel-devel" successfully
But guess installation still blocked by the errors in the next screen.
Looks like package kernel-devel-3.10.0-693.11.6.e17.x86_64 is already in the system and is the latest version.
Re: VBox5.2.4 GuestAdditions window host Win10 failed install on Centos 7 Guest
Posted: 6. Jan 2018, 21:52
by Perryg
It tells you what is missing. Install the kernel headers that matches the running kernel.
Remember I mentioned that the guest additions will do nothing for you if you do not have a desktop. Command line needs to be adjusted with framebuffers.
Re: VBox5.2.4 GuestAdditions window host Win10 failed install on Centos 7 Guest
Posted: 6. Jan 2018, 22:40
by winter668
Thank you Perryg,
Would you advice me how to have a desktop?
I am quite new to Linux.
I am planning to have a Linux platform first, then use the VirtualBox guest additions to transfer a JBoss download to Linux.
Then install JBoss on top of Linux.
Let me know what's the easiest way to do that. Many thanks!
Re: VBox5.2.4 GuestAdditions window host Win10 failed install on Centos 7 Guest
Posted: 6. Jan 2018, 22:45
by Perryg
You should ask these kind of questions ( how to install and operate a Linux OS ) with the appropriate Linux OS forum. CentOS would be
https://www.centos.org/forums/ You should have been asked and selected to install the desktop upon the original install process. You can install it after but it requires more knowledge and is really outside the scope of this forum.