Page 1 of 1
can not find my VBoxLinuxAdditions.run !
Posted: 10. Jun 2016, 15:48
by Ypower
Greeting All
i am new the linux system and i am running Kali Linux 2.0 on Oracle VM VirtualBox the main system is windows 10
my problem is that the VBoxLinuxAdditions.run is not in the directory i can only see it if i type
/cd Desktop
ls
but i can not do anything with the file such as activating the Guest Additions CD image and thus i can not work with the full screen yet !
can you please help me with that matter ?
thanks for your time
Re: can not find my VBoxLinuxAdditions.run !
Posted: 10. Jun 2016, 15:59
by Perryg
Use the device tab at the top of the guest window and select to insert the guest additions.
Re: can not find my VBoxLinuxAdditions.run !
Posted: 10. Jun 2016, 17:04
by Ypower
it says:
unable to insert virtual optical disk C:\program files\Oracle\VirtualBox\VBoxGuestAdditions.iso
and when i check the details it says:
could not mount the media drice 'C:\ program files\Oracle\VirtualBox\VBoxGuestAdditions.iso
(VERR_PDM_MEDIA_LOCKED).
and then it gives me the option eather to Force Unmmount or Cancel
when i press force unmount nothing happens !!
Re: can not find my VBoxLinuxAdditions.run !
Posted: 10. Jun 2016, 17:11
by Perryg
Unmount what ever is in the virtual CD. If you have a file manager in the guest just open it and eject it like you would on metal.
Re: can not find my VBoxLinuxAdditions.run !
Posted: 10. Jun 2016, 17:46
by Ypower
Perryg wrote:Unmount what ever is in the virtual CD. If you have a file manager in the guest just open it and eject it like you would on metal.
can you please explain more because i am new to the kali linux system if you meant the CD picture on the disktop screen i removed it by eject button
but it is still the same when type:
sh ./VboxLinuxAdditions.run
the masseg is:
sh: 0: Can't open ./VboxLinuxAdditions.run
and by the way when i open new terminal and type:
ls
i can not see the VboxLinuxAdditions.run
Re: can not find my VBoxLinuxAdditions.run !
Posted: 10. Jun 2016, 19:01
by Perryg
Once you have inserted the guest additions using the media manager it will be visable from the file viewer. Then the easiest way to install them is to open a terminal and type sudo -i and log into an interactive elevated terminal. Then just drag and drop the proper additions into that window and press enter. Depending on what kali has already installed you may need to add a few packages, see below:
Code: Select all
dkms build-essential linux-headers-$(uname -r)
Re: can not find my VBoxLinuxAdditions.run !
Posted: 10. Jun 2016, 19:13
by Ypower
Perryg wrote:Once you have inserted the guest additions using the media manager it will be visable from the file viewer. Then the easiest way to install them is to open a terminal and type sudo -i and log into an interactive elevated terminal. Then just drag and drop the proper additions into that window and press enter. Depending on what kali has already installed you may need to add a few packages, see below:
Code: Select all
dkms build-essential linux-headers-$(uname -r)
when i do that it says:
-bash: /media/cdrom0/VBoxLinuxAdditions.run: Permiaaion denied
so it also did not work !
Re: can not find my VBoxLinuxAdditions.run !
Posted: 10. Jun 2016, 19:29
by Perryg
use sudo.
- sudo apt-get install dkms build-essential linux-headers-$(uname -r)
sudo ./VBoxLinuxAdditions.run while you are in the folder that has the file.