WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: virtualbox additions  (Read 20859 times)

Offline gigitek

  • Newbie
  • *
  • Posts: 1
virtualbox additions
« on: July 28, 2011, 09:05:02 AM »
Hello all,

I've just installed virtualbox additions on my tiny core Vm. I don't have mouse integration, the window/desktop doesn't resize etc. As if they are not installed at all.

I'm using virtualbox 4.0.10 on a vista machine.
I've also tested on a windows 7. It's the same.

Suggestions?

Thank you.
« Last Edit: July 28, 2011, 09:22:52 AM by gigitek »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: virtualbox additions
« Reply #1 on: August 03, 2011, 10:02:41 PM »
I'm using VB 4.0.1r73009 on Windows7  which works great but initially had some issue,  I think the trick is don't install the Additions and disable mouse integration (Right Ctrl + I)

much easier to use this way.    click inside the window for capture and Right Ctrl + I to escape to the desktop
;)
« Last Edit: August 03, 2011, 10:06:30 PM by coreplayer2 »

Offline andrewb

  • Full Member
  • ***
  • Posts: 123
Re: virtualbox additions
« Reply #2 on: August 04, 2011, 02:29:20 AM »
I can report the same problem with tc running in VB 3.0.2 on WinXP. In the help document for VB it states:
Quote
Linux or Solaris/OpenSolaris guests with an X.org server version 1.3 or higher[11] (support added with VirtualBox 1.6). The exception is Fedora 9, due to a bug in its X server.

The bug is not explained. Could be that the same issue is affecting tc.

Offline david13lt

  • Newbie
  • *
  • Posts: 1
Re: virtualbox additions
« Reply #3 on: October 03, 2011, 05:28:31 AM »
I just started testing TinyCore Linux unter VirtualBox (4.1.2), but the mouse support is so terrible. I found several forum threads regarding the problems with VBox Additions, but I didn't have success making it work. Are these problems already resolved?

Offline Toshick

  • Newbie
  • *
  • Posts: 17
Re: virtualbox additions
« Reply #4 on: October 03, 2011, 01:14:26 PM »
I just started testing TinyCore Linux unter VirtualBox (4.1.2), but the mouse support is so terrible. I found several forum threads regarding the problems with VBox Additions, but I didn't have success making it work. Are these problems already resolved?

How did you install GA?

I've spend a week installing GuestAdditions 4.1.2 on TCL 4.x.
All threads I've found was related either TCL 3.x and below or GA of versions 3.x.x.
Solutions provided by Kingdomcome, for example, is not works for me.

I was successful in building and installing GA on my TCL box. I've made an extension where I've put all files was changes during install (i've did like in script, but manually). This extension should load on Boot. But during boot and extension load I have next messages:
udevd[71]: specified user 'vboxadd' unknow.
When my system boots up, vboxguest module is not loaded. As I understand - extension been loaded before /opt/.filetool.lts invoked. So, add /etc/group, /etc/passwd, and /etc/shadow to filetool.lst is not helps.

Please help me to solve this, because I'm new to TCL too.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: virtualbox additions
« Reply #5 on: October 03, 2011, 02:17:23 PM »
The lines should be:
etc/group
etc/gshadow
etc/passwd
etc/shadow

Note the absence of a leading "/".

Bootlocal.sh does not run until after extensions are loaded.
Extension setup scripts should NOT start services.
Instead they should install a startup script in /usr/local/etc/init.d.
Modify bootlocal.sh to call this startup script.

Offline Toshick

  • Newbie
  • *
  • Posts: 17
Re: virtualbox additions
« Reply #6 on: October 03, 2011, 02:36:33 PM »
As I understand, modprobe should be perform on extension load. When system boots up, vboxguest and vboxsf kernel modules should be loaded. But it can't be loaded because user/group is not exists on extension load stage. The question is how I should make user/group be available on extension load?
Thanks.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: virtualbox additions
« Reply #7 on: October 03, 2011, 03:06:22 PM »
modprobe in /opt/bootlocal.sh.

Another method would be to have the install script add the user to /etc/passwd et al.
adduser
addgroup
« Last Edit: October 03, 2011, 03:10:09 PM by gerald_clark »

Offline Toshick

  • Newbie
  • *
  • Posts: 17
Re: virtualbox additions
« Reply #8 on: October 04, 2011, 03:18:14 AM »
It is interesting, but modprobe is not work for vbox modules. It said: Module not found. I use insmod insted in bootlocal.sh.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: virtualbox additions
« Reply #9 on: October 04, 2011, 09:17:11 AM »
Did the extension do a depmod -a after creating the symlinks?

Offline Toshick

  • Newbie
  • *
  • Posts: 17
Re: virtualbox additions
« Reply #10 on: October 04, 2011, 02:47:27 PM »
I'm not very sure about extension, but I do depmod in bootlocal.sh. The thing is that in TCL4.x has a broken link in /lib/modules/3.0.3-tinycore/kernel.tclocal It points to /usr/local/lib/modules/3.0.3-tinycore/kernel but this folder does not exist. I create this folder first, then run depmod. But I did it without -a switch. I'll try it with. Thanks.

Offline Toshick

  • Newbie
  • *
  • Posts: 17
Re: virtualbox additions
« Reply #11 on: October 04, 2011, 05:38:40 PM »
I finally make it work! If someone will have troubles with installing GA 4.1.2 on TCL 4.x, please, welcome to this thread. I'll be happy to help!

Offline beerstein

  • Hero Member
  • *****
  • Posts: 530
Re: virtualbox additions
« Reply #12 on: October 05, 2011, 07:59:42 AM »
Hi: Here is what I would like to do:

1)Have a minimum TCL 4.0 System running
2) Install a virtual box extension
3) Run other small operating systems within Tiny Core 4.0 VB

Does the keyboard and mouse and printer work?


t(w)o be(ers) or not t(w)o be(ers) that is the question

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: virtualbox additions
« Reply #13 on: October 05, 2011, 08:13:21 AM »
i did the other way round:

1. booting tc per usbstick
2. loading virtualbox plus additons under tc
3. starting different flavours of win in the virtualbox-machine, all works from internet to printing, from nat to bridge

the virtualharddisk should be on a hdd, cause the read/write speed of usbsticks is to slow to make it convenient.
you won't believe it, but it's true:
the virtualbox-machine on an usbstick plus virtualharddisk on a solidl hdd is faster than a normal win-installation.
« Last Edit: October 05, 2011, 08:20:30 AM by netnomad »

Offline tweetyhack

  • Newbie
  • *
  • Posts: 42
Re: virtualbox additions
« Reply #14 on: January 10, 2012, 05:34:45 PM »
Toshick, I don't know if you solved the user/group thing but I read somewhere where the Virtualbox install script runs groupadd instead of addgroup. So you have to manually add the user with "adduser vboxadd" and "addgroup daemon".

Did you ever figure out the clipboard and seamless windows? I'm still working on that problem.
« Last Edit: January 11, 2012, 11:04:45 AM by tweetyhack »