Using your 10.04 CD in live desktop, find your hard disk. It will probably be /dev/sda.
Open a command line terminal (it should be in the Accessories group in the Applications section from the menu bar at the top left of the screen).
GIn the command line window, go into superuser (sudo su), and type the command:
fdisk /dev/sda (and hit return)
If that doesn't work, try /dev/sdb or /dev/sdc.
Once fdisk is running, type:
p (and hit return)
this will show you the partitions on the disk. There should be at least one partition type 83 (Linux), but there may be several - it depends on whether you set up separate partitions for /home or other directories. There is also probably going to be one partition type 82 (swap). Hopefully you will recognize your hard disk from the size and the partitions it has on it.
Type:
q (followed by return)
to exit from fdisk. Note down the names of the Linux partitions such as /dev/sda1.
Next try mounting all the file systems. Click on Places at the top of the screen and select each file system in turn to mount them. If one fails to mount, go back to the command line window and try repairing it:
fsck /dev/sda? (where the ? represents the partition number you recorded earlier).
When all the partitions are mounted, from the command line window, go to the /media folder
cd /media
and list its contents
ls -l
This should show you the mount points of each of the files systems. Go into each one in turn until you find the one with your home directory in it.
Go to your home directory and type the command
ls -lrta
This will list all the files and folders with the newest at the bottom. Look for any recent ones, with date stamps about the time your problem appeared, or that refer to XMBC. Try renaming them to something different - perhaps add -saved to the end of the name.
Hopefully, after you have done this, you will be able to boot up normally. You can then look through the files you have renamed to find which one has caused the problem. If the problem is in a directory, you might have to repeat the process on files in that directory. You can rename a few files at a time back to their original names until you find the problem.
Good luck.