Author: rahul

  • Resources On English Improvement

    Grammar Books

    Two books which seem to have good reviews are:

    • Murphy’s English Grammar with CD-ROM by Raymond Murphy and
    • Advanced Grammar in Use with CD-ROM by Martin Hewings

    There are a lot of other good books and I encourage the learners to read their reviews on amazon.com and flipkart.com before buying them.

    Improving your spoken English

    Fluentzy – I have not used these books. But I have seen a lot of their advertisements in “The Hindu”. Also a search on “English fluency” in Google will first give this site as a link. So I am assuming this is a good resource for becoming fluent in English. But as far as I understand these books should be read only when you are good at English vocabulary and writing.

    Books for writing better

    As per the recommendation of a friend of mine, two books which can help you to write good English are:

    1. “On Writing Well” by William K. Zinsser
    2. The Elements of Style” by William Strunk and E. B. White

    Free dictionaries for download

    Wordweb – One of the best free dictionaries available. But it only provides meanings, few example sentences and a non-standard phonetic transcription.

    Online dictionaries

    Longman Dictionary of Contemporary English Online – This has meaning + phonetic + example sentences + some sounds
    Cambridge Learner’s Dictionary Online – This has meaning + phonetic + example sentences but no sounds
    Oxford Advanced Learner’s Dictionary Online
    Merriam-Webster Online
    Dictionary.com – Meaning + phonetic (slightly modified IPA) + example sentence
    Collins Dictionaries

    Dictionary CD-ROMs which you can buy

    Note: These dictionary CD-ROMs have meaning + example sentences + IPA transcription + sounds

    Longman Dictionary of Contemporary English (with CD-ROM) – The current edition is the Updated edition of the the 4th edition and its CD is compatible with Windows, MAC and Linux (Paperback with CD) and it costs Rs.560. For the latest editions available in India and purchasing online, contact Pearson India.
    Distributor details for Longman dictionaries can be got from http://www.pearsonedindia.com/how2order.asp. “Shraddha Book Depot” (near Secunderabad Railway Station) sell this book and they also offer 15% discount.

    Cambridge Advanced Learner’s Dictionary (with CD-ROM) (ISBN: 0521539625) – The Indian edition of this dictionary costs Rs. 495 (this is the Paperback edition with CD-ROM). For the latest Indian editions and purchasing online, contact Foundation Books.
    Distributor details for Cambridge dictionaries can be got from http://www.cambridge.org/asia/india/. I contacted the Andhra Pradesh distributor and he told me that they offer a 15% discount on Cambridge dictionaries.

    http://www.antimoon.com/forum/2004/4307.htm – Comparison of Cambridge and Longman Dictionary CD-ROMs. According to this it does seem that Longman is a better choice for learners.

    Word of the Day

    I got this list when I did a google for “Word of the Day”. If interested you can subscribe to some or all of them.

    http://signup.dictionary.com/wordoftheday
    http://www.wordcentral.com/cgi-bin/bwwod.pl

    http://www.m-w.com/cgi-bin/mwwod.pl
    http://www.oed.com/cgi/display/wotd
    http://www.wordsmith.org/awad/

    Other Resources

    Antimoon – A very nice resource on how to learn English effectively. This will give you an idea about the resources you can use to learn English effectively.

    http://www.associatedcontent.com/article/33306/effective_ways_to_improve_vocabulary.html – Tips on Improving Vocabulary

    http://www.ehow.com/how_13383_improve-vocabulary.html – Tips on Improving Vocabulary

    https://www.mtholyoke.edu/acad/intrel/orwell46.htm – “Politics and the English Language” by George Orwell

    http://theamericanscholar.org/writing-english-as-a-second-language/ – Writing English as a Second Language

  • Quotes

    Overtime, I realized that in life, there is always a possibility for the lesser likely to happen. It is this possibility which helps me to be prepared for failures even in the most favorable circumstances. It is also this same possibility which helps me hope for success even in the most adverse situations.
    Rahul Amaram

    Courage is not the lack of fear. It is acting in spite of it
    Mark Twain

  • Securing Your Windows OS

    In this article, I shall be giving tips on how one can secure his Windows PC from virus, worms, trojans, hackers, spyware. I shall first start with a definition of all these terms, proceed to give a list of a few must have software and then suggest some other software to ensure maximum safety.

    Definitions

    1. Virus: To keep it simple, a virus is a program which does undesirable activity like deleting files, corrupting them, etc. without the user’s knowledge. Virus infects executable files and it needs those files to be accessed in order to spread. In most of the cases, the user unknowingly open infected files thereby helping the virus to spread.

    2. Worm: A worm’s activity could be considered similar to that of virus but the way it spreads is different from that of a virus. While a virus cannot spread by itself, a worm spreads on its own. It can even get the email address from mail clients and mail a copy of itself to everyone in the list.

    3. Trojan: Ever heard of the “The Trojan Hourse” in the story of Troy? The Trojan horse was a huge horse made out of wood and gifted to the enemy. But the enemy was not aware that there were soldiers hiding inside the horse and happily accepted the gift thereby moving it into their kingdom. At night, the soldiers came out of the horse and killed their enemy in their sleep. Eventually they won the battle.
    The trojan we talk about here works in a similar fashion. If a trojan gets installed on your system, then it has the potential to give unauthorized access to strangers. And unauthorized access means they can get hold of all the sensitive information on your machine.

    4. Hackers: Hackers are those people on Internet who keep looking for opportunities to intrude into another’s system so that they can get access to sensitive information. Hackers may use trojans and/or their own hacking techniques by exploiting loop holes in your Operating System in order to gain unauthorized access to your system.

    5. Spyware: Originally spyware referred to the programs installed on the PC without the user’s knowledge which secretly monitored the user for third party benefit. The unwanted pop-up advertisements which appear all of a sudden or when Internet Explorer is opened is also because of spyware being present on your system.

    Securing your PC

    Over a period of time, virus, worms, trojans, spyware have come to be used interchangeably. Also now software which can combat all of them together are also available. But it is to be noted that the best solution is got only by installing software for fighting them individually. Next I shall give a list of some of the free software available which shall help us to prevent viurs, trojans, etc. I shall also mention other similar good software used for the same purpose and why I have chosen one over the other.

    1. Antivirus: Microsoft recently launched its free antivirus and spyware detection program Microsoft Security Essentials. Reviews of the initial version of this program have claimed that the antivirus detection rate for this is not as good as other antivirus programs. Nevertheless, I personally feel that Microsoft will put in more R&D effort into this product to make it better. Among the other free antivirus vendors, AVG Antivirus Free Edition seems to be a good choice. Besides fighting virus, this also helps in fighting worms and trojans. Fighting not only virus but also worms and trojans is a common feature of many antivirus programs.

    Another noteworthy free antivirus program is Antivir. One very interesting feature of Antivir is its enhanced capacity to fight spyware as well. But because AVG has better capacity to detect and remove virus, and also we are going to see some anti-spyware products next, I have preferred it to Antivir.

    2. Anti-spyware: Anti-spyware refer to those tools which aid in the removal of spyware installed on your computer. Some of the anti-spyware also come with real time protection (just as in antivirus) which means they have the capactiy to detect and avoid the installation of spyware. The best free anti-spyware software currently is Windows Defender. Besides offering removal of spyware, it also provides real time protection. But one major problem is that this is available for only users who have installed a genuine copy of Microsoft Windows. So for those who use a pirated copy of Windows or are just looking for an alternative, I would suggest Spyware Terminator. Also note that for users running Microsoft Security Essentials, Windows Defender is not needed (and I believe is automatically disabled if it is installed).

    Among the other good spyware software Ad-aware SE Personalgets a special mention here because of its better spwyare detection capacity than Spyware Terminator. But because the real-time protection feature is offered in only the purchased version of Ad-aware whereas it is offered free in Spyware Terminator, I suggested Spyware Terminator instead of Ad-aware.

    3. Firewall: A firewall helps in preventing hackers from gaining access to your system by blocking unused ports. You can use the inbuilt Windows firewall which comes with certain versions of windows to protect your PC. But if you are looking for a third-party alternative which performs better than the inbuilt Windows firewall, then there is only one choice – ZoneAlarm. But be sure to turn off the inbuilt Windows firewall if you are using ZoneAlaram.

    Other Tips

    1. Windows Security Center

    This can be accessed from “Control Panel”->”Security Center”. Use this to manage your Windows Security Settings

    2. Update your PC regularly

    If you own a genuine version of Windows, then you should visit Microsoft Update to update your PC.

    3. Perform anti-virus and anti-spyware scans in safe-mode

    It is generally suggested to run anti-virus and anti-spyware scans in safe-mode. Safe-mode can be entered by pressing “F8” key before windows begins to boot. The reason for this being in the normal windows mode, most of the files are in use. Hence if a file which is in use is detected with a virus/spware, it may not be possible to quarantine/delete this file. On the other hand in safe-mode, only the most essential files and drivers are loaded. Hence it becomes feasible to quarantine/delete most of the infected files.

    4. Fake Anti-Spyware

    There are many fake anti-spyware programs (http://en.wikipedia.org/wiki/List_of_fake_anti-spyware_programs). You especially come across these when browsing certain websites and a flashing pop-up window appears saying “Your machine has been detected with spyware. Click here to remove it”. Please don’t fall into this trap and click. Please only install anti-spyware by directly visiting their websites.

    5. One antivirus, One firewall

    Yeah even I got to know of this recently. It seems having more more than one antivirus or one firewall may cause problem. Hence be sure you don’t have more than one antivirus or firewall installed on your PC. Especially if you are using Zonealarm or some third party firewall, make sure you have turned off the default Windows firewall. It should not be a problem though as far as I know in having more than one anti-spyware installed.

    Other References:

    http://en.wikipedia.org/wiki/Antivirus_software
    http://en.wikipedia.org/wiki/List_of_antivirus_software
    http://en.wikipedia.org/wiki/Adware
    http://en.wikipedia.org/wiki/Spyware
    http://en.wikipedia.org/wiki/Category:Spyware_removal
    http://en.wikipedia.org/wiki/Malware
    http://en.wikipedia.org/wiki/Real_time_protection

  • Airtel GPRS

    Note: The GPRS plan packages and the procedure for activating and deactivating GPRS might have changed. Kindly contact Airtel customer care for exact details.

    Update: I recently purchased a Nokia 3110 classic. This phone comes with EDGE and in-built modem. Using EDGE, the browsing speed seems to be reasonable.

    Packages

    This article is mainly for people using Airtel GPRS in Hyderabad (and Andhra Pradesh). As of the day of posting this article, Airtel Postpaid in Andhra Pradesh offers two packages for GRPS.

    1. 199 flat monthly based plan
    2. 499 pro-rata monthly plan (i.e. if u use the GPRS service for 2 days you would be charged only Rs. 499*2/30)

    For the prepaid customers, it is on a prepaid basis i.e. the user is charged 15 rupees per day for using GRPS and he has to re-activate it every day. The minimum prepaid balance for using GPRS is Rs.30.

    I found the postpaid second plan and the prepaid option especially useful if I am on a personal/business trip for 3-7 days where in I would not have access to internet. I own a Nokia 8310 with inbuilt GPRS modem and infrared and luckily my laptop also has infrared. Hence by having my laptop detect my mobile GPRS modem and using the GRPS facility provided by Airtel, I am able to access Internet anytime anywhere.

    Activating GPRS

    To active the GPRS 499 monthly plan in postpaid, kindly sms “GPRS ACTIVE” to 121 (kindly note all should be uppercase letters). The activation will take about 2-3 hours upon which you will either receive a SMS or a phone call from the customer care.

    To activate the GRPS facility in prepaid, kindly sms “INTERNET ON” to 121 (again note the use of all uppercase letters). The activation will take only 2-3 minutes in the case of prepaid (no idea why it takes so long in postpaid :)).

    Upon activation, you will then have to sms “MO” to 2567. You should receive a SMS with the GPRS settings. Save these settings. You may have to switch off and switch on your mobile once for the changes to take place.

    Connecting to Internet from Laptop

    After enabling GPRS on your mobile, you can use the below dial up settings for establishing a dial-up connection from your laptop (For Windows Dial-Up connection, I don’t think you will have the last two options i.e. “Domain” and “Extra dial-string command”).

    Dialling number: *99#
    Username: (leave blank) or alternatively you can use 919849.. (91 followed by your cell no)
    Password: (leave blank) or alternatively you can use 0000
    Domain: (leave blank) or alternatively use airtelgprs.com
    Extra dial-string command: z

    If while connecting from Windows XP you get an error “Registering your computer on the network. Error 734: The PPP link control protocol was terminated.” or the phone throws an error “Subscribe To Packet Data First”, try connecting after making the below change:

    1. Go to Control Panel
    2. Select Phone and Modem Options
    3. Click on Modem tab.
    4. Double click on Nokia 3110 classic Bluetooth Modem (this should open the Properties window).
    5. Select Advanced tab.
    6. Empty the Extra initialization commands textbox.
    7. Click on OK.

    Deactivating GPRS

    To cancel the pospaid GPRS 499 plan, kindly sms “GPRS CANCEL” to 121. The cancellation will take upto 2-3 hours. Please note that if GPRS gets deactivated after 00.00 midnight then it is counted as an extra day though the actual time you have GRPS activated is less than 24 hours (ex. 27th May 5.30 to 28th May 00.20 is counted as 2 days AFAIK)

    In the prepaid connection, I think it gets deactivated automatically after 24 hours and you will be prompted to renew it (need to confirm on this). You may want to sms “INTERNET OFF” to 121 to deactivate it permanently.

    The speed is not that good (max. 40 Kbps) but it is a convenient way for checking mails or downloading any important document. For further details, kindly contact the Airtel customer care.

    So enjoy surfing even when you are mobile by just carrying a mobile 🙂 !

  • Thinkpad Backup And Linux Installation Notes

    Update Sep 22, 2007: This article was written when I had purchased a Thinkpad (refurbished T40) for the first time. The article had later been upgraded when my friends purchased T41 and T43. The backup solutions described here in this article are mainly using open source tools. Though I have tested them on Thinkpads, they should work equally well on other laptops which do not come with recovery media.

    But after working with Thinkpad for more than a year and with my recent purchase of a T61, I have realized that an excellent software known as Rescue and Recovery is now being provided by Lenovo. This software not only helps in the creation of recovery media but also helps in taking a backup of your Windows OS. This is something which I strongly recommend you look at if you own a Thinkpad rather than going through this entire article.

    Also be sure to have a look at the “Linux Installation Notes” section in the end as it has some very useful tips.

    Creating Backup Images

    Refurbished thinkpads come pre-installed with Windows XP. Initially IBM used to provide Recovery CDs so that if anything went wrong with the hard disk, the recovery cds could be used to restore it to the factory state. Hence there was not much a need of taking backup of the hard disk. But of late, IBM has changed its policy. All refurbished PCs (and new ones as well) come with something known as “Predesktop area”. This predesktop area is a reserved 4 GB space (or a separate partition) in the hard disk and contains all the data necessary for performing recovery. In other words, instead of the recovery CDs, their content is now contained in this predesktop area.

    This article is about backing up a Thinkpad and partitioning it so that other OSes (such as linux) can be installed. You must be familiar with linux in order to carry out the steps mentioned here. It is assumed that you have just received a new Thinkpad and all that exists on it is the installed Windows XP (a single big partition) and Predesktop area (hidden area/another partition in some thinkpads). Please note that generally predesktop area is not contained within a partition and hence your hard disk has only one primary partition (for Windows XP) and about 4 GB unpartitioned space at the end which is the Predesktop area. But I have observed that in some later thinkpads the Predesktop Area is generally contained in a fat32 / ntfs partition

    We shall be covering the following topics in this section.

    • Using g4u (ghost for Unix) or dd to backup the entire hard disk
    • Using SystemRescueCd to resize the windows partition and create new partitions
    • Using ntfsclone to take a backup image of the resized Windows primary partition
    • Backing up MBR and extended partition
    • Backing up Predesktop area if it is a partition (only in some ThinkPads)

    Following are the detailed steps:

    1. We shall initially be creating a clone of the entire hard disk. This is absolutely mandatory so that if the hard disk / partitioning fails in one of the following steps, the entire hard disk can be restored to its original state. Once the partitioning is over and an image of Windows XP partition is taken, then this may not be that useful anymore.

      We shall be using g4u for this purpose. g4u is a hard disk cloning utility which is very mature, well tested and proved. What I have recently found out is that g4u uses “dd” internally to make the hard disk image. This will be especially useful if you have a second hard disk to which you want to write the image as “dd” is an excellent tool for making hard drive images. You can find more infomration about dd in Wikipedia.

    2. First, clean up as much space as possible from the drive. This is possible by booting into Windows XP and

      – Running windows “Disk Cleanup”
      – Removing old system restore points
      – Clearing C:\Documents And Settings\user\Local Settings\Temp

    3. Next defragment the disk using the Windows “Disk Defragmenter”.

    4. Next fill the free space with zeros so that the hard disk image will compress properly using gzip. There are many methods of doing this as discussed in the g4u homepage. I tried the cipher method for Windows XP but the problem was that killing the program in the middle had made some of the unsused space to be occupied. Hence I decided to use nullfile.exe.

    5. Now reboot the PC and go to BIOS and disable the predesktop area (it should by default be in “Normal” mode). This is necessary because if it is not disabled g4u will not be able to back this space.

    6. Download the g4u iso, burn it to a CD, boot the laptop using it and take backup. The backup took about 1.5 hours for me. My entire 33.86 GB was compressed to about 6 GB (3 GB for the windows partition and 3 GB for the predesktop area). The command I had used was:

      g4u> uploaddisk your.ftp.server.com thinkpad.img.gz

      where your.ftp.server.com is the ftp server with user account “install” setup. Refer g4u documentation for further info.

      As an alternative to using g4u, if you have a second hard disk or a shared mount point, you can directly create an image using the “dd” command. But for using dd you may have to use a live linux cd such as “SystemRescueCD” (refer below). Assuming you are in the directory where you want to create the backup image, the command will be similar to below:

      # dd if=/dev/hda | gzip -c9 > thinkpad.img.gz

      where /dev/hda is the hard disk to be backed up. The image created using “dd” should be the same as the one created using g4u because from what I know g4u uses “dd” internally to create images.

    7. Now reboot the laptop and the first thing you should do is enable the predesktop area and set it to “Secure”. We shall later change the security back to “Normal”. The reason why we are setting it to “Secure” rather than “Normal” is because now we are gonna create new partitions and we do not want this partition to be corrupted.

    8. Our next task is to resize the windows ntfs partition and create extra partitions for linux and windows. For this you will have to use the tool gparted found on the SystemRescueCd. SystemRescueCD is a live bootable rescue CD with all the necessary tools to perform partitioning, backup and recovery. SystemRescueCD is perhaps one of the best works of how open source software can be combined to create one great open source product.

      Download SystemRescueCD iso, burn to cd and boot laptop with it. Once booted, start the gparted partitioning utility. As we have set the predesktop area to “Secure” you will not be able to see this space / it will not have access (which will generally be seen as upartitioned/another partition if Predesktop security is disabled or set to Normal mode).

      If you have Windows Vista, then I’d highly recommend that you resize the windows ntfs partition using the “Shrink Volume” feature of Windows Vista. Refer “Linux Installation Notes” at the end for furthur details.

    9. After creating and resizing the partitions (in the previous step), reboot the system to Windows XP to check if everything is running properly.

    10. Now reboot back using SystemRescueCd as we will now be taking backup of the ntfs partition using ntfsclone.

      The command I had used for taking backup to the special image file is:

      # ntfsclone –save-image -o – /dev/hda1 | gzip -c9 > backup.img.gz

      The manpage of ntfsclone mentions that the spcial image format files cannot be mounted. But there is a workaround using which this compressed special image file can be accessed. For this first we will have to write the compressed image to a file. Please note this may require quite a lot of space (not more than the size of the partition of which the back was taken).

      # gunzip -c backup.img.gz | ntfsclone –restore-image –overwrite backup.img –

      After that we can mount it and access it.

      # mount -o loop backup.img /mnt/windows

      To enable read/write access, use ntfs-3g and mount it as below.

      # ntfs-3g backup.img /mnt/windows

      Now don’t you think linux rocks ? :).

    11. Next we shall backup the MBR using dd and the extended partition table using sfdisk (refer http://www.inference.phy.cam.ac.uk/saw27/notes/backup-hard-disk-partitions.html). We shall also take a snapshot of the current partition table using fdisk.

      Taking a snapshot of the partition table:
      # fdisk -l /dev/hda > partition-table.txt
      # cat partition-table.txt

      Backing up the MBR:
      # dd if=/dev/hda of=mbr-backup count=1 bs=512

      Backing up the extended partition table:
      # sfdisk -d /dev/hda > hda-backup.sfdisk

      This will be useful in the eventuality of MBR/partition table getting corrupted.

    12. The final step we will be performing is to backup the Predesktop Area. In the thinkpad I saw, the predesktop area was a fat32 partition with size 4.3 GB. In the later thinkpads it is ntfs. I decided to keep it simple and use dd to create the image. So here is the command for taking backup of the partition (you may want to read the manual page of dd to find out the command syntax):

      # dd if=/dev/hda2 | gzip -c9 > predesktop-area.img.gz

      To mount the image, extract it first and then mount the file:

      # gunzip -c predesktop-area.img.gz | dd of=predesktop-area.img
      # mount -o loop predesktop-area.img /mnt/predesktop-area

      where “predesktop-area” is an empty directory in /mnt.

    13. Congratulations. Your backup images are now ready.

    Writing the Backup Images to DVDs

    K … now you might be wondering – What’s the big deal in writing images to a DVD? Any Tom, Dick n Harry can do it. Well now here is my question to you – Can any Tom, Dick n Harry write a bootable live cd which has all the tools in it to restore the image from the DVD. And the answer is “yes” :). Not because it is something very common but because it is something which I am gonna explain to you here and make it a trivial task.

    The whole idea is to have the backup image we have taken earlier added to a LiveCD. This would help us to boot from the DVD in case of an OS crash and restore the image from the DVD itself rather than fetching the image from some other source such as a network. I shall create a DVD for the image taken using ntfsclone.

    1. Initially I thought of taking a LiveCD ISO, remastering it to add the backup image and then creating a new ISO. I considered many live CDs and possibilities of customizing them to get this task done. Some of them being:

      Ubuntu Customization Kit
      Knoppix customization
      BusyBox and OpenSSH

      But I wasn’t happy with any of these for two reasons – 1. The process was not simple and 2. Knoppix and Ubuntu live CD themselves are about 700 MB each and I did not see any point in having so much space wasted on the DVD for the OS.

      Brooding over the issue and further googling about it, I realized that the SystemResuceCD I had download earlier could be used for this purpose. SystemRescueCD is a liveCD (based on gentoo) which is extremely small in size and has all the necessary tools for performing partitioning, backups and restores. Initially I tried the steps outlined in How to burn a DVD with SystemRescue and 4 GB more files
      to get the image written to the DVD containing SystemRescueCD. But then it did not always work properly and I was not completely satisfied with the process.

      Then while further thinking about it, I came across this excellent idea. All I wanted to do was to add the ntfsclone backup image to a DVD which has a LiveOS. I was not really looking at remastering the liveCD iso. And thus I embarked upon a search for an ISO editor using which I could edit the SystemRescueCD iso, add the ntfsclone backup image to it and burn the new ISO to a DVD.

    2. While searching for an ISO editor, I stumbled across the wikipedia page http://en.wikipedia.org/wiki/ISO_image from where I got to know of ISO Master, an open-source really good iso editor.

      Assuming that you have already download the SystemRescueCD iso, open it using ISO Master, create a folder “ntfsclone-image”, add the ntfsclone backup image to this folder and save the file as an ISO image (isomaster-image.iso). Certain things to keep in mind are:

      – You should not overwrite the SystemRescueCD iso which you have downloaded. But you should save the ISO to a new file.

      – Because you will be saving the ISO to a new file, you will be needing an extra space of (image size + SystemRescueCd size). That is to say if your image size is 4 GB and SystemRescueCD iso size is 120 MB (~0.12 GB) you will be needing a free space of 4.12 GB to create the new ISO file.

    3. Having created the new ISO image in the previous step, now we will be testing if the iso was created properly and it is is working properly. First we shall be mounting it to check if the ntfsclone image was copied succesfully.

      # mount -t iso9660 -o loop isomaster-image.iso /mnt/iso
      # ls /mnt/iso/
      # umount /mnt/iso

      Next we are going to emulate the newly created ISO using qemu. Run the below command to check if the newly created ISO works properly.

      # qemu –cdrom isomaster-image.iso

      You should be able to see the exact simulation of booting a computer using a DVD on which this ISO is burnt.

    4. Now we come to the final stage of writing the ISO to a DVD. Well, I am not going to mention anything about this here because as I already said any Tom, Dick n Harry can bun an ISO to a DVD :D. But yeah, if you are buring the ISO using K3b, then I’d suggest to write the DVD in “DAO” (Disk-at once) mode. This is because DVDs written in this mode have the maximum compatibility across all DVD-drives.

    5. The same procedure can be used for backing up the g4u and dd images to DVDs. But for g4u image, you will have to download and use the g4u iso instead of SystemRescueCD as it does not contain the g4u utility. Also for backing up g4u image the normal single layer DVD may not be an option, as the size of the g4u image would be more than 6 GB (because it contains the installed windows xp parition + predesktop area) and you might have to buy a dual layer/double layer DVD for backing up the image.

    Restoring Images

    Restoring ntfs volume from compressed image file:
    # gunzip -c backup.img.gz | ntfsclone –restore-image –overwrite /dev/hda1 –

    Restoring the whole hard disk:
    using g4u
    # slurpdisk your.ftp.server.com thinkpad.img.gz
    or dd (if image is accessible via a mount point)
    # gunzip -c thinkpad.img.gz | dd of=/dev/hda

    Restoring predesktop area image:
    # gunzip -c predesktop-area.img.gz | dd of=/dev/hda2

    Restoring MBR:
    # dd if=mbr-backup of=/dev/hda

    Restoring the extended partition table:
    # sfdisk /dev/hda < hda-backup.sfdisk Linux Instalaltion Notes

    1. Resizing the Windows Partition to accommodate space for linux

      In order to accommodate space for installation of Linux it will be necessary to reduce the windows partition size. GParted is an excellent tool which can perform this operation. Bot Windows Vista now comes with “Shrink Volume” feature which I think is much more safe than using GParted. The exact procedure on how to do this can be found on the page How to Shrink and Extend NTFS Volumes in Windows Vista. Also note that you might have to perform the “Shrink Volume” operation several times to achieve the desired size.

    2. Booting Linux from Windows Bootloader

      While installing linux, you might be prompted whether to install the bootloader (GRUB/Lilo) in MBR or in the root partition. While installing GRUB in MBR is the easiest way to immediately access linux, DO NOT DO IT because this will overwrite the default MBR which might make the Linux Rescue and Recovery Environment unavailable.

      Instead install the grub bootloader to the root partition. Next you can find the instructions for booting Linux from Windows bootloader at Booting Linux from Windows Boot Manager.

      If you have windows Vista installed, then you can follow the instructions mentioned in How to use Windows Vista’s Boot Manager to boot Linux. Be sure to back up your current bootloader using the command “bcdedit /export filename” before making changes (run “bcdedit /?” for help).

    3. Fixing MBR in case it is overwrriten

      Refer section “Proper MBR” in Rescue and Recovery – ThinkWiki on how the MBR can be restored. You might have to run the command prompt with administrator privilges (in Vista, this is done by right clicking on “C:\Windows\cmd.exe” and selecting “Run as Administrator”).

      The same page also has notes on how to access the Rescue and Recovery Application from grub. But I have not tested it.

  • Great Love Story

    This is a true story of a young college girl who passed away last month.
    Her name was Priya. She was hit by a lorry. She has a boy friend named
    Shankar. Both of them are true lovers. They always hang on the phone.
    You can never see her without her handphone. In fact she also changed
    her phone from Airtel to Hutch, so both of them can be on the same
    network, and save on the cost.

    She spends half of the day talking with shankar. Priya’s family knows
    about their relationship. Shankar is very close with Priya’s family.
    (just imagine their love) . Before she passed away she always told her
    friends “If I pass away please burn me with my handphone” she also said
    the same thing to her parents.

    After her death, people cant carry her coffin, I was there. A lot of
    them tried to do so but still cant , everybody including me, had tried
    to carry the coffin, the result is still the same. Eventually, they
    called their neighbour, a “bomoh” from Thailand (pak Darin), who is a
    friend of her father. He took a stick and started speaking to himself
    slowly. After a few minutes, he said “this girl misses something here”.
    then her friends told Darin about her intentions to burn her with her
    phone. He then opened the coffin and place her phone and SIM card inside
    the casket. after that they tried to carry the coffin. It could be moved
    and they carried it into the van easily. All of us were shocked. (can u
    feel the fear. I’m shaking at this moment)

    Priya’s parents did not inform Shankar that Priya had passed away. After
    2 weeks Shankar called Priya’s mom. Shankar :….”Atte, I’m coming home
    today. Cook something nice for me. Dont tell Priya that I’m coming home
    today, i wanna surprise her.” Her mother replied…..”You come home
    first, i wanna tell you something very important.” after he came, they
    told him the truth about Priya.

    Shankar thinks that they were playing a fool. He was laughing and said
    “dont try to fool me – tell Priya to come out, i have a gift for her
    Please stop this nonsense”. then they show him the original death
    certificate to him. They gave him proof to make him believe. (Shankar
    started to sweat) ..

    He said… “Its not true. we spoke yesterday. She still calls me.
    Shankar was shaking. Suddenly, Shankar’s phone rang. “see this is from
    Priya, see this…” he showed the phone to priya’s family. all of them
    told him to answer.he talked using the loudspeaker mode. all of them
    heard his conversation.

    Loud and clear, no cross lines, no humming. It is the actual voice of
    Priya & there is no way others could use her SIM card since it is nailed
    inside the coffin they were so shocked and asked for pak Darin’s help
    again. pak Darin brought his master (tok Chen) to solve this matter. He
    & Darin worked for 5 hours. Then they discovered one thing…

    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >

    HUTCH has the best coverage because “Wherever you go, our network
    follows” 🙂 !!!!

  • Website Reloaded

    A new year … a new look. My site has gone a complete redesign to make it more aesthetic, more feature rich and make maintainence for me easier. And the entire credit goes to Drupal (http://www.drupal.org) for building such a wonderful CMS.

  • Update

    Howdy! Happy Chirstmas and a Merry New Year!!! I hope everyone has a fun filled year and also hope I contribute more time to my website :D. In case you have not noticed (which I am sure you didn’t :)), I have spent quite some time in converting the urls to SEF (Search Engine Friendly). Apart from that I am planning to implement the following in my website:

    • Captcha (for avoiding spamming)
    • Comments for user feedback
    • RSS for delivering content directly to feed readers

    What I recently realized is that I am spending quite sometime in implementing all these functionalities. No problem with that. Except for that it would make more sense in utilizing the same time for writing blogs. Hence I have decided to switch to drupal, a CMS (Content Management System). Some additional reasons for this decision being:

    • Better navigation system for the blog
    • The biggest headache of maintaining a website is checking its compatability across different browsers on different platforms. I belive switching to a CMS will help me address this problem.
    • I was not following any good standards for storing data. I was planning to store my data in XML format but clubbed with other reasons I felt a CMS is a better choice.
    • While I certainly can implement much of the functionality (like adding comments, RSS), I seriously think it is not worth the effort because these solutions are already implemented by CMS.
    • With new features being implemented in web designing, these CMS would implement them pretty early and hence I needn’t have the headache of implementing any new web designing features in my website.
    • Last but not the least, I did not feel there was much of a value add to me by implementing features such as comments in my website. I rather felt that moving my site to drupal would at least help me to get comfortable with drupal.

    So there you have it :). Agreed, you can have more control over the look and design if you hand code every page, but the cons of moving to a CMS simply seem to be huge. Sooo, very soon, you can expect a new look and design for my website. I considered switching to WordPress initially but from the reviews I read WordPress is supposed to be good mainly for blogging. If you want to do many other things with your website (like Photo Gallery, Social Bookmarking), then drupal is the best choice. So keep visiting and keep watching for a completely renovated site.