SliTaz SliTaz Forum

You are not logged in.

#1 2012-05-11 19:41:43

GoodGuy98
Member
Registered: 2012-03-04
Posts: 15

Installing VirtualBox Guest Additions in SliTaz 4.0 Target

Is there any up to date instructions for installing Virtualbox Guest Additions in a SliTaz 4.0 target?

A search showed a result for SliTaz 3.0, but it didn't seem to work properly.

Offline

#2 2012-05-30 09:29:46

pipein
Member
Registered: 2012-05-30
Posts: 46

Re: Installing VirtualBox Guest Additions in SliTaz 4.0 Target

Hi,

This is what I did to install the VirtualBox Guest Additions in a fresh install of Slitaz 4.0 on a Host running Vista 32 bit:

VirtualBox version on Host: 4.1.12 (with Extensions Pack installed)

Host Machine: Windows Vista 32 bit

Guest: Slitaz 4.0 (Installed from slitaz-4.0.iso, using the "Slitaz Live" option on the boot menu)

In Slitaz 4.0:

- install the following packages:

[c]

  linux-api-headers package (2.6.37)

  linux-module-headers package (2.6.37)

  bzip2 package

[/c]

***Note: the slitaz-toolchain package will get installed as a dependency of the linux-module-headers package.

- mount the VBoxAdditions iso

- in terminal, cd into the mount point for the VBoxAdditions iso

(in my case that was /media/VBOXADDITIONS_4.1.12_77245)

- run as root ./VBoxLinuxAdditions.run

- ignore text about scripts added to /etc/init.d

- ignore text about modprobe -c failing (the version of modprobe built into Busybox here doesn't support option -c)

- open as root /etc/X11/xorg.conf.d and delete the following files:

[c]

  /etc/X11/xorg.conf.d/10-ServerLayout.conf

  /etc/X11/xorg.conf.d/50-Monitor.conf

  /etc/X11/xorg.conf.d/60-Device.conf

  /etc/X11/xorg.conf.d/70-Screen.conf

[/c]

these are not needed, or they conflict with the same named sections of the VirtualBox generated /etc/X11/xorg.conf file.

- open as root /etc/rcS.conf and add "vboxguest vboxsf vboxvideo" to the LOAD_MODULES line, e.g.

[c]

  LOAD_MODULES=" snd_hda_intel vboxguest vboxsf vboxvideo"

[/c]

- open as root /etc/slim.conf and change the login_cmd line to start VBoxClient-all before it executes ~./xinitrc,  e.g.

[c]

  login_cmd           VBoxClient-all & exec /bin/sh -l ~/.xinitrc %session

[/c]

***Note: instead of editing /etc/slim.conf, you could add "VBoxClient-all &" without the quotes to a new line above the CASE 1$ line in each users ~/.xinitrc file.

- reboot

That worked for me on a standard install of Slitaz 4.0.

To check that the vbox modules are loaded, open terminal and type

[c]

  lsmod | grep vbox

[/c]

That should show:

[c]

  vboxguest

  vboxsf

  vboxvideo

  (as well as drm using vboxvideo)

[/c]

Also, you can install the mesa-demos package to get the glxgears and glxinfo utilities.

After you install mesa-demos, open terminal and type

[c]

  glxinfo | grep render

[/c]

That should show:

[c]

  direct rendering: Yes

  OpenGL renderer string: Chromium  (hopefully not Software Rasterizer)

[/c]

Clipboard sharing with Host works for me (easy to check by copying/pasting between Guest and Host).

Shared folders work for me.  Note that I manually mount the shared folders as/when I need them, so I haven't testing automatic mounting.

Hope that helps you.

Offline

#3 2012-06-01 16:23:16

GoodGuy98
Member
Registered: 2012-03-04
Posts: 15

Re: Installing VirtualBox Guest Additions in SliTaz 4.0 Target

@pipein

Thank you very much for your reply. I followed your instructions and everything is working as I hoped for.

When I ran the glxinfo command, it showed using Software Rasterizer.

glxinfo | grep render

OpenGL Warning: Failed to connect to host. Make sure 3D acceleration is enabled for this VM.

direct rendering: Yes

OpenGL renderer string: Software Rasterizer

    GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_fragment_program,

You mentioned "(hopefully not Software Rasterizer)", what decides which method it uses?

Sorry I didn't reply to your message sooner. I have some health issues to deal with.

Offline

#4 2012-06-02 06:47:41

pipein
Member
Registered: 2012-05-30
Posts: 46

Re: Installing VirtualBox Guest Additions in SliTaz 4.0 Target

@GoodGuy98

1st of all, I wish you good health.

Please make sure that you have enabled 3D acceleration in the virtual machine's display settings (back on the Host).  i.e. On the Host, in the VirtualBox Manager GUI, go to the Display Tab for your SliTaz virtual machine and check the "Enable 3D Acceleration" box on the Video/Extended Features section.  (See attached image)

[attachment=10883,508]

Offline

#5 2012-06-02 23:40:38

GoodGuy98
Member
Registered: 2012-03-04
Posts: 15

Re: Installing VirtualBox Guest Additions in SliTaz 4.0 Target

@pipein

I checked enable 3D acceleration and now it displays:

OpenGL renderer string: Chromium

Thanks again for all your help. I will mark it resolved so others can benefit from your help as well.

Offline

#6 2012-06-03 06:47:57

pipein
Member
Registered: 2012-05-30
Posts: 46

Re: Installing VirtualBox Guest Additions in SliTaz 4.0 Target

@GoodGuy98

Good to hear things worked for you.

Offline

#7 2012-08-02 07:44:55

ptthisdan
Member
Registered: 2012-08-02
Posts: 1

Re: Installing VirtualBox Guest Additions in SliTaz 4.0 Target

@pipein

Thanks I followed your steps now host-guest copy&paste, share folders working fine :-)

