Package Search
 
Members: 353 | Topics: 767 | Posts: 3211
We welcome our newest member: ClintBarton
Info
» You aren't logged in, login or registerOnline: No members and 15 guests | Time: 22:11
Virtual Box Personal Use version
paldo Support Forum    Upkg    General Discussion
Reply Reply   Subscribe Topic Subscribe Topic
Has anybody built Virtualbox 1.6 PUEL version?
7 posts found.
 Virtual Box Personal Use version
Junior Mitglied
 
 
 
Posts: 3
Registered: 2008-05-13
I need to have USB support in my virtualbox Windows machine. Has anybody built Virtual Box 1.6 Personal Use and Evaluation Licence version successfully?
Profile   Private Message
Created: 2008-06-03 04:35
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Virtual Box Personal Use version
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
1.6 OSE is in the unstable branch right now.

Dirty-Trick (Use RPM):

I've you want to install the normal version, download the RPM for openSUSE
(VirtualBox-1.6.0_30421_openSUSE103-1.i586.rpm) and extract it to the root-folder. You've still to install the kernel-module.
Profile   Private Message   E-Mail
Created: 2008-06-03 20:33
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Virtual Box Personal Use version
Junior Mitglied
 
 
 
Posts: 3
Registered: 2008-05-13
Thanks, but I've never used an RPM based distribution for anything more that live cd testing to see if I liked any (I definitely did not) so I don't know what it means to extract an RPM.
One more thing...Ive only ever installed Virtualbox on debian before so I only know how to build the VirtualBox kernel modules that way. Do I just install the vboxdrx with upkg?

I will try downloading it and seeing if I can figure it out, but I'm not too confident I will get it without a little boost.
Profile   Private Message
Created: 2008-06-03 20:46
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Virtual Box Personal Use version
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
RPM is a archive like all others. You can extract it to a folder and see what files are in it. Well it is build for openSUSE and not for paldo. The kernel-module is build like written in the xml. Here is the part of the cmds we are using to build it for paldo:

Code[In neuem Fenster öffnen]
<release version="1.6.0" revision="1" tag="$LINUX_VERSION" branch="unstable">
<settings>
<keep>yes</keep>
</settings>
<deps>
<dep name="linux-2.6" tag="$LINUX_VERSION"/>
</deps>

<build>
<script>
<archive name="vboxdrv-$VERSION-for-linux.2.6.25" strip="2">
<cmd>sed -i -e 's%depmod -ae%depmod -ae $TAG%' Makefile</cmd>
<cmd>make KERN_DIR=/lib/modules/$TAG/build MODULE_DIR=/lib/modules/$TAG/misc</cmd>
<cmd>make KERN_DIR=/lib/modules/$TAG/build MODULE_DIR=/lib/modules/$TAG/misc install</cmd>
</archive>

</script>
</build>
</release>
Profile   Private Message   E-Mail
Created: 2008-06-03 20:56 | Modified: 2008-06-03 22:18 by Amnon82
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Virtual Box Personal Use version
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
Its better to use: VirtualBox-1.6.0-Linux_x86.run. Still searching for vboxdrv-1.6.0. there is no seperate tar.bz2.
Profile   Private Message   E-Mail
Created: 2008-06-03 21:44 | Modified: 2008-06-03 22:17 by Amnon82
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Virtual Box Personal Use version
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
Since there is no seperate tar.bz2 for vboxdrv I extracted it from the persional edition:

vboxdr-1.6.0.tar.bz2.

Here is the build instructions for the kernel-module of the OSE-Edition:

Complete instructions

You can run VirtualBox directly from the build target directory (out/linux.x86/release/bin/). But first of all, you must build and install the VirtualBox kernel module, whose sources will have been copied to the build target directory.

So, issue the following:

Code[In neuem Fenster öffnen]
cd out/linux.x86/release/bin/src
make
sudo make install
cd ..


Then it should have been installed to your modules directory and you can load it using modprobe vboxdrv. Make sure you give yourself read and write access to /dev/vboxdrv.

Finally, you can start one of the frontends, e.g.

Code[In neuem Fenster öffnen]
LD_LIBRARY_PATH=. ./VirtualBox


Note that the LD_LIBRARY_PATH=. is required because we have to find our .so files and the output directory is not in the system's library path.
Profile   Private Message   E-Mail
Created: 2008-06-03 22:07 | Modified: 2008-06-03 22:10 by Amnon82
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Virtual Box Personal Use version
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
I updated now to the latest version 1.6.2 and found a way to make the vboxdrv-files out of the big tarball. You can read it out of the new spec.

The patch changed the export_modules-script a little so we can build the kernel-module.

Code[In neuem Fenster öffnen]
<patch name="VirtualBox-$VERSION-export_modules-1"/>
<cmd>cd src/VBox/HostDrivers/Support/linux</cmd>
<cmd>sh ./export_modules</cmd>

<cmd>cd vbox_modules/vboxdrv</cmd>
<cmd>sed -i -e 's%depmod -ae%depmod -ae $TAG%' Makefile</cmd>
<cmd>make KERN_DIR=/lib/modules/$TAG/build MODULE_DIR=/lib/modules/$TAG/misc</cmd>
<cmd>make KERN_DIR=/lib/modules/$TAG/build MODULE_DIR=/lib/modules/$TAG/misc install</cmd>
Profile   Private Message   E-Mail
Created: 2008-06-06 18:49
Highlight selected Text   Edit   Delete   Quote Reply
Subscribe Topic Subscribe Topic
powered by bitron board 1.23a