Tiny Core Linux

General TC => Tiny Core on Virtual Machines => Topic started by: dWLkR on March 31, 2009, 02:04:19 AM

Title: software wanted: vmware player and/or virtualbox
Post by: dWLkR on March 31, 2009, 02:04:19 AM
hi!

first off: TCL: great OS!

second: it would be nice if vmwar player and/or virtualbox could be installed on TCL because TCL could be some kind of baremetal kickoff-plattform for VMs...

thank you in advance!
Title: Re: software wanted: vmware player and/or virtualbox
Post by: dWLkR on April 01, 2009, 03:34:28 AM
*hmpf*

again an I call it: "no-reply-to-my-extremly-intelligent-and-interessting-topics"-forum - short: nrmeii-forum... :<

so 2 scenarios would be possible:
(1) a user replies with "why don't u use <insert app name here> for virtualization?!" - my guess would be: qemu...

(2) no reply at all...

but hey... guys - i am a friend of an open communication - wouldn't it be totally f*ck*ng awesome - if we would have TCL + (i.e.) virtualbox? i mean... think of the nearless endless possibilities - maybe we would need some more drivers (especially [W]LAN, UMTS-modem stuff) - but then... OMG it would be so cool...

PLSSSSSSSSSSSSS can someone make it real?

tia! (really!)
Title: Re: software wanted: vmware player and/or virtualbox
Post by: tobiaus on April 01, 2009, 03:51:17 AM
(1) a user replies with "why don't u use <insert app name here> for virtualization?!" - my guess would be: qemu...

that's why i didn't say anything.

i thought about it... anyway i have nothing against people installing virtualbox (i almost linked to the gpl open source edition so they could make it an extension, you'll be able to guess why i didn't) or vmware or even microsoft virtual pc (there's no accounting for taste) but what i want right now is qemu (not virtualbox, not even virtualbox ose.)

i thought it would be pointless to ask people to compile virtualbox if they haven't compiled qemu, and i thought it would be trollish when i've already asked for qemu to say "no, don't compile virtualbox, qemu is better!" that's both your scenarios, (except the one where you insist.)
Title: Re: software wanted: vmware player and/or virtualbox
Post by: dWLkR on April 01, 2009, 04:40:17 AM
hi tobiaus!

thank you for your reply!

what kind of performance do u expect - if i.e. winxp+sp3 is in a qemu-environment instead of a vbox-environment?! (expected replies: vbox should be 30% faster... or sth. like that!)

host-data:
- p4 2ghz
- 1gb ram

tia!
Title: Re: software wanted: vmware player and/or virtualbox
Post by: tobiaus on April 01, 2009, 05:50:42 AM
i could guess but it would be meaningless. the simplicity (this is a word that means lots of different things) and reliability are the reasons for my interest in qemu. i'd be very happy to see both qemu and virtualbox ose (i don't think standard virtualbox is something we can put up for download/redistribution, but we could create a download script like the ones for flash and skype) available as tce/tczs.

i couldn't tell you if virtualbox is better or how much, i'm sure it's a very nice piece of software, just like opera is. (that much i know, i've used opera.)
Title: Re: software wanted: vmware player and/or virtualbox
Post by: dWLkR on April 03, 2009, 01:58:12 AM
thanks!

any other "community" member - who wants to say sth. concerning this? :P
Title: Re: software wanted: vmware player and/or virtualbox
Post by: dWLkR on April 13, 2009, 10:41:14 PM
*bump*
Title: Re: software wanted: vmware player and/or virtualbox
Post by: tobiaus on April 14, 2009, 11:36:03 AM
*bump*

virtualbox ose would be a nice addition... as i probably mentioned earlier, the repository is usually for open source applications. virtualbox (the closed version) has some cool features, are you looking for those in particular or does ose suit your purposes? (note to fellow fanatics: at least they plan to integrate some of the existing features from the closed version in the future, so the open source edition isn't quite a smack in the face.)
Title: Re: software wanted: vmware player and/or virtualbox
Post by: dWLkR on April 15, 2009, 02:45:53 AM
just do it guys!

vbox OSE 4 teh win!

plsssss! :>
Title: Re: software wanted: vmware player and/or virtualbox
Post by: dWLkR on April 29, 2009, 04:11:40 AM
hello?  ???  :-\
Title: Re: software wanted: vmware player and/or virtualbox
Post by: tobiaus on April 29, 2009, 12:23:24 PM
it takes time sometimes. i've been waiting for pcmanfm for a long time. pcmanfm is the more lightweight, presumably easier to compile option i found while i was waiting for xfe. it's been at least a month or two. the nice thing about being a volunteer is, you get more say in what you do. the nice thing about getting a volunteer to work is you only have to ask...

but you can't actually "make them" do anything. also in the linux world, people sometimes expect you to do something yourself. i've never been able to compile anything but zile, so i (patiently? let's say patiently) wait for pcmanfm as long as it takes. i don't feel bad mentioning it again every month and a half or two, but unless more people want pcmanfm, i don't expect anyone to make anything just for me.
Title: Re: software wanted: vmware player and/or virtualbox
Post by: dWLkR on June 04, 2009, 12:49:02 AM
hi!

after leaving the month may out of spamming this forum... i'd like to kindly ask (once again) if someone from TCL-staff or TCL-community is willingly to fulfill my dream?! :D

definition of my dream: vbox OSE and/or vmware player module for TCL :]

tia!
Title: Re: software wanted: vmware player and/or virtualbox
Post by: samedirection on June 29, 2009, 02:34:43 PM
I don't have VB running inside TC, but I do have TC running inside VB under ubuntu, but without the Guest Additions

Do see this thread, however:
http://forum.tinycorelinux.net/index.php?topic=1761.0

It sounds like someone managed to get what you want working.
Title: Re: software wanted: vmware player and/or virtualbox
Post by: linus72 on June 30, 2009, 04:11:26 AM
What about portable-qemu?
It's not vbox or vmware, but it is portable, plays multiple systems on windows or linux
from iso, virtualharddrive, etc
plays on any type partition, on usb, off cd, etc
portable-qemu(mine) has kvm for linux and is 3mb before making a vhd.

also, only thing needed to play portable-qemu is SDL.tce library, no need to install qemu to tinycore.
you can access your real hd/usb/cddrive and it all runs just like a real system.

just a thought :)
Title: Re: software wanted: vmware player and/or virtualbox
Post by: dWLkR on July 06, 2009, 02:01:54 AM
(...)
Do see this thread, however:
http://forum.tinycorelinux.net/index.php?topic=1761.0

