VirtualBox 2.1 PUEL on Slackware 12.2
I had some problems installing VirtualBox 2.1 PUEL (not OSE) on Slackware 12.2. This is what worked for me (this applies to a system upgraded to 12.2 from 12.1 using the official instructions):
I downloaded VirtualBox PUEL from http://www.virtualbox.org/wiki/Linux_Downloads selecting "All distributions - i386". After installation (sh VirtualBox-2.1.0-41146-Linux_x86.run as root) VirtualBox would not start complaining about a missing libcap.so.1. For some reason the package libcap-2.14-i486-1.tgz was not installed on my machine during upgrade and I had to manually download it from a Slackware ftp mirror (look under l/). After installing the package the same complaint about missing libcap.so.1 appeared, so I made a symbolic link as follows (as root) cd /lib ln -s libcap.so.2.14 libcap.so.1 Everything works now. Gefst |
I have installed VirtualBox 2.1.0 yet, and applied your instructions but i have different problem now.
Quote:
|
try to run is a normal user.
|
Yes it works properly now. :)
Previous versions were requiring a bit work to install an OS on VirtualBox as USER. Now can i directly install an OS as user? |
I think you can install guest OSes as a normal user, as was the case in previous versions.
Glad I helped |
Quote:
|
I installed VBox 2.1.0 two days ago but in a different way. I first tried libcap2 as you did, and had the same error. I thought of the linking trick :) but didn't do it, fearing it could cause some problems. Instead, I found libcap1 from the Debian repository. The original package doesn't compile but there is also a patch there, with that patch applied it compiles nicely and you can run VBox. Here is the page:
http://packages.debian.org/source/stable/libcap |
Quote:
|
Just a pointer here: VirtualBox binaries are installed suid root, so they *always* run as root....
|
Cuetzpallin, you can read about the differences between the two editions here:
http://www.virtualbox.org/wiki/Editions Ilgar, how about a buildscript, with the patch? Perhaps you can submit it to slackbuilds.org for everyone. There is a buildscript for libcap1 for slackware 11 at slackbuilds.org but I don't see any patch. Perhaps you can expand this. http://slackbuilds.org/repository/11...raries/libcap/ Gefst |
Quote:
|
Quote:
|
I installed VB and made the link trick and it works :-D
My question now is how can I activate my USB ports in order to attach an Ipodtouch to my virtual OS. |
Usb in guest system
First off you need the guest additions, then you need to edit this line in /etc/rc.d/rc.S
Code:
/sbin/mount -v usbfs /proc/bus/usb -t usbfs Code:
/sbin/mount -v usbfs /proc/bus/usb -t usbfs -o devgid=10,devmode=0664 This is picked up from another thread here, which I can't find at the moment, so I cannot tell who's to credit. But it works well for me. Jan-C |
I received an IPod Touch for Christmas (2G so no linux for me yet) and set this up in my Windows VM in VirtualBox 2.1.
I made the libcap link as above, I changed rc.S as above, I'm already in the wheel group, and I set up a USB filter in VirtualBox. When the device is plugged in and before you boot up the virtual machine, go to Settings->USB, enable USB and USB 2.0. On the right, click the "Add filter from Device" button (second one down) and it should autodetect the USB settings right from the IPod and you can add that filter (if not see if you can grab what its asking for using the lsusb -v command in shell). If you do not set up this filter and go to upgrade/jailbreak your firmware you could potentially brick your ipod! It's unlikely but I wouldn't take that chance. As of today, there's no jailbreak for the 2G Ipod touch so it's important to seriously do your research on that before doing so. This might not apply to you but I feel obligated to mention it for others who might read this thread. It is too excellent of a device to brick despite the fact it is a prisoner in its own hardware with absolutely zero linux compatibility. Zero unless you have a USB-functional windows/mac virtual machine or physical host... and this method works beautifully in Slackware. |
All times are GMT -5. The time now is 01:25 PM. |