How to install VirtualBox Guest Additons for Debian 12.5 with BACKPORTS-KERNEL?
-
- Posts: 341
- Joined: 9. Mar 2012, 00:14
How to install VirtualBox Guest Additons for Debian 12.5 with BACKPORTS-KERNEL?
Hi
How to install VirtualBox Guest Additons for Debian 12.5 with BACKPORTS-KERNEL?
Thank you very much for your feedback :-)
How to install VirtualBox Guest Additons for Debian 12.5 with BACKPORTS-KERNEL?
Thank you very much for your feedback :-)
regards, jan
-
- Posts: 341
- Joined: 9. Mar 2012, 00:14
Re: How to install VirtualBox Guest Additons for Debian 12.5 with BACKPORTS-KERNEL?
Now i saw that also the default kernel (non backports) from Debian 12.5 causes problems with guest additions...
SO: Is debian 12.5 not supported for VirtualBox 7.0.4 guest additions?
SO: Is debian 12.5 not supported for VirtualBox 7.0.4 guest additions?
regards, jan
-
- Posts: 341
- Joined: 9. Mar 2012, 00:14
Re: How to install VirtualBox Guest Additons for Debian 12.5 with BACKPORTS-KERNEL?
hmm... maybe that commands are obsolete (??) and the correct command is ONLY (??): " lsmod | grep vboxguest"
https://itslinuxfoss.com/install-virtua ... debian-12/
THank you very much for your feedback(s) :-)
https://itslinuxfoss.com/install-virtua ... debian-12/
THank you very much for your feedback(s) :-)
regards, jan
-
- Volunteer
- Posts: 362
- Joined: 18. Aug 2014, 21:53
- Primary OS: Debian Sid
- VBox Version: PUEL
- Guest OSses: Android, Linux
Re: How to install VirtualBox Guest Additons for Debian 12.5 with BACKPORTS-KERNEL?
What makes you think, modules from a vbox version, released in november 2022 should build against kernels, which was released way later?
-
- Posts: 341
- Joined: 9. Mar 2012, 00:14
Re: How to install VirtualBox Guest Additons for Debian 12.5 with BACKPORTS-KERNEL?
No, v7.0.14 seems to be current version: https://www.virtualbox.org/wiki/Downloads
regards, jan
-
- Posts: 341
- Joined: 9. Mar 2012, 00:14
Re: How to install VirtualBox Guest Additons for Debian 12.5 with BACKPORTS-KERNEL?
Oh i was writing: <SO: Is debian 12.5 not supported for VirtualBox 7.0.4 guest additions?>
Version i REALLY use is 7.0.14 ;-)
Version i REALLY use is 7.0.14 ;-)
regards, jan
-
- Posts: 341
- Joined: 9. Mar 2012, 00:14
Re: How to install VirtualBox Guest Additons for Debian 12.5 with BACKPORTS-KERNEL?
lsmod | grep vboxguest give me the expected output as described on https://itslinuxfoss.com/install-virtua ... debian-12/ ... but not that "modprobe ... "-thing as shown on inserted screenshot
- Attachments
-
- 77777.png (28.98 KiB) Viewed 1106 times
regards, jan
-
- Volunteer
- Posts: 5678
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: How to install VirtualBox Guest Additons for Debian 12.5 with BACKPORTS-KERNEL?
What happened when you installed the VirtualBox Guest Additions? For example starting with the VM window's menu Devices > Insert Guest Additions CD image...?
-
- Posts: 341
- Joined: 9. Mar 2012, 00:14
Re: How to install VirtualBox Guest Additons for Debian 12.5 with BACKPORTS-KERNEL?
no error messages after i runt that shell script installer in mounted .iso cdrom drive.
regards, jan
-
- Volunteer
- Posts: 5678
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: How to install VirtualBox Guest Additons for Debian 12.5 with BACKPORTS-KERNEL?
Did you read and understand the whole text given by the installer? If not, please repeat the installation and post the text, and the output of sudo modinfo vboxguest afterwards.
PS: Your commands didn't make much sense, because vboxadd is no kernel module, and the Shared Folder kernel module's basename is vboxsf.
PS: Your commands didn't make much sense, because vboxadd is no kernel module, and the Shared Folder kernel module's basename is vboxsf.
-
- Posts: 341
- Joined: 9. Mar 2012, 00:14
Re: How to install VirtualBox Guest Additons for Debian 12.5 with BACKPORTS-KERNEL?
<modinfo vboxguest>
seems to work, many thx!!
seems to work, many thx!!
regards, jan
-
- Posts: 341
- Joined: 9. Mar 2012, 00:14
-
- Posts: 341
- Joined: 9. Mar 2012, 00:14
Re: How to install VirtualBox Guest Additons for Debian 12.5 with BACKPORTS-KERNEL?
NOT 100% sure there really all is OK, here is a similar issue with Ubunti instead of Debian (which is also Debian in core):
https://askubuntu.com/questions/1499745 ... ed-rc-1908
NOW, i will repeat all steps after GA driver uninstall...
https://askubuntu.com/questions/1499745 ... ed-rc-1908
NOW, i will repeat all steps after GA driver uninstall...
regards, jan
-
- Posts: 341
- Joined: 9. Mar 2012, 00:14
Re: How to install VirtualBox Guest Additons for Debian 12.5 with BACKPORTS-KERNEL?
Uninstall old installation:
- mount /dev/sr0 /mnt/cdrom
- cd /mnt/cdrom
- root@debian-btc-node:/mnt/cdrom# sh VBoxLinuxAdditions.run uninstall
Verifying archive integrity... 100% MD5 checksums are OK. All good.
Uncompressing VirtualBox 7.0.14 Guest Additions for Linux 100%
VirtualBox Guest Additions installer
Removing installed version 7.0.14 of VirtualBox Guest Additions...
update-initramfs: Generating /boot/initrd.img-6.1.0-18-amd64
- init 6
- mount /dev/sr0 /mnt/cdrom
- cd /mnt/cdrom
then visit https://itslinuxfoss.com/install-virtua ... debian-12/
- apt update
OK:1 http://deb.debian.org/debian bookworm InRelease
Holen:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Holen:3 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Holen:4 http://security.debian.org/debian-security bookworm-security/main Sources [83.0 kB]
Holen:5 http://security.debian.org/debian-security bookworm-security/main amd64 Packages [144 kB]
Holen:6 http://security.debian.org/debian-security bookworm-security/main Translation-en [86.0 kB]
Es wurden 416 kB in 1 s geholt (484 kB/s).
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Alle Pakete sind aktuell.
- apt install build-essential dkms linux-headers-$(uname -r)
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
build-essential ist schon die neueste Version (12.9).
dkms ist schon die neueste Version (3.0.10-8+deb12u1).
linux-headers-6.1.0-18-amd64 ist schon die neueste Version (6.1.76-1).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
- sh ./VBoxLinuxAdditions.run
Verifying archive integrity... 100% MD5 checksums are OK. All good.
Uncompressing VirtualBox 7.0.14 Guest Additions for Linux 100%
VirtualBox Guest Additions installer
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Setting up modules
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
modules. This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel 6.1.0-18-amd64.
update-initramfs: Generating /boot/initrd.img-6.1.0-18-amd64
VirtualBox Guest Additions: Running kernel modules will not be replaced until
the system is restarted or 'rcvboxadd reload' triggered
VirtualBox Guest Additions: reloading kernel modules and services
VirtualBox Guest Additions: kernel modules and services 7.0.14 r161095 reloaded
VirtualBox Guest Additions: NOTE: you may still consider to re-login if some
user session specific services (Shared Clipboard, Drag and Drop, Seamless or
Guest Screen Resize) were not restarted automatically
- init 6
- lsmod | grep vboxguest
vboxguest 434176 2
- modprobe vboxadd
modprobe: FATAL: Module vboxadd not found in directory /lib/modules/6.1.0-18-amd64
- modprobe vboxvfs
modprobe: FATAL: Module vboxvfs not found in directory /lib/modules/6.1.0-18-amd64
- mount /dev/sr0 /mnt/cdrom
- cd /mnt/cdrom
- root@debian-btc-node:/mnt/cdrom# sh VBoxLinuxAdditions.run uninstall
Verifying archive integrity... 100% MD5 checksums are OK. All good.
Uncompressing VirtualBox 7.0.14 Guest Additions for Linux 100%
VirtualBox Guest Additions installer
Removing installed version 7.0.14 of VirtualBox Guest Additions...
update-initramfs: Generating /boot/initrd.img-6.1.0-18-amd64
- init 6
- mount /dev/sr0 /mnt/cdrom
- cd /mnt/cdrom
then visit https://itslinuxfoss.com/install-virtua ... debian-12/
- apt update
OK:1 http://deb.debian.org/debian bookworm InRelease
Holen:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Holen:3 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Holen:4 http://security.debian.org/debian-security bookworm-security/main Sources [83.0 kB]
Holen:5 http://security.debian.org/debian-security bookworm-security/main amd64 Packages [144 kB]
Holen:6 http://security.debian.org/debian-security bookworm-security/main Translation-en [86.0 kB]
Es wurden 416 kB in 1 s geholt (484 kB/s).
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Alle Pakete sind aktuell.
- apt install build-essential dkms linux-headers-$(uname -r)
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
build-essential ist schon die neueste Version (12.9).
dkms ist schon die neueste Version (3.0.10-8+deb12u1).
linux-headers-6.1.0-18-amd64 ist schon die neueste Version (6.1.76-1).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
- sh ./VBoxLinuxAdditions.run
Verifying archive integrity... 100% MD5 checksums are OK. All good.
Uncompressing VirtualBox 7.0.14 Guest Additions for Linux 100%
VirtualBox Guest Additions installer
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Setting up modules
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
modules. This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel 6.1.0-18-amd64.
update-initramfs: Generating /boot/initrd.img-6.1.0-18-amd64
VirtualBox Guest Additions: Running kernel modules will not be replaced until
the system is restarted or 'rcvboxadd reload' triggered
VirtualBox Guest Additions: reloading kernel modules and services
VirtualBox Guest Additions: kernel modules and services 7.0.14 r161095 reloaded
VirtualBox Guest Additions: NOTE: you may still consider to re-login if some
user session specific services (Shared Clipboard, Drag and Drop, Seamless or
Guest Screen Resize) were not restarted automatically
- init 6
- lsmod | grep vboxguest
vboxguest 434176 2
- modprobe vboxadd
modprobe: FATAL: Module vboxadd not found in directory /lib/modules/6.1.0-18-amd64
- modprobe vboxvfs
modprobe: FATAL: Module vboxvfs not found in directory /lib/modules/6.1.0-18-amd64
regards, jan
-
- Volunteer
- Posts: 5678
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: How to install VirtualBox Guest Additons for Debian 12.5 with BACKPORTS-KERNEL?
I don't see any unexpected error in your procedure.
PS: In the first Ask Ubuntu thread you provided, all posts are correct except the one with the wrong commands which I already explained to you.
PS: In the first Ask Ubuntu thread you provided, all posts are correct except the one with the wrong commands which I already explained to you.