You are not logged in.
I have the good ol' Linux kernel and I have the hardened. I always boot into linux hardened and I use that one but I keep linux just in case. My issue is that whenever I install Virutalbox the kernel drivers for it gets automatically installed onto the regular linux one and not on hardened. Then I am unable to start a virtual machine but I can start and add and remove things inside the virtual machine window. How do I install VB in the correct kernel?
Last edited by destou (2019-12-05 18:22:07)
Offline
https://wiki.archlinux.org/index.php/Vi … inux_hosts
See the "for other kernels" bullet point.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I have tried to install "virtualbox-host-modules-arch" but before I tried that I did "pacman -S virtualbox-host-dkms". Same error, both compiles for Linux not Linux-hardened.
"virtualbox-host-dkms" gets added as "vboxhost/6.0.14_OSE -k 5.4.1-arch1-1" on the linux kernel. Also look at this:
sudo dkms add vboxhost/6.0.14_OSE -k 5.4.1-arch1-1 -k 5.3.13.a-1-hardened
Error! DKMS tree already contains: vboxhost-6.0.14_OSE
You cannot add the same module/version combo more than once
neofetch
...
OS: Arch Linux x86_64
Kernel: 5.3.13.a-1-hardened
...
pacman -S virtualbox
resolving dependencies...
:: There are 2 providers available for VIRTUALBOX-HOST-MODULES:
:: Repository community
1) virtualbox-host-dkms 2) virtualbox-host-modules-arch
Enter a number (default=1):
looking for conflicting packages...
Packages (2) virtualbox-host-dkms-6.0.14-4 virtualbox-6.0.14-4
Total Installed Size: 160.64 MiB
:: Proceed with installation? [Y/n] Y
(2/2) checking keys in keyring [########################################################################################] 100%
(2/2) checking package integrity [########################################################################################] 100%
(2/2) loading package files [########################################################################################] 100%
(2/2) checking for file conflicts [########################################################################################] 100%
(2/2) checking available disk space [########################################################################################] 100%
:: Processing package changes...
(1/2) installing virtualbox-host-dkms [########################################################################################] 100%
Optional dependencies for virtualbox-host-dkms
linux-headers: build modules against Arch kernel [installed]
linux-lts-headers: build modules against LTS kernel
linux-zen-headers: build modules against ZEN kernel
(2/2) installing virtualbox [########################################################################################] 100%
Optional dependencies for virtualbox
vde2: Virtual Distributed Ethernet support
virtualbox-guest-iso: Guest Additions CD image
virtualbox-ext-vnc: VNC server support
virtualbox-sdk: Developer kit
:: Running post-transaction hooks...
(1/8) Creating system user accounts...
(2/8) Reloading system manager configuration...
(3/8) Reloading device manager configuration...
(4/8) Arming ConditionNeedsUpdate...
(5/8) Install DKMS modules
==> dkms install vboxhost/6.0.14_OSE -k 5.4.1-arch1-1
(6/8) Updating icon theme caches...
(7/8) Updating the desktop file MIME type cache...
(8/8) Updating the MIME type database...
Last edited by destou (2019-12-05 18:13:55)
Offline
Solved it by getting the hardened headers:
pacman -S linux-hardened-headers && reboot
Offline