How to add Kali Linux repos,Guest addition and share folder with host in Ubuntu Virtualbox




  In this post, I'm going to share how to  add Kali Linux repositories, guest addition and share folder with host in Ubuntu virtualbox.  Please visit here for Kali Linux official guide.

   I was having problem with my linux header file to install on my system and I think, this is the easiest way to get it done. I will share the video later on my channel .


STEPS

1)Adding reposistories Steps

1.1) Check your repositories at "etc/apt/sources.list" file and edit it if needed. By default it should have below  link . Please read  on Kali Linux page for more details .

deb http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb-src http://http.kali.org/kali kali main non-free contrib
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free

1.2)Open the terminal and  type 



root@Positive-Space:~$  cat etc/apt/sources.list



check the sources.list


1.3) Edit the list if needed

root@Positive-Space:~$  vi etc/apt/sources.list


to insert in vi , press i and  add above link in the file . After finished edit sources.list file , press Esc  followed with :wq! to write,save and exit vi editor.

edit the file





2)Adding Kali Linux Guest addition 

2.1) Run in terminal
root@Positive-Space:~$  apt-get install virtualbox-guest-x11



apt-get install virtualbox-guest-x11

 2.2) Choose "No" for keeping  default version




2.3)Reboot Kali Linux to activate the new setting.



2.4) Kali Linux will be in full screen after reboot.

Full screen setting 


3)Adding share folder with host 

3.1)Create a new folder in your host




3.2) Go to Virtualbox Kali Linux "settings" and go to shared folders




3.3)Right click and add a "shared folder" by choosing the newly created folder



add shared folder

Choose other

Select folder location
 3.4) Tick  "Auto mount" and "make permanent" selection

tick auto mount and make permanent box

Added folder


3.5) Go to Kali Linux and reboot the system.



3.6) Once rebooted, Click Place> and look under media  for newly shared folder

shared folder
 3.7)Click the folder  and add it to Bookmarks by clicking  "Bookmarks>Add bookmark"


add bookmark

3.8) Bookmark will be added on left hand panel

Bookmark folder will appear on left hand corner

Previous
Next Post »