In this article I will show you how you can convert your Windows XP machine to run linux distributions such as Debian without risking your partition table! You would be wondering what I mean by “risking your partition table!”. Well, last week I had installed Ubuntu on my Windows PC and it had replaced Windows boot loader with Grub. After a while I decided to remove Ubuntu. I opened up the disk administration tool in Windows and re-partitioned the disk to free up the space used by Ubuntu. Then I realized that my Windows system won’t boot anymore! I had use the “Windows recovery disk” and then issue a “fixmbr” to fix my system.
This week I decided to try out Debian and this time I decided to install it on a virtual PC running on top of Windows. This has many advantages. First, there is no risk of corrupting your partition table. Secondly, you can easily add or remove more distributions. Thirdly, your WiFi may not be recognized by Debian net-install, but NAT translation by VMware ensures that WiFi is accessible as ethernet! Another advantage is that you can easily switch to Windows if you want to watch TV on your “Windows only” TV tuner card!
There two leading virtual pc softwares in the market. Microsoft virtual pc and VMware server. Both these are free! I prefer VMware since almost any OS works on it.
Download Debian
You can download Debian ISOs which range from 30MB to 12GB! I decided to download 30MB network install ISO, which is a very minimal ISO. If you use this, the components required for a base system will be downloaded during installation through an ethernet network available for your virtual machine. Also ensure that you download an ISO suitable for your hardware. For me it was an amd64 version(64 bit AMD processor).
Installing VMware
You can download latest version of VMware server from here (about 150MB). You would also need to register to get your free serial key. VMware asks for this key at the last step of configuring a new OS!
When you startup VMware, first you get “connect to host screen”. Select “localhost” since you are not trying out remote hosts.
From the File->New Click on “Virtual Machine”. This is used to configure a new virtual machine to run a different operating system.
1. Select “custom” for virtual machine configuration.
2. Select “Other linux 2.6.x kernel 64-bit” as the guest operating system. If you are not using a 64-bit system,use “Other linux 2.6.x kernel”.
3. Now select the file and directory for the new OS. Ensure that you select a disk which has enough space for the new OS.
4. For access rights, you can decide to make it private (accessible only for your userid) and accept defaults for the startup/shutdown options. You will need to change it if your account doesn’t have administrator privileges.
5. Allocate 50% of your total RAM for the new OS. I have 2GB total RAM and allocated 1GB for Debian.
6. Use NAT for networking and create a new virtual disk and accept defaults (SCSI). Allocate enough space of the virtual disk. I have 8GB for Debian.
Now you need to configure the downloaded Debian ISO as a CD Drive so that Debian installer will start when you boot up your new virtual PC. For this edit the new virtual PC and change the CD configuration as shown below,

Now start your new virtual PC from VMware. Now you should see the following Debian boot console.

Follow the prompts and complete the Debian installation. Debian will download the required components by connecting to internet. If you don’t want this, you can use the complete Debian ISOs (instead of the 30MB business card version).
After installation, the first package I installed was the command line internet browser “lynx” by issuing the command,
apt-get install lynx