how to install additions ?

Discussions about using Linux guests in VirtualBox.
whatsup
Posts: 26
Joined: 31. Jul 2009, 16:52
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: Windows XP

how to install additions ?

Post by whatsup »

hay all.
I just finished installing ubuntu9 on vbox, but when trying to install addons,
i get a message that i need admin access.
can you help me that ?
thanks in advanced
FrodoHobbits
Posts: 237
Joined: 18. Apr 2009, 08:20
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, QNX & Linux
Location: Radstock, UK

Re: how to install additions ?

Post by FrodoHobbits »

When you install Ubuntu you setup a user and password. Use this password and this should allow you to install the additions.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: how to install additions ?

Post by Sasquatch »

Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
whatsup
Posts: 26
Joined: 31. Jul 2009, 16:52
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: Windows XP

Re: how to install additions ?

Post by whatsup »

FrodoHobbits, thanks for your reply.
i'm a newb with linux, so i'll describe here what i did, hope you can help me

i did what you said in the linux install process,
after that i clicked on the vm menu, install additions
then i saw the CD install icon on ubuntu desktop
i clicked on it, and then a file manager was opened, and i saw some packeges in the cd.
i choose VBoxLinuxAdditions-x86.run, clicked on it,
and then i got a message how dow i want to run it,
i tried to run it in console mode, and without console mode
and in both cases i saw a message that i need admin rights and the window was closed.

so my question how to make it run with admin rights ?
i couldn't find a way to do that.
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: how to install additions ?

Post by stefan.becker »

This is not a VBOX Problem. Use "sudo" as prefix if you want get root under ubuntu.
whatsup
Posts: 26
Joined: 31. Jul 2009, 16:52
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: Windows XP

Re: how to install additions ?

Post by whatsup »

i know this is not a vbox problem, but it still related here, so i hoped to get some help.
i absolutly don't know what is this "sudo", as i already mentioned,i'm completely newb with ubuntu
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: how to install additions ?

Post by stefan.becker »

Use Google. Or post in an Ubuntu Forum.

This has nothing to do with VBOX. Its a guest usage problem.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: how to install additions ?

Post by Perryg »

@whatsup,
If you click the link Howto: Install Linux Guest Additions + Xorg config it tells you how to install the guest additions. You want the debian type since you are talking about Ubuntu.
sudo is just something you type to be able to install in root as a standard user (and use your password) such as:
sudo apt-get update or sudo apt-get upgrade which you will need to do before you install the extra packages to be able to install the guest additions.
whatsup
Posts: 26
Joined: 31. Jul 2009, 16:52
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: Windows XP

Re: how to install additions ?

Post by whatsup »

thank you perryg for your help.
i post a screen shot of what is going on here.
Untitled.jpg
Untitled.jpg (30.1 KiB) Viewed 3725 times
as you can see in the image, i don't have any place to write something,
also no debian
can you please give more details, step by step, what i should do to login with admin privilage ?
(remember i'm total newb with linux, the only thing i know about linux is that it is free)
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: how to install additions ?

Post by stefan.becker »

The answer is second times above. Use "su" or "sudo".
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: how to install additions ?

Post by Perryg »

Open a terminal windows and type the following lines one at a time

<comments between < > are instructional!
sudo -i <press enter> enter your password <press enter>

apt-get update <press enter>
apt-get upgrade <press enter>
apt-get install dkms build-essential linux-headers-generic <press enter>

reboot

open terminal again and type sudo -i <press enter>
Click on the device tab at the top left of the window and click install guest additions.

Now in terminal
cd /media <press enter>
find the right install for your version it should be VBoxGuestAdditions- (which ever fits) .run
just type the file name and <press enter>
reboot when done.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: how to install additions ?

Post by Sasquatch »

I've updated the howto to give a bit more understanding in how to obtain root privileges. Please check the first section of the howto again (after which you can follow the rest) and tell me if it helped compared to last time. In case you can't scroll back up, or read my signature, the howto is here: Howto: Install Linux Guest Additions + Xorg config.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
whatsup
Posts: 26
Joined: 31. Jul 2009, 16:52
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: Windows XP

Re: how to install additions ?

Post by whatsup »

thank you very much all.
your help helped me, and now i have a working linux with additions
the information i was missing is that i need to OPEN a TERMINAL,
and not trying install from the file manager GUI.

FrodoHobbits gave me this information, which solved my problem.
Open up Terminal
sudo mount /dev/scd0 /media/cdrom
It's now mounted on /media/cdrom

cd /media/cdrom

sudo sh ./VBoxLinuxAdditions-x86.run
This should start the installer and you will probably be asked for your password.
thank you very much Frodo
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: how to install additions ?

Post by Sasquatch »

Humm, it is noted in my howto, even where you can possibly find it. Can it be that it's too easy to miss?
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
iamalittlepepper
Posts: 16
Joined: 30. Nov 2010, 00:49
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.10

Re: how to install additions ?

Post by iamalittlepepper »

I think the script should tell people to check for prerequisites and check your post before proceeding. I think a lot of the issues that people are having on this forum is due to false positives that GA modules are compiled and installed correctly.
Sasquatch wrote:Humm, it is noted in my howto, even where you can possibly find it. Can it be that it's too easy to miss?
Post Reply