PDA

View Full Version : Virtualbox Guest Additions (again)


zabyss
May 17th, 2007, 02:29 PM
First, I have to apologize. I've been searching and there are several threads on this topic, but none are helping. I'm completely new to Linux and there is a learning curve. I already posted this on another thread (http://ubuntuforums.org/showthread.php?t=400205) but I didn't think it would get as much traffic. Essentially I'm having the same problem that the individual in this thread (http://ubuntuforums.org/showthread.php?t=402186).

I have a installed Ubuntu Studio 7.04 via Virtualbox on my Windows XP laptop. I'm stuck at the 1024x768 resolution which I find extremely counterproductive. This isn't 1995 after all... I need to install the guest additions, but I'm having trouble. I've got the .iso mounted, and it shows on the Ubuntu desktop. I can't open the files or get it running in any way. I tried the commands suggested in the aforementioned thread (http://ubuntuforums.org/showthread.php?t=402186) but to no avail. It keeps telling me it cannot open the file. I did once get it to prompt me for my password but it said the same thing, and now I can't get that even. I know I'm doing something wrong here because I don't know how Linux works. ](*,) I really kinda need this spelled out.

Can anyone give me a hand? I would really appreciate it!

bodhi.zazen
May 17th, 2007, 03:03 PM
First, I have to apologize. I've been searching and there are several threads on this topic, but none are helping. I'm completely new to Linux and there is a learning curve. I already posted this on another thread (http://ubuntuforums.org/showthread.php?t=400205) but I didn't think it would get as much traffic. Essentially I'm having the same problem that the individual in this thread (http://ubuntuforums.org/showthread.php?t=402186).

I have a installed Ubuntu Studio 7.04 via Virtualbox on my Windows XP laptop. I'm stuck at the 1024x768 resolution which I find extremely counterproductive. This isn't 1995 after all... I need to install the guest additions, but I'm having trouble. I've got the .iso mounted, and it shows on the Ubuntu desktop. I can't open the files or get it running in any way. I tried the commands suggested in the aforementioned thread (http://ubuntuforums.org/showthread.php?t=402186) but to no avail. It keeps telling me it cannot open the file. I did once get it to prompt me for my password but it said the same thing, and now I can't get that even. I know I'm doing something wrong here because I don't know how Linux works. ](*,) I really kinda need this spelled out.

Can anyone give me a hand? I would really appreciate it!

Yea, I had this problem as well.

I solved it by copying the contents of the iso to another location and running the script from there.

The way I did it was to copy the files to a usb drive and I mount and run the install from a USB device (it is much easier).

If the iso is mounted on the Ubutnu guest, copy the files to your home folder and run the install script from there.


mkdir ~/addons
cd addons
sudo cp /media/cdrom/* .
sudo chmod a+x VBoxLinuxAdditions.run
sudo sh VBoxLinuxAdditions.run all


Since you are on a windows host it might be a little harder to mount the iso.

You can install deamon tools or some such on windows, mount the iso on a virtual CD, and away you go.

One "advantage" of linux is you can mount the iso directly. To do this, copy the iso to a usb and mount it on Ubutnu. Like this :

http://doc.gwos.org/index.php/VirtualBox#Alternate_Method

zabyss
May 17th, 2007, 11:15 PM
Thanks very much. It started to work, but I am getting this after it starts to install:

VirtualBox 1.3.8 Guest Additions installation
Please install the build and header files for your current Linux kernel.
The current kernel version is 2.6.20-15-lowlatency
Problems were found which would prevent the Guest Additions from installing.
Please correct these problems and try again.

I donīt know what these problems might be...

bodhi.zazen
May 19th, 2007, 03:59 PM
Thanks very much. It started to work, but I am getting this after it starts to install:

VirtualBox 1.3.8 Guest Additions installation
Please install the build and header files for your current Linux kernel.
The current kernel version is 2.6.20-15-lowlatency
Problems were found which would prevent the Guest Additions from installing.
Please correct these problems and try again.

I donīt know what these problems might be...

LOL

You just need a little more stuff :)

Install the following on your Ubuntu Guest :

sudo aptitude install build-essential linux-headers-`uname -r`

The re-try the Additions, you should be fine :)

zabyss
May 20th, 2007, 12:24 PM
Ahhh I owe you one, everything works great. I can't thank you enough! :D


LOL

You just need a little more stuff :)

Install the following on your Ubuntu Guest :

sudo aptitude install build-essential kernel-header-`uname -r`

The re-try the Additions, you should be fine :)

BadSquishy
June 1st, 2007, 03:54 PM
Took me a minute to figure this one out. When I pasted the command above into my terminal I was getting an error in aptitude:
Couldn't find package whose name or description matched "kernel-headers-2.6.20-16-lowlatency"
I fired up aptitude's ncurses interface and poked around the "not installed" packages and found the correct package.

It turns out the package is not called "kernel-header" it is called "linux-headers". I think the command above needs to be modified to this:
sudo aptitude install build-essential linux-headers-`uname -r`

Helpfully Yours,

bodhi.zazen
June 1st, 2007, 04:14 PM
Fixed :)

kehan
June 4th, 2008, 07:05 AM
Thanks worked for me too - now I can get rid of parallels and vmware fusion