Results 1 to 50 of 51

Thread: Installing Kali Linux as a Virtual Machine in Virtual Box

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    2014-Jul
    Posts
    9
    Hi

    Can someone please assist with the issue I am having

    I have download and installed linux on a virtual machine. I cannot get the guest additions installed. It was easy on Backtrack 5 r3. This is what I have done so far. I downloaded and installed Oracle Virtual box 4.3.12 plus the expension modules, some reason it would not show me the option to install any 64 bit OS even though my laptop is a 64 bit machine. I did a bit of googling and it seems as though this is a common issue. So I reverted back to Oracle Virtual box 4.3.2 as Backtrack 5 r3 64 bit is working fine there.

    After installing Kali I tried to install the guest additions. No luck. Bellow is a sumary of what I have done to get the guest additions installed. I followed instructions that I found using google still no luck.

    root@kali:~#cat sources.list
    # # deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20140526-16:38]/ kali contrib main non-free


    #deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20140526-16:38]/ kali contrib main non-free
    ## Security updates


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

    root@kali:/etc/apt# apt-get update && apt-get install build-essential linux-headers-3.14-kali1-amd64

    root@kali:~#./VBoxLinuxAdditions.run

    Building the VirtualBox Guest Additions kernel modules
    The headers for the current running kernel were not found. If the following
    module compilation fails then this could be the reason.

    Building the main Guest Additions module ...fail!

    root@kali:~#cat /var/log/vboxadd-install.log

    make[4]: *** [/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.o] Error 1
    make[3]: *** [_module_/tmp/vbox.0] Error 2
    make[2]: *** [sub-make] Error 2
    make[1]: *** [all] Error 2
    make: *** [vboxguest] Error 2

    Your assistance will be greatly appriciated

  2. #2
    Join Date
    2014-May
    Location
    127.0.1.1
    Posts
    22
    Kazuya, Hi,

    As I was reading your post I began to see if your I/O was replicable. Unfortunately, my kali works flawlessly, so I was not able to reproduce your output and some of the input commands do not apply to my architecture. In other news, I found some hope for you: https://www.virtualbox.org/manual/ch04.html here. It is a detailed walkthrough for installing guest additions INSIDE the VirtualBox. Maybe that is why it isn't working the way you'd expect. Always install the guess additions inside the VM, your Host OS is only a proxy, where you download it. Also, check: http://docs.oracle.com/cd/E36500_01/...additions.html here. The second link is more visual. Finally, you could follow this post: https://help.ubuntu.com/community/Vi...GuestAdditions which pretty much shows you exactly how to do it step-by-step.

    As much as I would love to hold your hand and walk you through this, the best thing for you as of now is to consult the docs. We can still sing Kumbi ya though.

    HTH
    "Great understanding comes to those who find questions and question answers."

  3. #3
    Join Date
    2014-Jul
    Posts
    9
    Quote Originally Posted by OS-13115 View Post
    Kazuya, Hi,

    As I was reading your post I began to see if your I/O was replicable. Unfortunately, my kali works flawlessly, so I was not able to reproduce your output and some of the input commands do not apply to my architecture. In other news, I found some hope for you: https://www.virtualbox.org/manual/ch04.html here. It is a detailed walkthrough for installing guest additions INSIDE the VirtualBox. Maybe that is why it isn't working the way you'd expect. Always install the guess additions inside the VM, your Host OS is only a proxy, where you download it. Also, check: http://docs.oracle.com/cd/E36500_01/...additions.html here. The second link is more visual. Finally, you could follow this post: https://help.ubuntu.com/community/Vi...GuestAdditions which pretty much shows you exactly how to do it step-by-step.

    As much as I would love to hold your hand and walk you through this, the best thing for you as of now is to consult the docs. We can still sing Kumbi ya though.

    HTH
    Hi OS-13115

    Still unable to get this working even started from scratch following this guide http://kanishkashowto.com/2013/09/03...by-step-guide/
    I am still getting this issue

    Building the VirtualBox Guest Additions kernel modules
    The headers for the current running kernel were not found. If the following
    module compilation fails then this could be the reason.

    Building the main Guest Additions module ...fail!
    (Look at /var/log/vboxadd-install.log to find out what went wrong)

  4. #4
    Join Date
    2014-Jul
    Posts
    9
    Quote Originally Posted by Kazuya View Post
    Hi OS-13115

    Still unable to get this working even started from scratch following this guide http://kanishkashowto.com/2013/09/03...by-step-guide/
    I am still getting this issue

    Building the VirtualBox Guest Additions kernel modules
    The headers for the current running kernel were not found. If the following
    module compilation fails then this could be the reason.

    Building the main Guest Additions module ...fail!
    (Look at /var/log/vboxadd-install.log to find out what went wrong)
    Resolved. I did more googling and eventually found this post http://askubuntu.com/questions/20409...lbox-guest-add and ran this command apt-get install virtualbox-guest-x11 rebooted and all seems fine

  5. #5
    Join Date
    2014-May
    Location
    127.0.1.1
    Posts
    22
    Quote Originally Posted by Kazuya View Post
    Resolved. I did more googling and eventually found this post http://askubuntu.com/questions/20409...lbox-guest-add and ran this command apt-get install virtualbox-guest-x11 rebooted and all seems fine
    I'm glad your problem is resolved.
    "Great understanding comes to those who find questions and question answers."

  6. #6
    Join Date
    2016-Feb
    Posts
    5
    Quote Originally Posted by Kazuya View Post
    Resolved. I did more googling and eventually found this post http://askubuntu.com/questions/20409...lbox-guest-add and ran this command apt-get install virtualbox-guest-x11 rebooted and all seems fine
    Thanks for sharing. This fixed me up as well!

Similar Threads

  1. Why is my Kali Linux slow on virtual machine
    By Hidden22 in forum Community Feedback
    Replies: 2
    Last Post: 2022-11-16, 17:09
  2. Replies: 0
    Last Post: 2020-05-10, 23:40

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •