Hello there
I have just installed VirtualBox on may Kali Linux machine. After installing it showing below error
Code:
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall virtualbox-dkms package and load the kernel module by executing
'modprobe vboxdrv'
as root.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT
I have tried to install linux-headers by using
Code:
apt-get install linux-headers-amd64 linux-headers-4.18.0-kali2-amd64
but its showing below error
Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-4.18.0-kali2-amd64
E: Couldn't find any package by glob 'linux-headers-4.18.0-kali2-amd64'
E: Couldn't find any package by regex 'linux-headers-4.18.0-kali2-amd64'
I have removed virtualbox and tried to install it with command
Code:
apt-get install virtualbox
and also tried
Code:
apt-get install virtualbox virtualbox-dkms
But still getting same error.
I have tried to run this command
and its showing
Code:
modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.18.0-kali2-amd64
I have also tried this command
and its showing
Code:
bash: /dev/vboxdrv: No such file or directory
I have searched for linux headers by using this command
Code:
apt-cache search linux-headers
and its giving me this output
Code:
aufs-dkms - DKMS files to build and install aufs
linux-headers-4.18.0-kali3-all - All header files for Linux 4.18 (meta-package)
linux-headers-4.18.0-kali3-all-amd64 - All header files for Linux 4.18 (meta-package)
linux-headers-4.18.0-kali3-amd64 - Header files for Linux 4.18.0-kali3-amd64
linux-headers-4.18.0-kali3-cloud-amd64 - Header files for Linux 4.18.0-kali3-cloud-amd64
linux-headers-4.18.0-kali3-common - Common header files for Linux 4.18.0-kali3
linux-headers-4.18.0-kali3-common-rt - Common header files for Linux 4.18.0-kali3-rt
linux-headers-4.18.0-kali3-rt-amd64 - Header files for Linux 4.18.0-kali3-rt-amd64
linux-headers-amd64 - Header files for Linux amd64 configuration (meta-package)
linux-headers-cloud-amd64 - Header files for Linux cloud-amd64 configuration (meta-package)
linux-headers-rt-amd64 - Header files for Linux rt-amd64 configuration (meta-package)
linux-libc-dev-alpha-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-amd64-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-arm64-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-armel-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-armhf-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-hppa-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-i386-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-m68k-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-mips-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-mips64-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-mips64el-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-mips64r6-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-mips64r6el-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-mipsel-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-mipsn32-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-mipsn32el-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-mipsn32r6-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-mipsn32r6el-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-mipsr6-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-mipsr6el-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-powerpc-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-powerpcspe-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-ppc64-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-ppc64el-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-riscv64-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-s390x-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-sh4-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-sparc64-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-x32-cross - Linux Kernel Headers for development (for cross-compiling)
linux-headers-4.18.0-kali3-686 - Header files for Linux 4.18.0-kali3-686
linux-headers-4.18.0-kali3-686-pae - Header files for Linux 4.18.0-kali3-686-pae
linux-headers-4.18.0-kali3-all-i386 - All header files for Linux 4.18 (meta-package)
linux-headers-4.18.0-kali3-rt-686-pae - Header files for Linux 4.18.0-kali3-rt-686-pae
linux-headers-686 - Header files for Linux 686 configuration (meta-package)
linux-headers-686-pae - Header files for Linux 686-pae configuration (meta-package)
linux-headers-rt-686-pae - Header files for Linux rt-686-pae configuration (meta-package)
I couldn't find llinux-header for 4.18.0-kali2-amd64
Output of the command uname -a is
Code:
Linux kali 4.18.0-kali2-amd64 #1 SMP Debian 4.18.10-2kali1 (2018-10-09) x86_64 GNU/Linux
Output of the command grep VERSION /etc/os-release
Code:
VERSION="2019.1"
VERSION_ID="2019.1"
I have just installed the linux yesterday and it was 2018.4 and was trying to solve the issue but couldn't And today its showing that its 2019.1 !! Don't know why ?
My /etc/apt/sources.list file content:
Code:
#
# deb cdrom:[Debian GNU/Linux 2018.4 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20181016-18:11]/ kali-last-snapshot contrib main non-free
#deb cdrom:[Debian GNU/Linux 2018.4 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20181016-18:11]/ kali-last-snapshot contrib main non-free
deb http://http.kali.org/kali kali-rolling main non-free contrib
#deb-src http://http.kali.org/kali kali-rolling main non-free contrib
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
I have also tried to upgrade linux headers and image
Code:
apt-get install linux-headers-4.18.0-kali3-amd64
apt-get install linux-image-4.18.0-kali3-amd64
After doing this I have reboot my system and it was not giving any output so I re install kali linux 2018.4 yesterday.
Nothing is working for me !
Any suggestion ? What should I do now ?