VirtualBox 3.1 for kernel 2.6.30.5 (puppy 4.3)

Virtual machines, emulation, etc.
Message
Author
User avatar
gray
Posts: 316
Joined: Fri 23 Feb 2007, 22:42
Location: Adelaide - South Australia

VirtualBox 3.1 for kernel 2.6.30.5 (puppy 4.3)

#1 Post 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
.
Last edited by gray on Mon 14 Dec 2009, 04:10, edited 6 times in total.

SteveMuise
Posts: 4
Joined: Tue 29 Sep 2009, 16:41

Error Running vbox

#2 Post 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

SteveMuise
Posts: 4
Joined: Tue 29 Sep 2009, 16:41

Solved VBox 3.06 Installation Issue

#3 Post 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

timothyli
Posts: 65
Joined: Sun 22 Jun 2008, 07:44
Location: Toronto, Canada

install virtualbox 3.08 in puppy 4.3

#4 Post 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.
Last edited by timothyli on Sun 11 Oct 2009, 00:08, edited 1 time in total.

myogaeba
Posts: 20
Joined: Sat 11 Apr 2009, 12:32

#5 Post 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.

timothyli
Posts: 65
Joined: Sun 22 Jun 2008, 07:44
Location: Toronto, Canada

virtualbox 3.0.8 installation

#6 Post 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.

myogaeba
Posts: 20
Joined: Sat 11 Apr 2009, 12:32

#7 Post by myogaeba »

Hi ,

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

Thanks.

timothyli
Posts: 65
Joined: Sun 22 Jun 2008, 07:44
Location: Toronto, Canada

virtualbox 3.0.8

#8 Post by timothyli »


User avatar
daftdog
Posts: 120
Joined: Thu 22 Jun 2006, 00:47
Location: Western Australia

#9 Post by daftdog »

already answered
"We are monkeys with money and guns." Tom Waits

panzerpuppy
Posts: 632
Joined: Tue 02 Oct 2007, 07:39

#10 Post by panzerpuppy »

VirtualBox 3.0.8 is out and brings lots of bugfixes.

myogaeba
Posts: 20
Joined: Sat 11 Apr 2009, 12:32

#11 Post 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

User avatar
gray
Posts: 316
Joined: Fri 23 Feb 2007, 22:42
Location: Adelaide - South Australia

Updated

#12 Post by gray »

Updated package to VirtualBox 3.0.8

(see main post)

yrufset
Posts: 2
Joined: Sun 11 Oct 2009, 19:59

one dot too much...

#13 Post 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

fyujj
Posts: 102
Joined: Sat 04 Apr 2009, 17:40

#14 Post 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!

timothyli
Posts: 65
Joined: Sun 22 Jun 2008, 07:44
Location: Toronto, Canada

virtualbox 3.0.8 libsdl

#15 Post 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.

fyujj
Posts: 102
Joined: Sat 04 Apr 2009, 17:40

#16 Post 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).

MatthewBrian
Posts: 24
Joined: Wed 30 Sep 2009, 11:16

#17 Post 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.

User avatar
gray
Posts: 316
Joined: Fri 23 Feb 2007, 22:42
Location: Adelaide - South Australia

Vbox

#18 Post 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.

MatthewBrian
Posts: 24
Joined: Wed 30 Sep 2009, 11:16

#19 Post 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.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#20 Post 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) :)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

Post Reply