Techkiwi's Blog

The adventures of a technical kiwi


March 2013

Xen XCP Ubuntu – Cannot Mount CDRom Issue

There seems to be many issues regarding the installation of Ubuntu onto an XCP server and it not wanting to mount the Cd-Rom

After much mucking about I have managed to get this to work.

On the internet you will easily find half of the solution but when using XCP you have to make a second adjustment for it to work.


You must use an “Other Installation” template when creating the VM, if you use an Ubuntu related template it will not work.

When booting off the CD you must select F6 and turn off ACPI and NOAPIC

Once you have done this you should be able to continue the installation normally.


The only other note I have is that if you have issues running the live linux installer from usb you should use the “Startup Creator” from another Ubuntu installation to create the bootable USB as this can solve other issues as well.


I have tested the above method with both 12.04 LTS and 12.10 and can confirm it is working.


SBS 2008 Console Log Fix

With  a Windows Server 2008 SBS machine if you leave the “Console” open for long periods of time it will continue to log to the console.log file which can get very large (mine was 1.95gb)


You can easily remove this by stoppping console.exe (You can do this from task scheduler as well) and the renaming the file C:\Program Files\Windows Small Business Server\Logs\console.log


Once you have renamed the file you can restart console.exe and it will create a new log.

Further SBS 2008 Space Fixes

As per a previous post I have explained one of the most difficult things around maintaining an SBS server, The disk space that is never ending!

Here is a quick list of things you can use to regain control:

1. Shrink Sharepoint Logs  (Fix as per my previous post)

2. Delete all temporary IIS files

3. Search for other large SBS log files in the Windows Small Business Server folder (The pop3 connector & Console logs in particular!)

4. Configure update list for the WSUS server and remove any updates you do not need to download, once completed run the WSUS cleanup wizard to remove old update files.

5. I would download and run WinDirStat from, You can use this free tool to analyze the drive/partition to see where the space is being used up.

6. You can also use the wizards from the sever console to shift exchange, WSUS, Sharepoint etc to another drive/partition if C is becoming to full.

Ubuntu – Boot Disk Full

I am currently running Ubuntu 12.10 which is the latest release at the time of posting this.

I have had the issue after recent updates where my Boot drive has become full, When setting this machine up I let it decide it’s own partition sizes so I thought it was quiet odd that in less than 3 months this disk had become full.


I have done a bit of googling and tested this method (To be clear I did not come up with it) but it definitely worked for my machine as I have tested it and am blogging about it here so that I do not loose the code.


I ran “dpkg -l ‘linux-image-[0-9]*’ | grep ‘^ii’ | grep -v `uname -r` | awk ‘{print $2}’ | xargs sudo apt-get purge -y #”


This took around 1 minute. It cleared around 254mb from the Boot disk and I no longer get the low disk space warnings I was receiving before running the script.

Hopefully this will be useful to someone else (if not myself) at a later stage

Blog at

Up ↑