WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to install VirtualBox Guest Additions in Tiny Core Linux?  (Read 18769 times)

Offline sebus

  • Jr. Member
  • **
  • Posts: 96
Re: How to install VirtualBox Guest Additions in Tiny Core Linux?
« Reply #15 on: May 01, 2016, 02:45:58 AM »
And how would I do that?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 11471

Offline sebus

  • Jr. Member
  • **
  • Posts: 96
Re: How to install VirtualBox Guest Additions in Tiny Core Linux?
« Reply #17 on: May 01, 2016, 06:40:09 AM »
Thanks, that was already mentioned here, or here, 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
« Last Edit: May 01, 2016, 06:50:25 AM by sebus »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 11471
Re: How to install VirtualBox Guest Additions in Tiny Core Linux?
« Reply #18 on: May 01, 2016, 07:15:15 AM »
This will get you a list of the files installed:
Code: [Select]
$ 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:
Code: [Select]
$ 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

Offline sebus

  • Jr. Member
  • **
  • Posts: 96
Re: How to install VirtualBox Guest Additions in Tiny Core Linux?
« Reply #19 on: May 01, 2016, 08:20:32 AM »
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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 11471
Re: How to install VirtualBox Guest Additions in Tiny Core Linux?
« Reply #20 on: May 01, 2016, 08:44:07 AM »
I believe "sudo ./VBoxLinuxAdditions.run" will over-write anything already installed

Offline sebus

  • Jr. Member
  • **
  • Posts: 96
Re: How to install VirtualBox Guest Additions in Tiny Core Linux?
« Reply #21 on: May 02, 2016, 04:19:04 AM »
Done it on clean install (x86) just to test.

It does seem to work fine. Here is working extension, VB 5.0.20

sebus

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 11471
Re: How to install VirtualBox Guest Additions in Tiny Core Linux?
« Reply #22 on: May 02, 2016, 04:52:14 AM »
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...

Offline sebus

  • Jr. Member
  • **
  • Posts: 96
Re: How to install VirtualBox Guest Additions in Tiny Core Linux?
« Reply #23 on: May 02, 2016, 06:35:51 AM »
UNCHECK the downloader!


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 11471
Re: How to install VirtualBox Guest Additions in Tiny Core Linux?
« Reply #24 on: May 02, 2016, 09:46:32 AM »
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  ;)

Offline sebus

  • Jr. Member
  • **
  • Posts: 96
Re: How to install VirtualBox Guest Additions in Tiny Core Linux?
« Reply #25 on: May 02, 2016, 02:11:19 PM »
I will pass on submitting it. Anybody with an ounce of brain can follow your perfect instructions!

Thanks

sebus

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 11471
Re: How to install VirtualBox Guest Additions in Tiny Core Linux?
« Reply #26 on: May 03, 2016, 05:59:20 AM »
The idea is that you give something back in return for the help you received...

Offline sebus

  • Jr. Member
  • **
  • Posts: 96
Re: How to install VirtualBox Guest Additions in Tiny Core Linux?
« Reply #27 on: May 05, 2016, 01:04:27 PM »
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