VirtualBox Guest Additions install Kubuntu 10.04

Install VirtualBox’s guest additions are relativly stright forward in Ubuntu. But for Kubuntu 10.04 it’s takes a little more work.

Open the terminal and execute the following commands. First, check to make sure the system is up to date.

sudo apt-get update
sudo apt-get upgrade

Restart the system after these have been installed. Next we need to install and get a few things.

sudo apt-get install dkms
sudo apt-get install build-essential

Restart the system again.
Now we can install the guest additions. Devices -> Install Guest Additions… Virtual CD should mount automatically.

cd /media/VBoxLinuxAdditions_x
sudo ./VBoxLinuxAdditions.run

Install might take a little while to compile. After it has completed, restart the system. Guest additions have now been successfully installed.

Mounting Windows Share using smbfs in Kubuntu

On my new Kubuntu box, I wanted to mount my “My Documents” folder that resides on a Windows Server 2003 R2 box. I have always had problems mounting folders due to the nature of Active Directory.

In KDE you can easily mount a share using the built in wizard, but I wanted to mount it as folder so I could access it using command line. First thing to do is install smbfs.

sudo aptitude install smbfs

Next thing we want to do here is make a folder to mount this remote location. I’m going to make it in the /media folder.

sudo mkdir "/media/My Documents"

The quotes are there to allow spaces in the directory name.

After that is this interesting line. If the share your connecting to  has any spaces in the name, you will need to put that option in quotes. Here is my complete line.

sudo mount -t smbfs -o username=blake,password=PASSWORDHERE "//server/UserData/blake/My Documents" "/media/My Documents"

I have made this into a script so I can easily run it when I need to connect.

I hope this has helped you getting your Linux box talking to your Active Directory protected share.

Poor computer

Well yesterday my poor old AMD 3500+ Asus AV8 – Delux motherboard gave up the ghost and died. Me and it were together for 5 greatfull years but now it has moved onto a better place.

So it’s replacment is going to be a bare bones kit from Tigerdirect. Click here for more details. It’s not the best thing ever but it will do exactly what I need it to do.

In the mean time I’m using a AMD Duron 1Ghz with 256 MB of ram running Kubuntu. I have to say. It sucks really bad. 😛