You are not logged in.
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. 
Hope this helps.
Last edited by sewmyheadon (2009-01-14 20:15:20)
Offline
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 
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
Great tip, thank you sewmyheadon
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.
Thanks again for the informative guide.
Offline
Will do. Registering now . . .
Offline
Instructions added to #! Wiki here:
Offline
Great job! Thank you for your contribution, it is really appreciated! 
Offline
Great job! Thank you for your contribution, it is really appreciated!
Thanks Philip, but there's no need to thank me.
I'm glad I can contribute something.
Thank you for CrunchBang! Keep up the great work.
Offline
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
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
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. 
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. 
Offline
Got it, thanks for the clarification. I've edited the original forum post. 
Last edited by sewmyheadon (2009-01-14 20:13:53)
Offline
I am sure michaelramm would appreciate the collaboration.
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
Michael,
Sorry to hear about your friend. 
We've put the VBox Guest Additions instructions in the wiki. Let me know if you see any changes.
Offline
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
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
^ 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
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!
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
I'm 'kidnapping' a not-so-used topic. 
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" 
Registered Linux User: #497030
DeviantART page | Ask.Debian
#!Crunchbang 'Waldorf' (Openbox) -- Mint-Debian Fluxbox Edition
Offline
I'm 'kidnapping' a not-so-used topic.
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"
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
Hi guys, I had to register real quick and share 
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 
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
Jason --
Worked like a charm! Thanks so much!:)
Offline
For those using Waldorf, visualjeff wrote up an excellent guide on installing VirtualBox Additions since the info in this thread no longer works.
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.