It sounds like someone managed to get what you want working.
thank you for pointing me to that thread! :)

What about portable-qemu?
It's not vbox or vmware, but it is portable, plays multiple systems on windows or linux
from iso, virtualharddrive, etc
plays on any type partition, on usb, off cd, etc
portable-qemu(mine) has kvm for linux and is 3mb before making a vhd.

also, only thing needed to play portable-qemu is SDL.tce library, no need to install qemu to tinycore.
you can access your real hd/usb/cddrive and it all runs just like a real system.

just a thought :)

hi! sounds interessting! but i don't know if i understood u correctly... is this a standalone OS?!
Title: Re: software wanted: vmware player and/or virtualbox
Post by: dWLkR on January 11, 2010, 10:43:29 AM
is it out yet?! :>
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Kingdomcome on January 11, 2010, 03:42:08 PM
After much trying, Ive put the VirtualBox build on hold until TC/MC 3.x.  Lack of exception handling in 2.x has caused every one of my attempts to fail to successfully start a VM.
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Onyarian on January 12, 2010, 09:53:03 AM
Thanks for the effort, we look forward to version 3,
with version 2 I had the same bad results.
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Kingdomcome on January 12, 2010, 11:20:30 PM
FWIW, the latest version of VirtualBox are requiring qt-opengl, which would depend on xorg, if we can ge that module built. Most likely, my first attempts at building VirtualBox in TC 3.x will be with a 3.0.x version of VirtualBox which does not depend on qt-opengl.
Title: Re: software wanted: vmware player and/or virtualbox
Post by: dWLkR on January 24, 2010, 11:34:20 PM
thx!

pls keep on making a dream come true! :)
Title: Re: software wanted: vmware player and/or virtualbox
Post by: dWLkR on March 19, 2010, 05:07:52 AM
*bump*

is it out yet?! :D
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Kingdomcome on March 19, 2010, 01:39:44 PM
The announcement of the host app was lumped in with the announcement of the guest additions update, but yes VirtualBox is now available in the repo.  It does require TC/MC >= 2.9 though.   http://forum.tinycorelinux.net/index.php?topic=2831.msg28049#msg28049
Title: Re: software wanted: vmware player and/or virtualbox
Post by: dWLkR on July 21, 2010, 05:52:55 AM
re!

just d/l tcl 3.0 - how can i install VIRTUALBOX OSE?!

thank you very much in advance!
Title: Re: software wanted: vmware player and/or virtualbox
Post by: dWLkR on July 26, 2010, 01:05:49 AM
*bump* ;)
Title: Re: software wanted: vmware player and/or virtualbox
Post by: jur on July 29, 2010, 03:12:28 PM
If it's not in the apps repo then it's not available yet. Hopefully the maintainer is actively working on the 3.x version.
Title: Re: software wanted: vmware player and/or virtualbox
Post by: ricky on August 04, 2010, 06:07:57 AM
I have, without building a extension, already compiled and installed  "VirtualBox-3.2.6-63112-Linux_x86.run" in my tinycore3.0 (32 bit) without any problems by using the hints in post "Re: Tiny Core 3.0 Alpha 6 Testing" from Author Arslan S. (compiling a kernel module).
But how can I put or transfer this to tinycore64-3.x or microcore64-3.0 ?
In general, how can I put a 32bit-application in tinycore64 ?
Excuse my bad english .
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Arslan S. on August 04, 2010, 06:39:01 AM
all you need to do is to build same module for 64 bit kernel other stuff does not have to be 64 bit
and separate all kernel modules in to their own extensions with the corresponding kernel name (uname -r)
and add xxx-KERNEL.tcz to main extension dep list

