[Guest:Kali Linux/Host: Windows 7]how to use VBox Guest Addition here

Discussions about using Linux guests in VirtualBox.
Post Reply
Uncle Zak
Posts: 17
Joined: 23. Jul 2021, 11:36
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: Windows 95, Ubuntu, Windows XP

[Guest:Kali Linux/Host: Windows 7]how to use VBox Guest Addition here

Post by Uncle Zak »

so, VirtualBox' guest addition CD images are needed to make guest OSes use shared folders

in this case, the guest OS here is Kali Linux.

what's the right command line there(in it's terminal emulator) to install VirtualBox guest addition there(by using VBoxLinuxAdditions.run with command lines)?

cuz VirtualBox's guest addition CD image aren't runs automatically there
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: [Guest:Kali Linux/Host: Windows 7]how to use VBox Guest Addition here

Post by scottgus1 »

Please see the Linux GAs prerequisites, which are the same as for installing Virtualbox on a Linux host: https://www.virtualbox.org/manual/ch02. ... nux-prereq

Then see https://www.virtualbox.org/manual/ch04. ... ions-linux
Uncle Zak
Posts: 17
Joined: 23. Jul 2021, 11:36
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: Windows 95, Ubuntu, Windows XP

Re: [Guest:Kali Linux/Host: Windows 7]how to use VBox Guest Addition here

Post by Uncle Zak »

scottgus1 wrote:Please see the Linux GAs prerequisites, which are the same as for installing Virtualbox on a Linux host: https://www.virtualbox.org/manual/ch02. ... nux-prereq

Then see https://www.virtualbox.org/manual/ch04. ... ions-linux
I has installed virtualbox guest additions there

The remaining question is: how to open shared folder there, cuz even after I (re)installing Virtualbox guest additions there, I still can't open shared folder there?
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: [Guest:Kali Linux/Host: Windows 7]how to use VBox Guest Addition here

Post by scottgus1 »

Let's see if GAs are installed, since doing so in a Linux VM can be a bit tricky.

Start the VM from full power off, not save-state. Run until you see the problem happen, then shut down the VM from within the VM OS if possible. If not possible, close the Virtualbox window for the VM with the Power Off option set.

Please right-click the VM in the main Virtualbox window's VM list, choose Show Log. Save the far left tab's log, zip the log file, and post the zip file, using the forum's Upload Attachment tab.
Uncle Zak
Posts: 17
Joined: 23. Jul 2021, 11:36
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: Windows 95, Ubuntu, Windows XP

Re: [Guest:Kali Linux/Host: Windows 7]how to use VBox Guest Addition here

Post by Uncle Zak »

scottgus1 wrote:Let's see if GAs are installed, since doing so in a Linux VM can be a bit tricky.

Start the VM from full power off, not save-state. Run until you see the problem happen, then shut down the VM from within the VM OS if possible. If not possible, close the Virtualbox window for the VM with the Power Off option set.

Please right-click the VM in the main Virtualbox window's VM list, choose Show Log. Save the far left tab's log, zip the log file, and post the zip file, using the forum's Upload Attachment tab.
I has posted the zip file here
Attachments
Kali-Linux-2021.3-vbox-i386-2021-11-19-06-01-36.log.zip
(35.16 KiB) Downloaded 6 times
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: [Guest:Kali Linux/Host: Windows 7]how to use VBox Guest Addition here

Post by scottgus1 »

00:00:03.549526 VirtualBox VM 6.1.28 r147628 win.amd64 (Oct 18 2021 18:49:03) release log
00:01:18.768781 VMMDev: Guest Additions information report: Version 6.0.0 r127566 '6.0.0'
Looks like the GAs dinna install, laddie. The GAs shown are really old and need to be upgraded.

Please look over the instructions again, carefully noting the messages produced in the terminal.
Uncle Zak
Posts: 17
Joined: 23. Jul 2021, 11:36
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: Windows 95, Ubuntu, Windows XP

Re: [Guest:Kali Linux/Host: Windows 7]how to use VBox Guest Addition here

Post by Uncle Zak »

scottgus1 wrote:
00:00:03.549526 VirtualBox VM 6.1.28 r147628 win.amd64 (Oct 18 2021 18:49:03) release log
00:01:18.768781 VMMDev: Guest Additions information report: Version 6.0.0 r127566 '6.0.0'
Looks like the GAs dinna install, laddie. The GAs shown are really old and need to be upgraded.

Please look over the instructions again, carefully noting the messages produced in the terminal.
I look over the instructions and I got following messages when I use "setup" command at

Code: Select all

/sbin/rcvboxadd
:

Code: Select all

VirtualBox Guest Additions: Starting.
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: or
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Kernel headers not found for target kernel 
5.10.0-kali9-686-pae. Please install them and execute
  /sbin/rcvboxadd setup
VirtualBox Guest Additions: Running kernel modules will not be replaced until 
the system is restarted
this?

And how to upgrade Guest Additions?
Post Reply