Opened 10 months ago

Last modified 9 months ago

#2439 new enhancement

virtualbox guest additions are already installed in the vmdk

Reported by: christro Owned by: osgeolive@…
Priority: normal Milestone: OSGeoLive16.0
Component: OSGeoLive Keywords: vmdk, virtualbox guest additions
Cc: osgeolive@…

Description

The virtualbox guest additions are already installed in the vmdk

user@osgeolive:~$ sudo apt-get install --yes virtualbox-guest-utils virtualbox-guest-x11[sudo] password for user: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
virtualbox-guest-utils is already the newest version (6.1.38-dfsg-3~ubuntu1.22.04.1).
virtualbox-guest-utils set to manually installed.
virtualbox-guest-x11 is already the newest version (6.1.38-dfsg-3~ubuntu1.22.04.1).
The following packages were automatically installed and are no longer required:
  libfuse2 libntfs-3g89
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.

The pre-installation of the virtualbox guest additions in the vmdk could be a problem

  • if you are using another vm solution, e.g. parallels, vmware, ...
  • if you have an incombatible vbox version
  • if you unaware of the apt-Package and you try to install the virtualbox guest additions from the Guest Additions CD Image.
    sudo /media/user/VBox_GAs_7.0.8/VBoxLinuxAdditions.run
    

In this case you get error messages during the start of the VM

systemctl

...
  upower.service                                                                           loaded active running   D>
  user-runtime-dir@1000.service                                                            loaded active exited    U>
  user@1000.service                                                                        loaded active running   U>
● vboxadd-service.service                                                                  loaded failed failed    v>
  vboxadd.service                                                                          loaded active exited    v>
  virtualbox-guest-utils.service                                                           loaded active running   V>
  wpa_supplicant.service                                                                   loaded active running   W>
...

Maybe it would be better, to deinstall the virtualbox guest additions at the end. In this case every user could install the virtualbox guest additions from the "Guest Additions CD Image" by himself / herself, which is also recommended by VirtualBox.

Change history (3)

comment:1 by astrid_emde, 10 months ago

Or we change the documentation Step 3 : Running the Virtual Machine https://live.osgeo.org/en/quickstart/virtualization_quickstart.html

comment:2 by kalxas, 9 months ago

Cc: osgeolive@… added

comment:3 by kalxas, 9 months ago

The guest additions have been removed from the VMDK build script.

https://github.com/OSGeo/OSGeoLive/commit/a19bf98c6d82aab72afc1c3f7e4ed44a0713d769

Note: See TracTickets for help on using tickets.