RSS

Tag Archives: guest additions

Installing VirtualBox Guest Addition on SLAX

(edit: fixed the wrong command as “Frustrated Slax User” suggested)
It’s a pretty easy task but, every time, I made some mistake …
Here’s the full procedure.

Tip, before you begin:
if you are in a liveCD environment, you’ll need to configure two cdrom readers.

First you need the linux sources / headers, because the modules will be built into the kernel.

slax activate kernel-devel

Then, from your host, you have to mount the .iso Guest Additions file.
On Windows you can find the file in C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso.
On Linux it is in /usr/share/virtualbox/VBoxGuestAdditions.iso

Finally we can launch the installer within the guest VM. We have to mount the virtual cdrom

mkdir /mnt/cdrom
mount /dev/sr0 /mnt/cdrom
cd /mnt/cdrom

then

./VBoxLinuxAdditions.run

Done! =)

If something went wrong check the logs in /var/log/VBoxGuestAdditions.log
To verify if one module is currently running you can use the modinfo command: modinfo vboxvideo.
To start one module’s daemon there is the VBoxClient command. I.e. running VBoxCLient –display will starts the video driver daemon (that allows the guest automatic resize).

 
1 Comment

Posted by on 2013/05/02 in sys

 

Tags: , ,