see nvidia-glx.tcz for example

to build 64bit kernel module you need toolchain64.tcz extension
and some command like below after preparing kernel 64 source same as 32 bit kernel
Code: [Select]
toolchain64-shell
make module IGNORE_CC_MISMATCH=1 CC=x86_64-unknown-linux-gnu-gcc
Title: Re: software wanted: vmware player and/or virtualbox
Post by: ricky on August 04, 2010, 06:57:47 AM
Thank you for your help Arslan S.
I tried that already with VirtualBox-3.2.6-63112-Linux_amd64.run, but that did not work.
But now with your new help I 'll try it once more.
Title: Re: software wanted: vmware player and/or virtualbox
Post by: ricky on August 04, 2010, 12:49:29 PM
Hallo Arslan S.

I tried to compile the VirtualBox-Kernel-Modules of VirtualBox-3.2.6-63112-Linux_amd64.run as you told me, but I failed with the following message

make KBUILD_VERBOSE=1 -C /lib/modules/2.6.33.3-tinycore64/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (      \
   echo;                        \
   echo "  ERROR: Kernel configuration is invalid.";      \
   echo "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
   echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";   \
   echo;                        \
   /bin/false)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*

  WARNING: Symbol version dump /mnt/hda6/Fuer_Linux_Source64/linux-2.6.33.3/Module.symvers
           is missing; modules will have no dependencies and modversions.

make -f scripts/Makefile.build obj=/tmp/vbox.0
  gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d  -nostdinc -isystem /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i686-pc-linux-gnu/4.4.3/include -I/mnt/hda6/Fuer_Linux_Source64/linux-2.6.33.3/arch/x86/include -Iinclude  -include include/generated/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m64 -mno-red-zone -mcmodel=kernel -maccumulate-outgoing-args -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fomit-frame-pointer -I/lib/modules/2.6.33.3-tinycore64/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv_linux)"  -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)"  -c -o /tmp/vbox.0/linux/SUPDrv-linux.o /tmp/vbox.0/linux/SUPDrv-linux.c
/tmp/vbox.0/linux/SUPDrv-linux.c:1: error: code model 'kernel' not supported in the 32 bit mode
/tmp/vbox.0/linux/SUPDrv-linux.c:1: sorry, unimplemented: 64-bit mode not compiled in
make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxdrv] Error 2

But autoconf.h and auto.conf were present and i run "make oldconfig && make prepare" before.

What can I do ?
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Arslan S. on August 04, 2010, 01:04:20 PM
you need to compile it with toolchain64.tcz not gcc.tcz
also it shoud be "make modules_prepare" i think

try this
run toolchain64-shell
then add this to your all make commands
IGNORE_CC_MISMATCH=1 CC=x86_64-unknown-linux-gnu-gcc

also you don't need to compile all kernel modules
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Arslan S. on August 04, 2010, 02:05:02 PM
I gave a quick shot and successfully compiled vbox kernel modules for 64 bit tiny core kernel

first open up a toolchain64-shell through menu entry
or open up a standart terminal and run toolchain64-shell

prepare linux source before compiling modules
Code: [Select]
LINUX_SRC=$PWD/linux-2.6.33.3

[ -d linux-2.6.33.3 ] && sudo rm -rf linux-2.6.33.3

tar xf linux-2.6.33.3-patched.tbz2

cd linux-2.6.33.3

cp -f ../config-2.6.33.3-tinycore64 .config

make oldconfig CROSS_COMPILE=x86_64-unknown-linux-gnu-

make modules_prepare CROSS_COMPILE=x86_64-unknown-linux-gnu-

if [ ! -e /usr/src/linux ]; then
sudo mkdir -p /usr/src
sudo ln -s $LINUX_SRC /usr/src/linux
fi

if [ ! -e /lib/modules/2.6.33.3-tinycore64/build ]; then
sudo ln -s /usr/src/linux /lib/modules/2.6.33.3-tinycore64/build
fi

and then compiling modules from vbox src directory is as simple as

Code: [Select]
make CROSS_COMPILE=x86_64-unknown-linux-gnu-
tested on microcore64 3.0
Title: Re: software wanted: vmware player and/or virtualbox
Post by: ricky on August 05, 2010, 05:00:22 AM
Hallo Arslan S.,
if I followed your last advice and run the "make" command in toolchain64-shell, without loading compile.tcz, I received "make: command not found".
What was wrong ?
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Arslan S. on August 05, 2010, 07:14:42 AM
of course you need to load compiletc just use toolchain64 instead of gcc to compile
Title: Re: software wanted: vmware player and/or virtualbox
Post by: ricky on August 05, 2010, 11:06:19 AM
Hurrah! Now I compiled the vbox kernel modules in 64 bit sucessfully. Thank you for help!
The next problem will be to include it in VirtualBox-3.2.6. But modprobe will be not enough. After a try I got already the message "modprobe is not supported" . But in terminal it worked with sudo.
So let's work and do some "trial and error".
Title: Re: software wanted: vmware player and/or virtualbox
Post by: ricky on August 05, 2010, 02:17:27 PM
VirtualBox-3.2.6-Linux_amd64.run wouldn't start in tinycore64 because of following dmesg:

