SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2009-01-14 16:03:09

sewmyheadon
#! CrunchBanger
From: Gig Harbor, WA, USA
Registered: 2008-12-16
Posts: 169
Website

Installing VirtualBox Guest Additions in CrunchBang

Hi Folks,

I've got CrunchBang installed in VirtualBox on my desktop PC and had a little issue (me) installing the Guest Additions.  I saw another post mentioning the installation, but thought I'd post an easy how-to for those who may benefit.

There are different ways to go about Guest Additions installation, but here's a quick one:

  • Boot your CrunchBang machine in VirtualBox

  • Make sure you have installed the following packages: linux-headers-generic and build-essential. You can use the Synaptic Package Manager, or simply open a terminal and type sudo apt-get install linux-headers-generic build-essential

  • In VirtualBox, click Devices/Install Guest Additions - this will mount the virtual 'CD' image of the guest additions

  • Open a terminal and type sudo thunar - after entering your password, it will bring up the Thunar file manager with root/sudo access.

  • Browse to the VBOXADDITIONS_* virtual CD that should now be visible in the left column

  • Click (or double-click, depending on your settings) on the appropriate file.  For 32-bit CrunchBang, you'd currently use VBoxLinuxAdditions-x86.run

  • A terminal will open and begin the installation.  After it's complete it'll ask you to 'Press Return to close this window . . .'

  • Restart CrunchBang and you should be good to go.

You can, of course, install via terminal as well, but this may be a touch easier for those with terminal-phobia. smile

Hope this helps.

Last edited by sewmyheadon (2009-01-14 20:15:20)

Offline

Be excellent to each other!

#2 2009-01-14 16:53:24

schanall
#! CrunchBanger
From: Hamburg
Registered: 2008-12-20
Posts: 103

Re: Installing VirtualBox Guest Additions in CrunchBang

Hi,

I have tried this, but I'm coming from Germany so I have to use a different keyboard-layout. With the current VBGuestAddons you are not able to change the layout. There is a bug in the *.iso.  I have done this to fix the problem.

Now I cant write ä's and ü's big_smile

P.s Does anybody know the portable VirtualBox http://www.german-nlite.org/wbb/index.p … hreadID=28? This is great, I can use it on a usb-stick without installation, and now I have Linux at work. (I have to use XP at work). It's sad, because the page is written in german. But maybe somebody want's to try it.

Offline

#3 2009-01-14 17:51:23

corenominal
root
From: Lincoln, UK
Registered: 2008-11-20
Posts: 4,887
Website

Re: Installing VirtualBox Guest Additions in CrunchBang

Great tip, thank you sewmyheadon smile Would you consider adding this to the VirtualBox wiki page? The guest additions section is at the bottom and is still to be written. I am sure michaelramm would appreciate the collaboration. wink Thanks again for the informative guide.

Offline

#4 2009-01-14 18:21:08

sewmyheadon
#! CrunchBanger
From: Gig Harbor, WA, USA
Registered: 2008-12-16
Posts: 169
Website

Re: Installing VirtualBox Guest Additions in CrunchBang

Will do.  Registering now . . .

Offline

#5 2009-01-14 18:29:58

sewmyheadon
#! CrunchBanger
From: Gig Harbor, WA, USA
Registered: 2008-12-16
Posts: 169
Website

Re: Installing VirtualBox Guest Additions in CrunchBang

Instructions added to #! Wiki here:

http://crunchbanglinux.org/wiki/howto/v … _additions

Offline

#6 2009-01-14 18:40:06

corenominal
root
From: Lincoln, UK
Registered: 2008-11-20
Posts: 4,887
Website

Re: Installing VirtualBox Guest Additions in CrunchBang

Great job! Thank you for your contribution, it is really appreciated! smile

Offline

#7 2009-01-14 18:41:35

sewmyheadon
#! CrunchBanger
From: Gig Harbor, WA, USA
Registered: 2008-12-16
Posts: 169
Website

Re: Installing VirtualBox Guest Additions in CrunchBang

corenominal wrote:

Great job! Thank you for your contribution, it is really appreciated! smile

Thanks Philip, but there's no need to thank me. smile  I'm glad I can contribute something.

Thank you for CrunchBang!  Keep up the great work.

Offline

#8 2009-01-14 19:24:28

corenominal
root
From: Lincoln, UK
Registered: 2008-11-20
Posts: 4,887
Website

