Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: Adam on August 17, 2013, 09:26:38 PM
-
Hi, I was getting this error message when trying to install VirtualBox Guest Additions. Please help
tc@Core1:/mnt/sr0$ sudo ./VBoxLinuxAdditions.run
Verifying archive integrity… All good.
Uncompressing VirtualBox 4.2.16 Guest Additions for Linux…………
VirtualBox Guest Additions installer
Copying additional installer modules …
Killed
tar: short read
tc@Core1:/mnt/sr0$
http://firewallengineer.wordpress.com/2013/08/18/how-to-install-virtualbox-guest-additions-in-tiny-core-linux/
-
Short read means corrupted source tar file.
-
Short read means corrupted source tar file.
Hmm.. is there any way to fix this issue?
-
HI:
May I ask this question here?
I installed VB in TCL 4.7,X and I can see the icon in wbar. But when I click on it nothing happens.
Did somebody install VB in TCL?
If yes please help
-
Short read can also mean that your VM doesn't have enough RAM.
-
thank you - you might be right!
Here is what I have on my system where TCL is running and VB is installed:
686.2 MiB
AMD Athlon(tm) XP 1800+
32-bit
80.0 GB
Gallium 0.4 on softpipe
I will try it on another machine with 2GB of RAM
-
Anybody has any idea how to install VB Additions (for mouse integration) in VB 5 using TC7 x86
(http://i63.tinypic.com/mipj4p.png)
-
Load the compiletc extension
-
Not yet:
(http://i65.tinypic.com/amt5sh.png)
-
Hi sebus
I think you need to install:
linux-kernel-sources-env.tcz
Be sure to read the info file for instructions.
-
Well, I can install it, but headers are still not found
-
Did you see the extension download the linux source?
-
cliorx must be run from /mnt/sd1/tce/ondemand
Had to increase memory assigned to the VM, so /tmp had enough free space
This way headers do download & additions install (apart from X)
(http://i66.tinypic.com/2djz3g6.png)
but mouse integration still does NOT work
sebus
edit:
Had to:
remove Xvesa.tcz from onboot.lst
tce-load -iw Xorg-7.X
as per this (http://forum.tinycorelinux.net/index.php?action=post;quote=72945;topic=13201.0;last_msg=88274)
That will make mouse integration work in THAT only seession, but not on reboot, as VBoxClient-all could not be added to .xinitrc as this file does NOT exist!
-
In fact VBoxClient-all does not exist anywhere on the system, so I have no idea what needs to be executed to get additions working again in another session
Some info about VBox additions here (https://wiki.archlinux.org/index.php/VirtualBox)
-
You need to make an extension out of the guest additions.
Note that tinycore uses .xsession and .X.d rather than .xinitrc
-
And how would I do that?
-
See:
http://wiki.tinycorelinux.net/wiki:creating_extensions
-
Thanks, that was already mentioned here (http://forum.tinycorelinux.net/index.php?topic=18806.0), or here (http://forum.tinycorelinux.net/index.php?topic=17941.0), but without any final solution.
I really can not see how to do it easily (do not have time to spend on it really)
VB is such bog standard and free software that it really should not be too difficult for somebody that knows this stuff better than me to do it & share current .tcz
sebus
-
This will get you a list of the files installed:
$ touch mymarker
$ sudo ./VBoxLinuxAdditions.run
$ sudo find / -not -type 'd' -cnewer mymarker | grep -v "\/proc\/" | grep -v "^\/sys\/" | tee files
$ beaver [or some other text editor] files
..it will be reasonably obvious which files you can delete with the text editor.
Then use the list to make a tar achive of the files, move it to a temporary location and make an extension out of it: $ sudo tar -T files --numeric-owner -zcvf vb_guest_additions.tar.gz
$ mkdir /tmp/pkg
$ cp vb_guest_additions.tar.gz /tmp/pkg
$ cd /tmp/pkg
$ sudo tar xf vb_guest_additions.tar.gz
$ rm vb_guest_additions.tar.gz
$ cd ..
$ sudo mksquashfs pkg/ vb_guest_additions.tcz
$ sudo chown tc:staff vb_guest_additions.tcz
-
Thanks, I assume it would need to be done on plain system (that never had any additions installed), right?
Will give it a go
sebus
-
I believe "sudo ./VBoxLinuxAdditions.run" will over-write anything already installed
-
Done it on clean install (x86) just to test.
It does seem to work fine. Here (https://www.datafilehost.com/d/968e3f00) is working extension, VB 5.0.20
sebus
-
The download site seems a bit dodgy - it offers me the choice of an .exe file less than 1MB or a java install from a url that cannot possibly be genuine...
-
UNCHECK the downloader!
(http://i68.tinypic.com/2ytxpfm.png)
-
I couldn't even see that it was checked, but got it now.
You need to move things around to /usr/local/{bin,lib,sbin,share} to submit it as an extension ;)
-
I will pass on submitting it. Anybody with an ounce of brain can follow your perfect instructions!
Thanks
sebus
-
The idea is that you give something back in return for the help you received...
-
Well, I have. I have tested the procedure & it works. I do not know how legally it looks & what needs to be included (legal notices etc)
Also no way I would be able to answer any questions from anybody, and it is all ONLY good till VB gets updated, which can be tomorrow.
So anybody can follow themselves