"ioctl32(aterm:10310): Unknown cmd fd(5) cmd(00005302){t:'S';sz:0} arg(080606ae) on /dev/pts/0"

What means this ? It's to hard for me. Can anyone help ?
Title: Re: software wanted: vmware player and/or virtualbox
Post by: mark on August 06, 2010, 02:38:40 AM
Hallo Arslan S.,

I have to use puel lic. virtualbox (because USB/vRDP), so I successfully compiled the 64 bit virtualbox kernel module (from VirtualBox-3.2.6-Linux_amd64.run) and loaded (checked lsmod, and no errors in syslog), but the 64 bit virtualbox application itself cannot run, with errors: Invalid elf header.
Though I can compile and run the 32 bit virtualbox on the same tinycore (3.0/64bit).
I need a 64 version virtualbox, so how I can run the 64 bit apps vith tinycore?
(All of dependency remastered already into tinycore for this /toolchain64,gcc,compiletc,...etc./)
Please help! thx!
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Arslan S. on August 06, 2010, 03:53:33 AM
all i know is only kernel related stuff is 64 bit inside microcore64 all others are the same as in microcore, that is 32 bit libraries, applications etc.

so there is no 64 bit extensions in repository except some kernel modules and toolchain64

and you should be able run 32 bit vbox with 64 bit vbox kernel modules because they are compiled exactly from the same source but with different compilers

for running 64 bit version of vbox you need to compile all its dependencies 64 bit i think (someone correct me if i am wrong please :))
Title: Re: software wanted: vmware player and/or virtualbox
Post by: ^thehatsrule^ on August 06, 2010, 10:27:41 AM
There's toolchain64-lib, but there may be some settings needed to be able to hook into it
Title: Re: software wanted: vmware player and/or virtualbox
Post by: ricky on August 06, 2010, 12:39:25 PM
After installing the new linux-headers-2.6.33.3-tinycore.tcz of ^thehatsrule^ in tinycore64-3.x, I was running VirtualBox-3.2.6-63112-Linux_amd64.run in tinycore64-3.x. It compiled (I think in 32-bit) and installed in /opt/VirtualBox very well, but without vbox kernel modules. After that I installed the already compiled vbox kernel modules (depmod -a, modprobe and so on...) and the messages were o.k. so far.
But when I did "sudo VirtualBox" in the Terminal (aterm), I received "/usr/bin/VirtualBox: exec: line 105: /opt/VirtualBox/VirtualBox: not found". As I looked in /opt/VirtualBox the file VirtualBox was present..

Why it can't find this file although is present ? Is that a mistake of the linux-headers or of busybox ?
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Arslan S. on August 06, 2010, 01:37:25 PM
i dunno if it works but it is worth trying, i have seen some python scripts in vbox source, so:
Code: [Select]
tce-load -i python
sudo ln -sf /usr/local/bin/python /usr/bin/python
Title: Re: software wanted: vmware player and/or virtualbox
Post by: ricky on August 07, 2010, 03:01:41 AM
Hallo Arslan S.,
thank you for your advice. But python was already loaded, because it was necessary to compile VirtualBox. So I tried your second command . But after "sudo VirtualBox" i received the same message as before (see my last post yesterday).In tinycore3.0 (32-bit) no such problem.
So I am waiting for a new advice.
Title: Re: software wanted: vmware player and/or virtualbox
Post by: ricky on August 08, 2010, 12:50:06 PM
I think the problem is, that I need linux-headers-2.6.33.3-tinycore64.tcz too.
Is there a prospect to get that extension sooner or later ?
Title: Re: software wanted: vmware player and/or virtualbox
Post by: mark on August 08, 2010, 01:41:22 PM
Hallo Arslan S.,

I asked, the VirtualBox guys said 64 bit kernel modules+32 virtualBox apps combination not working unfortunately, so I think I can choose two different solution:
1. I switch back completly to 32 bit TC (this way I will lost the modern Core* CPUs 64 bit performance, but this way still I get very small host OS footprint & easy TC build/remaster)
2. I switch to completly to 64 bit TC (this way I have to build 64 bit libs+apps, this way I get not just very small footprint, but good performance also, though this will lot of not easy work)

So is there any plan to build a 64 bit TC completely?

