You are not logged in.
visualjeff
Offline
Guest I parked this in the wrong category.
Sorry guys.
visualjeff
Offline
sudo apt-get install build-essential linux-headers-`uname -r` dkms
Offline
Totally missed the backticks, and you're right, it did not work with single quotes.
Offline
Another excellent tip! Thanks for solving the issue I had!
The only minor change I had to make was in the last line (presumably because I left the file on the "cd"). I used
sudo sh /media/cdrom/VBoxLinuxAdditions.run
Offline
Offline
a much simpler solution worked for me:
sudo apt-get install virtualbox-guest-additions
sudo apt-get install virtualbox-guest-dkms
reboot
( this is instead of running VBoxLinuxAdditions.run )
Offline
Greetings from Amsterdam
OS: Crunchbang 11 Waldorf
I followed Visualjeff's instructions, unfortunately when I got to, "sudo sh ./VBoxLinuxAdditions.run", the machine can't find, "sh: 0: Can't open ./VBoxLinuxAdditions.run. I have # the source for Waldorf leaving only the Debian ones active. I am obviously doing something wrong. I couldn't the damn thing to work in LMDE either. It obviously does work because people are waxing lyrically about it. Please bear in mind I am relatively new to Linux, so "idiot speak" is perfectly acceptable . Any help would be much appreciated. Thanks.
Offline
Great help, rescued my brand new Waldorf VM too. I got the message too, about failing to build the OpenGL module for VBoxAdditions, but that seems to be no problem at all.
Offline
mmmm guys, in VirtualBox since about the last 10 versions this method works on ANY debian distro, inculding ALL Crunchbang versions to date:
Follow these steps to install the Guest Additions on your Debian virtual machine:
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
I always reboot just in case.
Get full screen and all the goodies
SHARED FOLDERS:
mount -t vboxsf -o uid=1000,gid=1000 temp /home/YOURUSERNAME/shared
Being "shared" a folder I create in my home dir for this use, sharing stuff between guest and host.
It MAY happen that you won't be able to access your shared folders:
" When I set up the shared folders it looks like they are mounted in /media/<share_name> but I can't get access to them."
They are accessible only to members of the vboxsf group so you need to add yourself to that group:
Do this:
sudo gpasswd -a YOURUSERNAME vboxsf
Then logout ( of the virtual machine ) and login again for the group membership to take affect.
Offline
Just what I needed! Thanks, visualjeff!
Offline
I've tried all the above but couldn't get guest additions working! I need copy-paste from host(Win7) working.
Offline
I did
sudo apt-get install virtualbox-guest-additions
sudo apt-get install virtualbox-guest-dkms
reboot
and everything in output was "OK". Window resizing is working. Only problem is copy-paste between host(Yosemite) and guest(Crunchbang).
Offline
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat