Page 1 of 4

VirtualBox 3.1 for kernel 2.6.30.5 (puppy 4.3)

Posted: Mon 28 Sep 2009, 07:52
by gray
I have made a pet of virtualbox 3.1 for puppy 4.3

http://www.puppylinux.asia/tpp/NOP/virt ... 6.30.5.pet

Note that Vbox needs libSDL installed as well as Qt and now OpenGL (xorg_xorg_dri-7.3-1.pet)

I have not included the VirtualBoxGuestAdditions.iso in this pet so that it does not take up space in the pup_save file. It is available separately at the same site.

http://www.puppylinux.asia/tpp/NOP/Vbox ... onsIso.tgz

To use guest additions just unarchive the file and place the iso out of the puppy directory structure and either use it by mounting the iso onto your virtual machine or create a symlink of the iso in /opt/VirtualBox/additions and use the virtualbox Devices menu. The Guest additions Iso is mainly for windows guest OS on a linux host. For puppy guest OS on windows host use the following pet package in the guest puppy OS:

http://www.puppylinux.asia/tpp/NOP/virt ... 6.30.5.pet

You will need to restart your computer / virtual machine after installing the pet(s).

edit 11 Oct 2009 : Updated to Vbox 3.0.8
attached SDL pet, md5sum : 440b57ebebcd8f6883ea2279472a3b6c

edit 5 Nov 2009 : Updated to Vbox 3.0.10

edit 29 Nov 2009 : Updated to Vbox 3.0.12

edit 6 Dec 2009: Updated to Vbox 3.1
.

Error Running vbox

Posted: Tue 29 Sep 2009, 17:39
by SteveMuise
When I click the link the Menu bar - nothing happens. So i went to a terminal and tried to start only to get the following error.

VirtualBox: supR3HardenedVerifyDir: Cannot tr4ust the directory "/opt/VirtualBox" : group and/or other writable (st_mode-40777)

I am fairly new to Linux, but I have Googled this error and haven't really come up with anything. the VBox Forums don't have anything listed either.

I installed the qt4-4.3.2 and the sdl-1.2.11 and tried with the above error. I went online and found what looks like an updated sdl library the Sdl-1.2.13-Muppy0084 so I installed that and tried again with the same error.

I have uninstalled and rebooted and reinstalled and rebooted several times - all to the same error.

Any hints?

Thanks

Steve

Solved VBox 3.06 Installation Issue

Posted: Tue 29 Sep 2009, 19:29
by SteveMuise
I finally remembered that VirtualBox is OS. So I went and found the source code and some very nice programmer put in a comment where the permissions were checked. Making sure that the VirtualBox folder WAS ONLY writable by the Owner (i.e. root). So i went back and removed the w permissions for everyone else and sure enough - bang it works.

HTH

install virtualbox 3.08 in puppy 4.3

Posted: Tue 06 Oct 2009, 18:48
by timothyli
This is how I install and setup VirtualBox 3.0.8 in Puppy 4.3. I hope someone might find this useful.

1. Have devx_430.sfs and kernel_src-2.6.30-5-patched.sfs4.sf loaded at boot time.

2. Download the lastest version of SDL and install it (./configure && make && make install from a terminal)

http://www.libsdl.org/release/SDL-1.2.13.tar.gz

3.Download the "All distributions" version of VirtualBox 3.0.8. Click it to run it.

http://download.virtualbox.org/virtualb ... ux_x86.run

4. From a terminal, create a user called vboxusers
adduser -D -H vboxusers
5. Create a VirtualBox desktop icon by dragging the /opt/VirtualBox/VirtualBox program to the desktop. Right click it to set up icon image using /opt/VirtualBox/VBox.png

6. Reboot. /etc/rc.d/rc.vboxdrv should start automatically at each boot.

7. Click the VirtualBox icon to run VirtualBox.

8. (suggested) Under "Preferences", set the VDI folder to point to physical hard disk /mnt/home to allow more disk space for the larger vdi files.

Posted: Thu 08 Oct 2009, 14:57
by myogaeba
Hello,

i can't find anywhere dev_430.sfs and kernel_src-2.6.30-5-patched.sfs4.sfs ?

Will it be possible to make an sfs file of VirtualBox 3.0.8 ?

Thanks.

virtualbox 3.0.8 installation

Posted: Sat 10 Oct 2009, 03:46
by timothyli
It's here.