If not, would be good some help how I can build it...
Maybe either way have to decide the future of TC:
1. support only older machine (but exist the 64 bit CPUs already several years)
2. support also a modern 64 bit CPU-s possibility (need more complicated repository & it's handling)
Title: Re: software wanted: vmware player and/or virtualbox
Post by: dWLkR on August 16, 2010, 12:48:48 AM
hi guys!

nice discussion that evolved around here in my thread!

thank you for your efforts - i think it would be great having a small-footprint-OS like TCL - so one is able to easily kick-start VMs without having a blown up host-OS...

i would love to see a stable release for the TCL-app-manager - please keep up the good work...
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Arslan S. on August 16, 2010, 02:02:46 AM
Hallo Arslan S.,

I asked, the VirtualBox guys said 64 bit kernel modules+32 virtualBox apps combination not working unfortunately, so I think I can choose two different solution:
1. I switch back completly to 32 bit TC (this way I will lost the modern Core* CPUs 64 bit performance, but this way still I get very small host OS footprint & easy TC build/remaster)
2. I switch to completly to 64 bit TC (this way I have to build 64 bit libs+apps, this way I get not just very small footprint, but good performance also, though this will lot of not easy work)

So is there any plan to build a 64 bit TC completely?

If not, would be good some help how I can build it...
Maybe either way have to decide the future of TC:
1. support only older machine (but exist the 64 bit CPUs already several years)
2. support also a modern 64 bit CPU-s possibility (need more complicated repository & it's handling)


i am not the official here but i know that 64 bit apps are not accepted to the repository, for a complete 64 bit tc we need a completely different repository

also 32 bit vbox is the easiest way, i don't think the performance or other gains from 64 bit vbox will be worth all the efforts

if you really need vbox 64 bit i recommend arch linux
https://bbs.archlinux.org/viewtopic.php?pid=631681#p631681 (https://bbs.archlinux.org/viewtopic.php?pid=631681#p631681)
Title: Re: software wanted: vmware player and/or virtualbox
Post by: ricky on August 16, 2010, 03:12:40 AM
May be it's of interest:
Installing and running VirtualBox-3.2.6-63112-Linux_amd64.run within Fatdog64(Puppy Linux) is quite easy, if you  installed already fd64-devx_500.sfs , python-2.6.4-amd64.pet, qt4-4.6.1.pet, tcl-8.5.8.pet and tk-8.5.8.pet.
Title: Re: software wanted: vmware player and/or virtualbox
Post by: dWLkR on August 16, 2010, 04:27:11 AM
thx ricky!

but the host-os should be smaller - so TCL is 1st choice for this project!
Title: Re: software wanted: vmware player and/or virtualbox
Post by: ricky on August 16, 2010, 07:07:53 AM
dWLkR, unfortunately you are right.
Title: Re: software wanted: vmware player and/or virtualbox
Post by: dWLkR on September 06, 2010, 10:57:39 PM
lo!

do we have a new status?

tia! :]
Title: Re: software wanted: vmware player and/or virtualbox
Post by: dWLkR on September 13, 2010, 01:35:15 AM
*bump* ;)
Title: Re: software wanted: vmware player and/or virtualbox
Post by: uggla on September 21, 2010, 02:31:26 AM
...
But when I did "sudo VirtualBox" in the Terminal (aterm), I received "/usr/bin/VirtualBox: exec: line 105: /opt/VirtualBox/VirtualBox: not found". As I looked in /opt/VirtualBox the file VirtualBox was present..

Why it can't find this file although is present ? Is that a mistake of the linux-headers or of busybox ?

I got that message when trying to run some scripts. Loadning bash.tcz solved it for me.

/Uggla
Title: Re: software wanted: vmware player and/or virtualbox
Post by: dWLkR on October 04, 2010, 07:31:09 AM
hi!

it's me again! :D

is it out yet?

seemingly my wish having a small footprint client hypervisor is too crazy...
Title: Re: software wanted: vmware player and/or virtualbox
Post by: danielibarnes on October 04, 2010, 09:42:27 AM
Now that it's been six months, how close are you to your goal? Have you done a qemu/vbox/vmware comparison? Is there one in particular that has a feature you need which is not available in the others?

VMware: I've seen posts where vmware player runs on TC but you'll never see an extension due to restrictions on distribution. The most you can get is step-by-step installation instructions, and I think I saw someone do that. I know that VMware Tools work in TC.

VBox: AFAIK this app and tools work in TC 2.x, right?

Qemu: Already exists in 3.x. The easiest route.

I'd like to see a "small footprint client hypervisor" as well. I wish I had the time to work on it.
Title: Re: software wanted: vmware player and/or virtualbox
Post by: uggla on October 04, 2010, 11:56:03 AM
Now that it's been six months, how close are you to your goal? Have you done a qemu/vbox/vmware comparison? Is there one in particular that has a feature you need which is not available in the others?
I need usb-support for some devices that isn't supported by Linux. That is possible with standard (non OSE) Virtualbox.
Quote
Qemu: Already exists in 3.x. The easiest route.
A gui would be nice  ;)
Title: Re: software wanted: vmware player and/or virtualbox
Post by: danielibarnes on October 04, 2010, 01:43:13 PM
Quote
I need usb-support for some devices that isn't supported by Linux. That is possible with standard (non OSE) Virtualbox.
You can do this in Qemu: Using a USB device in QEMU (http://alien.slackbook.org/dokuwiki/doku.php?id=slackware:qemu#using_an_usb_device_in_qemu). I don't know if the release provided by the extension includes this feature, though. If not, you can use USB Server for Linux (http://usb-server.com/downloads.html). Alternatively, VMware Server supports this natively.

Quote
Quote
Qemu: Already exists in 3.x. The easiest route.
A gui would be nice  ;)

