PDA

View Full Version : [all variants] Help : Input wanted for virtualization stickies


bodhi.zazen
October 29th, 2008, 02:50 PM
With the release of Intrepid, I would like to update the How to VMWare sticky and add one for VirtualBox and possibly one for KVM as well. (OpenVZ anyone ?)

Anyone wanting to help or offer suggestions, feel free to either post here or PM me (otherwise I will do my best with both 32 and 64 bit versions).

Please no flaming or "fan boys", each package has advantages and disadvantages

Dyffo
October 31st, 2008, 04:45 PM
Have just upgraded to 8.10 , have reinstalled V Box , I cannot for the life of me remember how to set up the USB ports, I might have a problem with Guest additions as well. From memory we had a sticky on this .

philetus
November 4th, 2008, 12:13 AM
This works for me

1. Go to System-Administration-Users&Groups, unlock the groups and go down to vbox users, click on it and add yourself.Remember the group: number (mine=125).
2. Do sudo gedit /etc/fstab and add the line:
none /proc/bus/usb usbfs devgid=XXX,devmode=664 0 0

being XXX the group ID of your user when you look under System-Administration-Users&Groups for the group vboxusers.

3. Enable USB
In a terminal type:
sudo gedit /etc/init.d/mountdevsubfs.sh

You need to look for this section:
#
# Magic to make /proc/bus/usb work
#
#mkdir -p /dev/bus/usb/.usbfs
#domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
#ln -s .usbfs/devices /dev/bus/usb/devices
#mount --rbind /dev/bus/usb /proc/bus/usb

And delete all the # shown, it should look exactly like this.

(I didn't have this section so I just added the following:

#Magic to make /proc/bus/usb work

mkdir -p /dev/bus/usb/.usbfs
domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount --rbind /dev/bus/usb /proc/bus/usb

4. In your virtual OS, see if you need to install the USB controller.

Dyffo
November 4th, 2008, 02:44 PM
All done - thanks - works fine

bodhi.zazen
November 4th, 2008, 02:49 PM
Just a (brief) update for the community.

I am working my way through some of the options.

I worked through qemu last night. It does not appear xen or openvz are available the in 8.10 (it appears xen will be DomainU only, ie guests not host). The openvz kernel is not yet in the intrepid repo.

That leaves Virtualbox and a tips section, ie USB devices and networking.

Once that is done I will consolidate all the stickies.

philetus
November 5th, 2008, 12:05 PM
You may have seen my post here:
http://ubuntuforums.org/showthread.php?t=971002

Which is similar to these:
http://forums.virtualbox.org/viewtopic.php?t=10744
http://forums.virtualbox.org/viewtopic.php?t=8563

I had a question mark in my virtual W2k device manager for a "PCI device",but I figured it was my PCIe vidio card, which you don't use in VB so I disabled it.

This morning, on a whim, I deleted it and now my problem is gone.
I will probably have to delete it again when I reboot the Virtual W2k, but that isn't very often if I'm not forced to.

bodhi.zazen
November 7th, 2008, 03:03 AM
OK, I got a start on a "Mega thread" and took down the other stickies.

I will finish when I can , then I will open the mega thread for comments and take this "suggestions" thread down as well.

Again, if anyone has any suggestions or would like to help please send me a PM.

If there is a link I overlooked, I apologize, please send me a PM and I will add it in.

bodhi.zazen
November 12th, 2008, 04:00 PM
OK, I am almost finished. Any final comments ? Suggestions ?

I have not received much in the way of offers to help, so, in the absence of team work you will be stuck with me, and all my biases, and mistakes. And I can only keep things just so up to date. I do not have an installation of windows XP for example, let alone Vista or OSX.

So please, anyone who has any suggestions, consider offering assistance.

Dyffo
November 14th, 2008, 10:13 AM
Sorry can't help. I have V.Box on 8.10 all working fine, am running X.P on V.Box.again all fine I did have an issue trying to record on the cd/dvd drive, this has been resolved by V.B. they confirm that the record facility is not yet available. I also have a problem in trying to set up network sharing of files and printers, this I also believe is not yet possible.If I can be of any help - which I doubt - just point me in the direction required.