Offline

#8 2012-08-02 16:40:40

GoodGuy98
Member
Registered: 2012-03-04
Posts: 15

Re: Installing VirtualBox Guest Additions in SliTaz 4.0 Target

It would be nice if SliTaz was submitted to the VirtualBox folks so they can add support

for it like many of the distros. Does anyone know what that would take?

Offline

#9 2012-10-27 16:31:42

black dog
Member
Registered: 2011-04-09
Posts: 331

Re: Installing VirtualBox Guest Additions in SliTaz 4.0 Target

@pipein

Thank you! Good instruction!

Offline

#10 2013-01-12 14:04:55

btizef200
Member
Registered: 2013-01-12
Posts: 1

Re: Installing VirtualBox Guest Additions in SliTaz 4.0 Target

9001 Internets for you good sir! Thank you very much for taking the time to write this guide. I found it very useful and it worked for me smile

Offline

#11 2013-05-20 11:28:24

arodulfo
Member
Registered: 2012-11-03
Posts: 71

Re: Installing VirtualBox Guest Additions in SliTaz 4.0 Target

@pipein

Great job!

Terribly useful!

Everything went smooth (even [c]glxinfo[/c] talks about Chromium).

In order to get the shared folders always mounted, I included a new line in [c].profile[/c] so that it would do the needed [c]mount[/c].

Thank you so much!

Offline

#12 2013-05-20 11:47:55

arodulfo
Member
Registered: 2012-11-03
Posts: 71

Re: Installing VirtualBox Guest Additions in SliTaz 4.0 Target

@pipein

I forgot to mention I'm using VirtualBox 4.1.2.

Thanks again!

Offline

#13 2013-08-20 11:21:05

tvicol
Member
Registered: 2011-12-28
Posts: 66

Re: Installing VirtualBox Guest Additions in SliTaz 4.0 Target

This worked for me as well.

Many thanks pipein for this small tutorial.

Slitaz is great, whatever I do, I back to this small distro.

Regards,

Tibi

Offline

#14 2014-03-06 09:14:07

lockheed
Member
Registered: 2014-01-22
Posts: 4

Re: Installing VirtualBox Guest Additions in SliTaz 4.0 Target

This no longer works. I needed to manually create /usr/src dir, and install

gcc package in addition to linux-api-headers, linux-module-headers and bzip2.

But VBox modules still won't compile because.

Therefore, you need to use this:

http://www.shebang.eu/post/2012/03/27/Guest-Additions-on-Slitaz-4.0RC3-in-a-Virtualbox-Machine

Offline

#15 2014-03-07 02:19:30

pipein
Member
Registered: 2012-05-30
Posts: 46

Re: Installing VirtualBox Guest Additions in SliTaz 4.0 Target

@lockheed

I just tested the procedure as written in the 2nd post and it still works for me.  I just installed the Guest Additions this morning in a new SliTaz 4.0 "Live" install with VirtualBox 4.3.8. (Chromium as OpenGL direct renderer, clipboard sharing, folder sharing etc work as usual)

At least in SliTaz 4.0, gcc is a dependency of the slitaz-toolchain package, which is a dependency of the linux-module-headers package, so I'm not sure why you needed to install gcc separately if the linux-module-headers package installed successfully.

This thread (by title) seems to be about installing the VirtualBox Guest Additions in SliTaz 4.0. If you are not using the stable 4.0 release than perhaps it would help other people who land here if you mention what version of SliTaz you are using and also what version of VirtualBox you are using, or perhaps even start a new thread for the relevant version.  As there are likely to be differences in the procedure from one version of SliTaz (or VirtualBox) to another, the link you provided might help them.

Cheers.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.56 MiB (Peak: 1.77 MiB) ]