The QEMU wiki has some info on GUI front ends (http://wiki.qemu.org/Links). These would make good extensions.
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Arslan S. on October 05, 2010, 02:57:27 AM
what is the problem here preventing virtualbox to be in tc 3.x repo

is the previous maintainer (Kingdomcome) left or does not want to do it anymore ?

if so i want to take care of virtualbox for tc 3.x or if Kingdomcome is still in the loop can you say smth here please ?
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Arslan S. on October 07, 2010, 01:41:52 PM
i have good news and bad news
good news is virtualbox for tc 3.x is compiled
bad news is there is a problem with guest addition vboxvideo xorg module, X server crashes with segmentation fault

xorg log is attached to this post
Title: Re: software wanted: vmware player and/or virtualbox
Post by: dWLkR on October 15, 2010, 02:52:03 AM
thank you very much for your updates!

since i am not a linux specialist - and honestly i am not willing to follow a 4-5 page compiling and stuff tutorial - for me it would just be REALLY, REALLY nice to see virtualbox OSE in the repository -> click'n'forget! :)

any? :D
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Arslan S. on October 15, 2010, 07:04:58 AM
Virtualbox host is working good but the problem is with guest addition xorg video driver
Title: Re: software wanted: vmware player and/or virtualbox
Post by: maro on October 15, 2010, 02:26:00 PM
Arslan, have you noticed that VBox v3.2.10 has come out a few days ago? Might me worth another attempt, as they've fixed stuff for the more recent X server, so maybe as a side effect the problem you ran into is resolved as well.
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Arslan S. on October 16, 2010, 07:28:29 AM
Arslan, have you noticed that VBox v3.2.10 has come out a few days ago? Might me worth another attempt, as they've fixed stuff for the more recent X server, so maybe as a side effect the problem you ran into is resolved as well.

yea i noticed new version i will try it as soon as possible and i will submit it even if the problem persists
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Ulysses_ on October 28, 2010, 06:29:08 AM
I'm becoming a big TC fan now that is looks like TC is probably one step from becoming the best host for virtualization. 

The lack of usb support in virtualbox is a bit of a pain that may not be soothed with usb server/client freeware, not because usb conversion is probably a little slow but because I don't know how to configure a TC firewall so internet access is only available from VM's.  Internet access from the host is not desirable because if possible infections, whereas from VM's you just dump the VM and the infection is destroyed.

Can someone help regarding a firewall in TC and how to make it allow networking just for the usb client/server freeware and nothing else?
Title: Re: software wanted: vmware player and/or virtualbox
Post by: curaga on October 28, 2010, 07:21:05 AM
Since the VMs run inside the host, it's by definition not possible to have no access from the host while being connected in the VMs.

