Quelle1)

So lets install the brand new virtualbox package for Hardy Heron…

Lets Install the essential build utilities so the vbox kernel module builds.

sudo apt-get install build-essential linux-headers-`uname -r`

Install i386 VirtualBox without repository:

wget http://www.virtualbox.org/download/1.5.6/virtualbox_1.5.6-28266_Ubuntu_hardy_i386.deb ; sudo dpkg -i virtualbox_1.5.6-28266_Ubuntu_hardy_i386.deb

Install amd64 Virtualbox without repository:

wget http://www.virtualbox.org/download/1.5.6/virtualbox_1.5.6-28266_Ubuntu_hardy_amd64.deb ; sudo dpkg -i virtualbox_1.5.6-28266_Ubuntu_hardy_amd64.deb

Check Here for updated Virtualbox Packages since the repository isnt added yet

Alternate install with Gutsy repository as some people have suggested works fine, just copy/paste these exact commands into the terminal:

sudo sh -c 'echo "# VirtualBox repository for Ubuntu Gutsy
deb http://www.virtualbox.org/debian gutsy non-free" \
 > /etc/apt/sources.list.d/gutsy-virtualbox.list'
wget http://www.virtualbox.org/debian/innotek.asc -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get -y install virtualbox

Now you Must add your self to the vboxusers group:

sudo adduser $USER vboxusers
Adding user `ionstorm' to group `vboxusers' ...
Adding user ionstorm to group vboxusers
Done.

Setup VirtualBox USB Support:

USB is disabled by default, so you'll probably want to enable it. Otherwise you'll get an error when you go into the „Settings“ of your virtual machine. To correct this, you'll need to edit the mountdevsubfs.sh file:

sudo gedit /etc/init.d/mountdevsubfs.sh
You'll see a block of code that looks like this:
#
# 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
Now uncomment the last 4 lines above to look like this:
#
# 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

Ok now logoff, then log back in so the vbox driver see's you are logged in to the vboxusers group.

If the above doesnt work try rebooting, if that doesnt enable usb you can try this:

Grab the vboxusers group id:

grep vbox /etc/group
vboxusers:x:124:ionstorm

Edit the fstab with the group id # in bold:

sudo gedit /etc/fstab

Append this to the fstab then save/exit:

## usbfs is the USB group in fstab file:
none /proc/bus/usb usbfs devgid=124,devmode=664 0 0

Now lets edit the mountkernfs.sh file with the gid in bold:

sudo gedit /etc/init.d/mountkernfs.sh

Paste the 2 lines below above the line:

„# Mount spufs, if Cell Broadband processor is detected“

## Mount the usbfs for use with Virtual Box
domount usbfs usbdevfs /proc/bus/usb -onoexec,nosuid,nodev,devgid=124,devmode=664

You may not need to reboot, try doing:

sudo /etc/init.d/mountkernfs.sh

If not, reboot, and virtualbox should detect your usb devices!

You can follow my directions here to learn how to integrate Windows XP into your desktop!

 
Nach oben
virtualbox/1.6.txt · Zuletzt geändert: 2024/02/29 13:36 von 127.0.0.1
chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0
DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp   Dogecoin Donations Accepted Here    DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp  DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp