Tiny Core Linux
General TC => Tiny Core on Virtual Machines => Topic started by: gigitek 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.
-
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
;)
-
I can report the same problem with tc running in VB 3.0.2 on WinXP. In the help document for VB it states:
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.
-
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?
-
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.
-
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.
-
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.
-
modprobe in /opt/bootlocal.sh.
Another method would be to have the install script add the user to /etc/passwd et al.
adduser
addgroup
-
It is interesting, but modprobe is not work for vbox modules. It said: Module not found. I use insmod insted in bootlocal.sh.
-
Did the extension do a depmod -a after creating the symlinks?
-
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.
-
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!
-
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?
-
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.
-
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.
-
Hello all.
Sorry for delay (in years), but I stopped to work on GA long time ago, just after I've make it works. I was not able to make seamless window and so.
-
I've just installed TC in VBox 4.3.0. There is no tcz extension for it, and using the "Install Guest Additions" from CD doesn't work. One of the reasons is that the vboxadd script uses "modprobe -c" , which is not supported by busybox' modprobe.
So I tried recompiling the guest additions, by running make in /opt/VBoxGuestAdditions-4.3.0/src/vboxguest-4-3-0.It (script Makefile.include.header) wants the linux sources, so I installed linux-3.8.10-sources-env and ran that script. Directory /lib/modules/3.8.10-tinycore/build appeared. The make now complained about the headers, it was trying to find /usr/src/linux-3.8.10/include, which doesn't exist. So I installed linux-3-8-3_api_headers.tcz . I think this should be upgraded to 3.8.10 but for this purpose it doesn't matter probably. I did export KERN_INCL=/usr/include
Make now wanted scripts/kBuild.include, which isn't there, and gcc-goto in the same directory. The scripts directory is empty. It then said "Error: kernel configuration is invalid. include/generated/autoconf.h or include/config/auto.conf are missing. Run "make oldconfig && make prepare" to fix it.
Now I am stuck. In the /home/tc/kernel_sources dir there is a document which looks like a set of config defines for kernel compilation. Is that any use here?
Any suggestions?
Thanks, Mat
-
Hi MatNieuw
... uses "modprobe -c" , which is not supported by busybox' modprobe.
There is also a modprobe in module-init-tools.tcz.
So I installed linux-3-8-3_api_headers.tcz .
The compiletc.tcz extension includes api_headers and should be installed when compiling.
-
Hi Rich, thanks for the quick reaction.
You're right of course about the headers being installed with compiletc . Shouldn't headers be updated along with the kernel version, though?
Using APPS, I cannot find either module-init-tools.tcz or any module that 'provides' modprobe. If I search for 'provides' e.g. acpi,or i2c, it works fine. This is TC 5.0.2 .
Am I using the correct URL? It was automatically selected as the fastest, repo.tinycorelinux.net
Mat
-
Shouldn't headers be updated along with the kernel version, though?
No, I think they should rather be "assorted" with libs like glibc, and totally independent of kernel-du-jour.
-
Hi MatNieuw
I didn't realize you were running 5.0.2. Module-init-tools.tcz has not been added to the 5.x repository yet. If you wish
to try the extension from the 4.x repository, you can fetch it like this:
wget http://www.tinycorelinux.net/4.x/x86/tcz/module-init-tools.tcz
-
Shouldn't headers be updated along with the kernel version, though?
Warning
The headers in the system's include directory should always be the ones against which Glibc was compiled, that is, the sanitised headers from this Linux kernel tarball. Therefore, they should never be replaced by either the raw kernel headers or any other kernel sanitized headers.
Source: http://www.linuxfromscratch.org/lfs/view/development/chapter08/kernel.html