Unless you're also running a normal desktop on the virtualization host, which is unadvisable, but iptables does allow rules based on user id. Thus one could block user tc's net access, while running the VMs as some other user.
Title: Re: software wanted: vmware player and/or virtualbox
Post by: danielibarnes on October 28, 2010, 07:39:57 AM
The free USB Redirector (http://usb-server.com/index.html) uses port 32032 (http://incentivespro.com/help/firewall.html) by default, but that can be changed.

Do you need instructions on basic firewall setup or just help with rules for the usb client? There are lots of examples and tutorials (https://help.ubuntu.com/community/IptablesHowTo) available.

The following rules should work (assuming a default DROP policy):

iptables -A OUTPUT -p tcp --dport 32032 -j ACCEPT
iptables -A INPUT -p tcp --sport 32032 -j ACCEPT

This simply states that outgoing packets headed for TCP port 32032 and incoming packets coming from port 32032 are allowed.
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Ulysses_ on October 28, 2010, 09:50:36 AM
I'm trying to do the equivalent of what is possible with vmware on a windows host.  Comodo firewall is set to "Block All" but vmware bridged networking bypasses this firewall and lets VM's see the internet.  Luckily there is full usb support in vmware, so that's the end of it.  But if that usb client/server freeware was necessary, a firewall setup would be required to allow the usb client/server interface locally but block everything else on the host.

Hopefully virtualbox has the equivalent of vmware bridged networking to bypass the firewall and usb redirector is not too complex in the required iptables settings.

Anyone has virtualbox up and running?  What happens if iptables is set to block all and the guest network card to "bridged"?
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Ulysses_ on October 28, 2010, 09:59:15 AM
Do you need instructions on basic firewall setup or just help with rules for the usb client? There are lots of examples and tutorials (https://help.ubuntu.com/community/IptablesHowTo) available.

Rules for the usb client definitely.  Plus rules so VM's can see the internet but they can't see the host, if bridged networking does not bypass iptables.
Title: Re: software wanted: vmware player and/or virtualbox
Post by: danielibarnes on October 28, 2010, 10:22:17 AM
Go with a default deny, then, and just add rules like I showed for the usb client/server port for www, ssh, etc. as desired. If you want to exclude your local network subnet as a destination, you can do that as well:

iptables -A OUTPUT -p tcp --dport 32032 -d ! 192.168.250.0/24 -j ACCEPT
iptables -A INPUT -p tcp --sport 32032 -s ! 192.168.250.0/24 -j ACCEPT

excludes 192.168.250/24, for example. I haven't tested this, so let me know if it doesn't work for you.
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Ulysses_ on October 28, 2010, 10:36:04 AM
Alright.  Also, how serious is this:

there is a problem with guest addition vboxvideo xorg module, X server crashes with segmentation fault

Do I need that vboxvideo xorg module?  My guests are vectorlinux (based on slackware), mint (based on ubuntu) and freebsd.
Title: Re: software wanted: vmware player and/or virtualbox
Post by: maro on October 29, 2010, 12:28:35 AM
Do I need that vboxvideo xorg module?  My guests are vectorlinux (based on slackware), mint (based on ubuntu) and freebsd.

I'm using VBox quite a bit (with Linux as well as Windows guests) and very often don't use the guest additions (which include the video driver). You only "need" the Xorg driver of the GA if you depend on the "better video support" (as described here (http://www.virtualbox.org/manual/ch04.html)). If this special 'Xorg' driver is not found, the 'Xorg' X server should fall back to a "standard" one like VESA, with limits to the default guest screen resolution (e.g. 800x600 in default confless mode).

Linux guests (like TC) that use 'Xvesa' as their (default) X server don't need it either. They would not make use of it anyway, and I'm quite happy with the results (e.g. better choices of supported screen resolutions).

Now, AFAIK the quote from Arslan was for his attempt then (possibly trying with 'v3.2.8'). He has since produced a 'virtualbox-ose-additions.tcz' based on v3.2.10. Furthermore, I hope you are realizing that the GA are specific to the guest OS (!!). That means you would use this TC extension if you want to run TC in a VBox VM, you don't use it if you want to run VBox on a TC host system. For your other guest OS you'll have to get the GA from those (or you compile it yourself, as this is anyway the approach suggested by Oracle).
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Arslan S. on October 29, 2010, 02:46:23 AM
yea as maro explained in previous post virtualbox is ok when tc is the host but there is a problem with xorg driver when you run tc as a guest (for example under windows xp)

but you can safely use guest additions with vesa driver but in this case you won't get full screen or any kind of graphics acceleration

note: there is a sample xorg.conf inside guest additions extension

if you are running virtualbox as tc being the host and slackware the guest operating system then you need guest additions from slackware package repository
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Ulysses_ on October 29, 2010, 08:07:04 AM
Looks like that crash with TC as a guest is still there if you need large resolutions and decent video rendering.  I was going to use TC as a guest too.  But it's too early for that it seems.

In certain other guests there is also 3d acceleration with virtualbox that is disabled by default because it has security holes.  Does it work with TC as the host?

If it works, how does it compare with vmware 3d acceleration with TC as a host?

If virtualbox beats vmware, can the same installations of operating systems I have in vmware be used with virtualbox or must they all be re-installed?
Title: Re: software wanted: vmware player and/or virtualbox
Post by: dWLkR on November 12, 2010, 05:20:04 AM
Looks like that crash with TC as a guest is still there if you need large resolutions and decent video rendering.  I was going to use TC as a guest too.  But it's too early for that it seems.

In certain other guests there is also 3d acceleration with virtualbox that is disabled by default because it has security holes.  Does it work with TC as the host?

If it works, how does it compare with vmware 3d acceleration with TC as a host?

If virtualbox beats vmware, can the same installations of operating systems I have in vmware be used with virtualbox or must they all be re-installed?
vmware is using different emulated hardware - in the past when moving vmware XP guests to vbox or vice versa - it often reads: "xp needs to be activated" or sth. like that... so unless you are using ms volume licenses - you are surely going to experience some difficulties... :/

anyways... PLEASE consider, that this thread is not meant to be misused for discussing VM-guests or even worse: TCL as a VM-guest...

THIS thread is all about: how can TCL become the best "baremetal"-host-OS for kicking of VMs via using: vbox OSE?!

so please, developers: could you create a small package for this task - so I can enjoy TCL for kicking of my VMs?

thank you very much in advance! :>
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Ulysses_ on November 12, 2010, 11:31:16 AM
I'm not sure I understand you, but in any case check out our recent efforts with vmware on a TC host:

http://forum.tinycorelinux.net/index.php?topic=7652.msg41485#msg41485

Myself I would rather stick with vmware because:

1. no USB complications at all
2. if vbox crashes TC VMs under certain circumstances, it may crash other linux VMs too
3. reputedly the best virtual display drivers of any virtualization product complete with mature 3d acceleration
4. already a vmware user here so no VM conversion issues

If you want VM's for enchanced security in internet-facing tasks like some of us do, windows is not recommended because there are too many security issues and M$ can stick their activation where the sun doesn't shine.  On the other hand windows in a disposable VM is still better than exposing the host to the internet.
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Kingdomcome on November 27, 2010, 12:39:32 PM
Hi VBox fans, I apologize that I have not been able to reply before now.  Im glad that someone was willing to continue working on the daunting VBox extensions after I lost my internet access (thank you Arslan).  I too encountered the the problem with the xorg driver and I believe it is a bug in the VBox code, because old versions (2.x) of VBox will compile and run completely normal on TC 3.x.

Kingdomcome
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Arslan S. on November 27, 2010, 01:20:09 PM
Hi VBox fans, I apologize that I have not been able to reply before now.  Im glad that someone was willing to continue working on the daunting VBox extensions after I lost my internet access (thank you Arslan).  I too encountered the the problem with the xorg driver and I believe it is a bug in the VBox code, because old versions (2.x) of VBox will compile and run completely normal on TC 3.x.

Kingdomcome

no problem and welcome back,

i also referenced arch linux vbox, and your build script in tc 2.x repository, for the Xorg problem i did try everything i can with no luck before i gave up
Title: Re: software wanted: vmware player and/or virtualbox
Post by: dWLkR on December 03, 2010, 04:32:07 AM
hi guys!

what is the status?

tia!
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Arslan S. on December 07, 2010, 01:30:44 AM
hi guys!

what is the status?

tia!

if you are asking for guest additions the status is same, Xorg driver does not work
Title: Re: software wanted: vmware player and/or virtualbox
Post by: maro on December 08, 2010, 04:41:29 PM
BTW, VBox v3.2.12 is out (since about a week). The changelog (http://www.virtualbox.org/wiki/Changelog) mentiones one fixed item (i.e. "Linux Additions: properly compile the vboxvideo module if DKMS is not installed") which might play a role, but I would not really know what's wrong with the GA.

OTOH, VBox is now starting with beta1 for v4.0, so I guess in the not too distant future there might be a different challenge (or an improvement) coming up ...
Title: Re: software wanted: vmware player and/or virtualbox
Post by: maro on January 03, 2011, 04:06:42 PM
I'm sorry that I did not post this earlier, but as I just reported (http://forum.tinycorelinux.net/index.php?topic=8284.msg44716#msg44716) I've discovered a potential work-around for the failing 'Xorg' when using the VBox additions: Just replace the 'waitforX' in '~/.xsession' with a suitable 'sleep ...' command (e.g. 'sleep 2').

I believe there are still some further issues with the VBox additions, e.g. the mouse integration does not seem to work quite right, but as I'm already on record not to be using the VBox additions on a regular basis I'm unlikely to track this one any further.

OTOH as VBox 4.0 is now out the question really is whether it makes sense to get to the bottom of issues with a now slightly older VBox version (i.e. 3.2.12).
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Arslan S. on January 04, 2011, 12:32:09 AM
i have vbox 4.0 compiled but there are some issues with it, it is quite unstable
see arch linux virtualbox-ose they moved it to unsupported area after v4.0

i can't even start a virtual pc with v4.0
Title: Re: software wanted: vmware player and/or virtualbox
Post by: dWLkR on January 25, 2011, 03:46:29 AM
so ehr...

there is still no click'n'play-install-script for vbox-OSE on TCL 3.x - yeah?! :/
Title: Re: software wanted: vmware player and/or virtualbox
Post by: jls on January 25, 2011, 11:56:18 AM
it's click and play
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Arslan S. on February 04, 2011, 12:28:44 PM
virtualbox-ose 4.0.2 is now available in repo
Title: Re: software wanted: vmware player and/or virtualbox
Post by: uggla on February 05, 2011, 12:51:42 AM
virtualbox-ose 4.0.2 is now available in repo

Does it work on 64bit?
Title: Re: software wanted: vmware player and/or virtualbox
Post by: curaga on February 05, 2011, 01:12:47 AM
Does it work on 64bit?

I should note that Qemu/KVM does work on MC64.
Title: Re: software wanted: vmware player and/or virtualbox
Post by: uggla on February 05, 2011, 01:20:12 AM
Does it work on 64bit?

I should note that Qemu/KVM does work on MC64.

But there is still no gui available in the repo.
Title: Re: software wanted: vmware player and/or virtualbox
Post by: jls on February 05, 2011, 02:34:24 AM
vbox in the repo has usb support, a little buggy, though
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Arslan S. on February 05, 2011, 04:38:24 AM
i didn't test vbox on 64 bit tc so far but kernel modules must be compiled first
Title: Re: software wanted: vmware player and/or virtualbox
Post by: uggla on February 05, 2011, 01:21:49 PM
The new version works fine until I start Opera then it wont start any machines until reboot.
Title: Re: software wanted: vmware player and/or virtualbox
Post by: dWLkR on April 04, 2011, 11:02:46 PM
hi!

do we have any news on this topic?

btw @ mods/admins: this thread is misplaced: not: "tiny core on virtual machines" - but: "virtual machines ON tiny core"...

to put it in a nutshell:
it would be nice if virtualbox (OSE) could be installed on TCL - because TCL could be some kind of baremetal kickoff-plattform for VMs... due to the fact that TCL is really small and has a small overall footprint including great hardware compatibility...
Title: Re: software wanted: vmware player and/or virtualbox
Post by: Arslan S. on April 05, 2011, 04:51:37 AM
it would be nice if virtualbox (OSE) could be installed on TCL

Code: [Select]
tce-load -wi virtualbox-ose
Title: Re: software wanted: vmware player and/or virtualbox
Post by: dWLkR on April 06, 2011, 07:39:36 AM
holy crap! it works!

thank you arslan!