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
can not find my VBoxLinuxAdditions.run !
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: can not find my VBoxLinuxAdditions.run !
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 !
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 !!
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 !!
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: can not find my VBoxLinuxAdditions.run !
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 !
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 buttonPerryg 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.
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
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: can not find my VBoxLinuxAdditions.run !
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 !
when i do that it says: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)
-bash: /media/cdrom0/VBoxLinuxAdditions.run: Permiaaion denied
so it also did not work !
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: can not find my VBoxLinuxAdditions.run !
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.