Results 1 to 5 of 5

Thread: Problem during installation of VirtualBox Guest Additions

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Problem during installation of VirtualBox Guest Additions

    Hi guys!
    After a successful installation of Kali Linux within VirtualBox, I tried to install also the guest additions but first, I wanted install the Linux Kernel headers by typing in the terminal:
    Code:
    apt-get install -y linux-headers-$(uname -r)
    but...
    ...it was impossible for Kali to find "linux-headers-3.7-trunk-686-pae"

    Can anyone help me please?
    alechx

  2. #2
    Join Date
    2013-Mar
    Posts
    354
    Try aptitude update, then see if kernels are correct: open up a terminal and type: uname -r

    Then if kernels are correct, issue this command: aptitude install linux-headers-"output of uname -r"..You can copy and paste..

    Try it.

  3. #3
    Join Date
    2013-May
    Posts
    2
    Quote Originally Posted by alechx View Post
    Hi guys!
    After a successful installation of Kali Linux within VirtualBox, I tried to install also the guest additions but first, I wanted install the Linux Kernel headers by typing in the terminal:
    Code:
    apt-get install -y linux-headers-$(uname -r)
    but...
    ...it was impossible for Kali to find "linux-headers-3.7-trunk-686-pae"

    Can anyone help me please?
    alechx
    You're probably having problems because you're actually typing linux-headers into the terminal. Do not type: apt-get install -y linux-headers-$
    Instead, type: apt-get install -y 3.7-trunk-686-pae, for example or whatever your kernel type is.
    To find your kernel type. Open your terminal and type: uname -r
    then copy and paste your kernel type after typing apt-get install -y
    Hope this helps...
    Last edited by jhlegend; 2013-05-15 at 12:02.

  4. #4
    Join Date
    2013-May
    Posts
    1
    Quote Originally Posted by jhlegend View Post
    You're probably having problems because you're actually typing linux-headers into the terminal. Do not type: apt-get install -y linux-headers-$
    Instead, type: apt-get install -y 3.7-trunk-686-pae, for example or whatever your kernel type is.
    To find your kernel type. Open your terminal and type: uname -r
    then copy and paste your kernel type after typing apt-get install -y
    Hope this helps...
    This still does nothing, unable to find linux-headers-3.7

  5. #5
    Join Date
    2013-May
    Posts
    2
    Quote Originally Posted by iscis View Post
    This still does nothing, unable to find linux-headers-3.7
    Sorry, but this works for me... BTW, you need to update your system before installing the kernel-headers.

    Command: apt-get update

    then do: apt-get install -y 3.7-trunk-686-pae (uname -r)

Similar Threads

  1. Guest Additions VirtualBox
    By quentoli in forum Installing Archive
    Replies: 1
    Last Post: 2013-04-21, 18:31

Tags for this Thread

Posting Permissions

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