How to install VirtualBox Guest Additions?

Moderator: Forum moderators

Post Reply
timg11
Posts: 17
Joined: Mon Dec 18, 2023 5:40 pm
Been thanked: 2 times

How to install VirtualBox Guest Additions?

Post by timg11 »

I'd like to create a VM with Bionic so I can test and replicate the physical system.

I've found that VirtualBox requires Guest Additions for basic functionality like clipboards, file sharing, and setting resolution higher than VGA.

With other Linux distros, I mount the VBoxGuestAdditions_7.1.4.iso in the VM, boot Linux, mount the CDROM, and run autorun.sh. In Bionic, that does not work:
Image

It seems to be a kernel version issue. Should I try an older version of Guest Additions?

Geek3579
Posts: 286
Joined: Sat Jul 18, 2020 1:07 pm
Has thanked: 82 times
Been thanked: 74 times

Re: How to install VirtualBox Guest Additions?

Post by Geek3579 »

I used VBox a lot some years ago, and it was a bit of a hassle to get all the things right.
The Virtual Box Guest additions must match the VirtualBox version. Once you select the Guest addition ISO, it should self install.

BTW, before doing that,however, I needed to configure the VirtualBox installation.
See https://oldforum.puppylinux.com/viewtopic.php?t=111200 for more details.

Basically, I needed to do the following:
1) In a terminal run: adduser vboxusers
you will then be asked to enter a new password - note, no display of password is provided
2) In a terminal run: /sbin/vboxconfig

User avatar
rockedge
Site Admin
Posts: 6817
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2968 times
Been thanked: 2791 times
Contact:

Re: How to install VirtualBox Guest Additions?

Post by rockedge »

The ViirtualBox kernel module needs to be compiled that matches the current kernel that the operating system is booting with..

The kernel sources need to be installed usually by loading the provided SFS for that particular kernel.

Then as noted you need to run in a terminal:

Code: Select all

 /sbin/vboxconfig
dogcat
Posts: 292
Joined: Fri Feb 18, 2022 11:14 pm
Has thanked: 97 times
Been thanked: 143 times

Re: How to install VirtualBox Guest Additions?

Post by dogcat »

timg11 wrote: Thu Dec 26, 2024 6:26 pm

I'd like to create a VM with Bionic so I can test and replicate the physical system.

I've found that VirtualBox requires Guest Additions for basic functionality like clipboards, file sharing, and setting resolution higher than VGA.

With other Linux distros, I mount the VBoxGuestAdditions_7.1.4.iso in the VM, boot Linux, mount the CDROM, and run autorun.sh. In Bionic, that does not work:

It seems to be a kernel version issue. Should I try an older version of Guest Additions?

Hi @timg11

Yes, the virtualbox is kernel specific.

Go to this post and download the vbox-5.2.18_x86_3-diff-pups.sfs. That is virtualbox built for your kernel version 4.9.163
viewtopic.php?p=1552#p1552

After downloading the sfs you then load the sfs, that will give you a working virtualbox 5.2.18
There will be a menu entry at Menu --> System --> Oracle VM VirtualBox

After you have the working virtualbox you can install the guest additions cd by downloading the .iso from here
https://download.virtualbox.org/virtualbox/5.2.18/

Μακάριοι οι καθαροί στην καρδιά * επειδή, θα δουν τον Θεό.

Post Reply

Return to “Bionic”