http://puppylinux.com/sources/kernel-2.6.30.5/

Sorry, I don't know how to make sfs.

I also install xorg_xorg_dri-7.3-1.pet using the Puppy Package Manager to allow 3D graphics support in VirtualBox 3.0.8.

Posted: Sat 10 Oct 2009, 11:58
by myogaeba
Hi ,

Thanks for the kernel sources but sorry again i don't find "dev_430.sfs" too ?

Thanks.

virtualbox 3.0.8

Posted: Sun 11 Oct 2009, 00:05
by timothyli

Posted: Sun 11 Oct 2009, 00:37
by daftdog
already answered

Posted: Sun 11 Oct 2009, 00:43
by panzerpuppy
VirtualBox 3.0.8 is out and brings lots of bugfixes.

Posted: Sun 11 Oct 2009, 08:38
by myogaeba
Thanks for the sfs files.

When i installed the latest SDL all the libs are copied in /usr/local/lib.

Then when i started virtualbox it didn't find SDL so i copied them in /usr/lib :
cp /usr/local/lib/libSDL* /usr/lib/
And it works great.

Thanks for all.

Bye

Updated

Posted: Sun 11 Oct 2009, 11:04
by gray
Updated package to VirtualBox 3.0.8

(see main post)

one dot too much...

Posted: Sun 11 Oct 2009, 20:10
by yrufset
you got one dot too much in your link:
http://www.puppylinux.asia/tpp/NOP/virtualbox-3.[b].[/b]0.8_k2.6.30.5.pet
it should be:
http://www.puppylinux.asia/tpp/NOP/virt ... 6.30.5.pet

Thank you for the link though :D

Posted: Mon 12 Oct 2009, 02:29
by fyujj
Hello.
I have a normal Puppy 4.3 frugal install (2.6.30). How can I install libSDL and qt?

Oh, thank you for the nVidia driver!

virtualbox 3.0.8 libsdl

Posted: Mon 12 Oct 2009, 02:38
by timothyli
You can install libsdl-1.2.9.pet from the Puppy Package Manager. It works with VirtualBox 3.0.8.

I found that starting with Puppy 4.3, installing qt is not needed. May be it is already included in base Puppy 4.3.

Posted: Mon 12 Oct 2009, 12:06
by fyujj
Thanks, tim! I'm not in Puppy now but I'll check it.

Edit - oh, my...there's an SDL .pet attached to the first post (facepalm dramatising).

Posted: Mon 12 Oct 2009, 13:46
by MatthewBrian
I have mounted the devx and kernel source, and VirtualBox has successfully installed. But when I want to run a virtual OS (Win XP in this case), an error comes:

Code: Select all

Failed to open a session for the virtual machine Windows XP.
Virtual machine 'Windows XP' has terminated unexpectedly during startup.

> Details
Result Code: 
NS_ERROR_FAILURE (0x80004005)
Component: 
Machine
Interface: 
IMachine {540dcfda-3df2-49c6-88fa-033a28c2ff85}
Then a dialog box appears whth the title "Error in suplibOsinit". The content of the window :

Code: Select all

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Re-setup the kernel module by executing

'/etc/init.d/vboxdrv setup'

as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
What should I do with that error?

Thank you.


EDIT: Actually in /etc/init.d there are NO vboxdrv file there.

Vbox

Posted: Tue 13 Oct 2009, 10:14
by gray
The file in this pet is actually /etc/rc.d/rc.vboxdrv
It is started by the rc.local script in /etc/rc.d
make sure the rc.local script has the line
/etc/rc.d/rc.vboxdrv start

to activate the virtualbox driver at boot up.

Posted: Tue 13 Oct 2009, 12:11
by MatthewBrian
Thanks.

But, when I start the command, it gives me an error.

Code: Select all

# /etc/rc.d/rc.vboxdrv start
Starting VirtualBox kernel module ...failed!
  (modprobe vboxdrv failed. Please use 'dmesg' to find out why"

# dmesg
..... [a lot of lines] ....
vboxdrv: disagrees about versions of symbol struct_module
vboxdrv: disagrees about versions of symbol struct_module
What happen with that? I can't understand what does it mean.

Posted: Mon 19 Oct 2009, 10:53
by Lobster
I got it working 8)
and I have a 32bit and 64bit area
when I mount the recommended ISO file
m m m :oops: now what?
Ideally I would like to boot another Puppy from a virtual box
How? (question as well as greeting) :)