Re: Installing VirtualBox Guest Additions in CrunchBang

I hope you do not mind, but I have added another list item. I am not sure if you would like to add it to your original forum post?

  • 2. Make sure you have installed the following packages: linux-headers-generic build-essential

Offline

#9 2009-01-14 19:50:16

sewmyheadon
#! CrunchBanger
From: Gig Harbor, WA, USA
Registered: 2008-12-16
Posts: 169
Website

Re: Installing VirtualBox Guest Additions in CrunchBang

Hi Philip,

I saw the change and don't mind at all.  A few questions, though:

  • Does the requirement to have linux-headers-generic and build-essential apply to the host or guest machine?  The linux-headers-generic is installed on both for me.

  • Curiously, I don't have build-essential on either my Ubuntu Intrepid host or the CrunchBang guest - could this be because I installed VirtualBox from the Sun repos on this Intrepid machine?   

Offline

#10 2009-01-14 20:05:04

corenominal
root
From: Lincoln, UK
Registered: 2008-11-20
Posts: 4,887
Website

Re: Installing VirtualBox Guest Additions in CrunchBang

The packages are required on the guest machine. Having said that, build-essential is a metapackage and only the compiler is reported as being required -- I have always found build-essential the easiest method of installing it. wink

Regarding the linux-headers-generic package, I am not sure it is included with all CrunchBang variants, I think it is missing from the current "Lite" release. It will be included in the soon to arrive .02 release. Either way, better safe than sorry. smile

Offline

#11 2009-01-14 20:07:09

sewmyheadon
#! CrunchBanger
From: Gig Harbor, WA, USA
Registered: 2008-12-16
Posts: 169
Website

Re: Installing VirtualBox Guest Additions in CrunchBang

Got it, thanks for the clarification.  I've edited the original forum post. smile

Last edited by sewmyheadon (2009-01-14 20:13:53)

Offline

#12 2009-01-14 21:07:55

michaelramm
The Inquisitor
From: Northport, AL USA
Registered: 2008-11-30
Posts: 175
Website

Re: Installing VirtualBox Guest Additions in CrunchBang

corenominal wrote:

I am sure michaelramm would appreciate the collaboration. wink Thanks again for the informative guide.

Indeed, I would. I have not been able to get another vbox machine going last weekend (due the sudden death of a friend and funeral and such). I had it on the plate for the long (US) holiday weekend this weekend.

Drop it on th wiki and let it roll!

Michael


The 1-Man IT Department | Ubuntu User #16666 | Linux User #451972
My Social Nets: Identi.ca | twitter | friendfeed
Crunchbangin' and Loving Every Minute of IT!

Offline

#13 2009-01-14 21:13:01

sewmyheadon
#! CrunchBanger
From: Gig Harbor, WA, USA
Registered: 2008-12-16
Posts: 169
Website

Re: Installing VirtualBox Guest Additions in CrunchBang

Michael,

Sorry to hear about your friend. sad

We've put the VBox Guest Additions instructions in the wiki.  Let me know if you see any changes.

Offline

#14 2009-02-21 18:27:10

Toolz
#! Die Hard
From: Asia
Registered: 2009-02-02
Posts: 937

Re: Installing VirtualBox Guest Additions in CrunchBang

schanall wrote:

P.s Does anybody know the portable VirtualBox http://www.german-nlite.org/wbb/index.p … hreadID=28? This is great, I can use it on a usb-stick without installation, and now I have Linux at work.

This sounds great - can't wait to try.

Offline

#15 2009-02-24 22:38:20

Toolz
#! Die Hard
From: Asia
Registered: 2009-02-02
Posts: 937

Re: Installing VirtualBox Guest Additions in CrunchBang

When you've done this how do you check it was successful? Any icons to click on or programs you can run?

BTW shouldn't you change 'sudo thunar' to 'sudo pcmanfm' - as a base install will have the latter, not the former.

Offline

#16 2009-02-24 23:01:48

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 8,904

Re: Installing VirtualBox Guest Additions in CrunchBang

^ Better yet also change "sudo" to "gksudo". The latter is better suited for GUI apps.


Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

#17 2009-02-28 17:17:47

Toolz
#! Die Hard
From: Asia
Registered: 2009-02-02
Posts: 937

Re: Installing VirtualBox Guest Additions in CrunchBang

Answering my own question:

