Debian 11

Discussions about using Linux guests in VirtualBox.
Post Reply
Kogije
Posts: 1
Joined: 23. Apr 2023, 20:46

Debian 11

Post by Kogije »

So I've tried this on Debian 11.6 using LXDE, Gnome & KDE-Plasma GUI!
Kernel is: 5.10.0-21-amd64

From Guest:
1. Login as root;
2. apt-get update;
3. apt-get upgrade;
4. apt-get install build-essential module-assistant;
5. m-a prepare;
From Host:
6. on Oracle VM Insert ISO of GuestAdditions that came with 7.0.8
From Guest:
7. mount /media/cdrom.
8. sh /media/cdrom/VBoxLinuxAdditions.run

This Runs with NO ERRORS!

Building the Main Guest Additions 7.0.8 module for kernel 5.10.0-21.amd64.
Building the Shared Folder Support Module.
Building the graphics Driver Module.

So I reboot Guest, this is where it gets interesting.
On start I can ONLY login as root or it just keeps asking for my login name and pass in a loop.
in root Guest Additions WON'T START. The log says "Cannot load Kernel Modules: One or more Module(s) is still in use."
So, how do I get this working?
multiOS
Volunteer
Posts: 825
Joined: 14. Sep 2019, 16:51
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: WIN11,10, 7, Linux (various)
Location: United Kingdom

Re: Debian 11

Post by multiOS »

Perhaps try running your step 8 with sudo:

Code: Select all

sudo sh /media/cdrom/VBoxLinuxAdditions.run
Post Reply