Posts Tagged ‘Ubuntu’

VirtualBox addons cannot be installed

Wednesday, April 22nd, 2009

If you're new here, you may want to subscribe to my RSS feed.
Thanks for reading my blog!

Have you seen this error message:

root@ubuntu:/media/cdrom# ./VBoxLinuxAdditions-x86.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 2.1.4 Guest Additions for Linux installation...........................................................................................................................................................................................................
VirtualBox 2.1.4 Guest Additions installation
Please install the build and header files for your current Linux kernel.
The current kernel version is 2.6.27-11-server
Problems were found which would prevent the Guest Additions from installing.
Please correct these problems and try again.

Solution:

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

or

sudo aptitude update && aptitude dist-upgrade && aptitude install linux-headers-`uname -r`

Related

How to mount a shared folder read/write permissions

Saturday, November 1st, 2008

Once I need to mount a Windows share on my Ubuntu Server.

By default the folder was mounted as readonly but I fixed that by supplying dmask=777,fmask

Here is the command I used.

[code]

mount -t smbfs -o username=guest,password=,dmask=777,fmask=777 //192.168.0.10/myshare /mnt/existing_folder/

[/code]

If you have any ideas or if I can add something and/or improve this article do leave a comment.

Thanks.

Slavi