> "When you've done this how do you check it was successful?"

Well there's always the message "Installation successful" - always a helpful one, that! wink On restart it'll indicate that the guest OS now supports "mouse pointer integration". Then on the menu you can click: Machine > Session Information Dialog - and it'll report the version of Guest Additions.

Then you can try out the features just to make sure. You should be able to move the mouse out without pressing Right Ctrl. You should be able to mount a shared folder with mount.vboxsf as per:
http://blogs.sun.com/tao/entry/virtual_ … er_between
So far shared clipboard hasn't worked for me.

Oh, if you're running #! Eee you'll have a customized kernel so you'll need the appropriate linux-headers-* package. The VirtualBox help also suggests you install dkms first. I did so but I've no idea if it's required.

Still haven't got around to trying that portable version yet.

Offline

#18 2010-05-26 21:41:07

vrkalak
#! Die Hard
From: Santa Fe, NM, USA
Registered: 2009-09-14
Posts: 1,490

Re: Installing VirtualBox Guest Additions in CrunchBang

I'm 'kidnapping' a not-so-used topic.  tongue

I have used Virtualbox OSE from the Ubuntu repros before.

But ... now I have both of these  - on CD

Virtualbox OSE and Virtualbox 3.1.6

Which should I install?
Which is easiest to configure and use?
What are the benefits, of either or both?

I need Details ... "just the facts, ma'am"  lol


Registered Linux User: #497030
DeviantART pageAsk.Debian
#!Crunchbang 'Waldorf' (Openbox) -- Mint-Debian Fluxbox Edition

Offline

#19 2010-05-27 07:06:14

Peace9r
#! Member
From: Johannesburg, SA
Registered: 2010-03-04
Posts: 98

Re: Installing VirtualBox Guest Additions in CrunchBang

vrkalak wrote:

I'm 'kidnapping' a not-so-used topic.  tongue

I have used Virtualbox OSE from the Ubuntu repros before.

But ... now I have both of these  - on CD

Virtualbox OSE and Virtualbox 3.1.6

Which should I install?
Which is easiest to configure and use?
What are the benefits, of either or both?

I need Details ... "just the facts, ma'am"  lol

They are both the same in terms of ease of use and installation, however, as far as I can recall, OSE does not allow you to communicate with external devices plugged into your USB ports. The PUEL version together with guest additions does though.

Offline

#20 2011-06-24 01:05:57

jeepee
New Member
Registered: 2011-06-24
Posts: 2

Re: Installing VirtualBox Guest Additions in CrunchBang

Hi guys, I had to register real quick and share wink

I've been playing around for a while with Ubuntu in virtualbox, but just found crunchbang recently, liking it so far, impressions are great...

But, I had trouble with just about all the instructions I could find for getting guest extensions to work, even those listed here.  I had no trouble getting the virtual CD mounted, it was getting the .run file to go, it would always just produce zero output.

At last, a google search for the magic combination "guest additions debian" got me this page, and the real key was using sh to run it using the bourne shell?  Still new obviously (I know that uses a different interpreter?), but that was the key to running this with my setup, so will share so if it helps someone else wink

Host system:  Win 7, Oracle VM VirtualBox 4.0.8
crunchbang-10-20110207-openbox-amd64

http://virtualboxes.org/doc/installing- … on-debian/

    1. Login as root;
    2. Update your APT database with apt-get update;
    3. Install the latest security updates with apt-get upgrade;
    4. Install required packages with apt-get install build-essential module-assistant;
    5. Configure your system for building kernel modules by running m-a prepare;
    6. Click on Install Guest Additions… from the Devices menu, then run mount /media/cdrom.
    7. Run sh /media/cdrom/VBoxLinuxAdditions.run, and follow the instructions on screen.


Afterward, I could use mount.vboxsf without issue, woohoo!

-- jason

Offline

#21 2012-08-03 19:24:29

cavdude
New Member
Registered: 2012-08-03
Posts: 1

Re: Installing VirtualBox Guest Additions in CrunchBang

Jason --

Worked like a charm! Thanks so much!:)

Offline

#22 2013-04-01 17:18:46

fiernaq
Member
Registered: 2012-04-03
Posts: 18

Re: Installing VirtualBox Guest Additions in CrunchBang

For those using Waldorf, visualjeff wrote up an excellent guide on installing VirtualBox Additions since the info in this thread no longer works.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo