Wednesday, November 25, 2009
Open commend prompt at the current directory
Thursday, November 12, 2009
Problems with Dreamweaver
Dreamweaver creates a cache file called WinFileCache-********.dat or MacFileCache-********.dat inside your personal Dreamweaver configuration folder (the asterisks represent a series of letters and numbers that might differ from computer to computer). This occasionally gets corrupted causing instability, unpredictable error messages, and even crashes.http://progresstechlabs.com/?p=666
Anyway, I followed the instructions as above, and now it back to behaves as it should be.
Saturday, November 7, 2009
exim4
XAMPP is a great tool for quickly setup LAMP infrastructure for web application development. However, getting the mail function to work under Linux can be a bit challenging.
After many hours of battle, I finally got it working. The step I used on my Ubuntu setup are:
- Running the dpkg-reconfigure exim4-config, and follow the onscreen instructions.
- Editing the /etc/exim4/passwd.client file to setup the authentication details if your smtp server needs authentication (ref: http://www.lexspoon.org/linux/smtp-relay.html).
- restarting exim4 by running /etc/init.d/exim4 restart
- cross your figure and hope mail works!
Monday, November 2, 2009
Sound works!
- video - it is painful to use VESA driver as it makes every slow. It really hurts the first impression!
- sound - well, it works, but the sound control is a mess! For instance, there is a slider for main volume, but it doesn't work. You need to use the PCM slider to get things work.
- FLAC + CUE
Also, sound control has finally got the polish it needed! There is a slider, and a slider works!
Just for these features alone, Ubuntu 9.10 is a worthy upgrade!
Sunday, November 1, 2009
Migrate to Karmic Koala
Wednesday, October 28, 2009
Create split virtual HD for VirtualBox
VirtualBox is a great tool and I like it a lot. However, the inability of creating split virtual hard drive into 2GB chunks can be a problem at times. Most flash pen drives use FAT32 to maximize its compatibility with different OSes, but at the same time this limits the maximum file size to 2GB. The inability of spliting virtual drive into 2GB blocks makes transporting native VDI image files used by VirtualBox impossible. However, there is a workaround as VirtualBox is also compatible with images created by VMWare which allows split images.
Today, I found this website which allow people to create empty VMware compatble images without using a VMWare product.
http://www.easyvmx.com/new-easyvmx.shtml
With the help of this link, you can now create virtual machines with split file feature under VirtualBox.
Sunday, October 4, 2009
Fix VFS Invalid Compression Format
Today my laptop lookup while it was updating, and I had to hard reset it. However, the system won't boot up properly, and instead, it gave me the Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block error. I have tried a number of suggestions found in Google, but didn't have much luck. Eventually, I managed to restore my system by the following.
- Boot up the system using a LiveCD. (I was using the Ubuntu 9.04 Desktop live CD)
- Open a command prompt, and sudo -s to become a super user
- Mount your boot partition, i.e. mount /dev/sda1 /mnt/
- Use chroot to become the root user of the newly mounted partition, i.e. chroot /mnt/
- Use aptitude search linux to find out the available images package on the repository
- Reinstall the image, i.e. aptitude reinstall linux-image-2.6.28-15-generic
- After it all done, get your fingers crossed, and reboot the system
With some luck, you may be able to get a working system back like myself.
To be on the safe side, I have rerun the aptitude reinstall linux-image-2.6.28-15-generic command again after I booted back to Gnome.