UPDATE: New post on getting Multicore Solr 3.4 running on Ubuntu 10.04
Many, who do a dual boot with any Linux and Windows will face the problem of Master Boot Record (MBR). In easier words, one of them (Windows or Linux) wont boot after installing/uninstalling the other. This is a small guide I hope many would find it useful.
So, here's a simple step to add a swap space (Read more for details):
Mogrify is a commanline utility included with ImageMagick.
To resize an image if you have imageMagick use:
# mogrify -resize 50% rose.jpg
# mogrify -resize 1200x1200 *.jpg
or to reduce size and quality
# mogrify -resize 1200x1200 -quality 50 *.jpg