If you want to dual boot windows (or another distribution) please read on.
I have two hard drives, one with my production system on it and another that I use for testing new releases. In the past, I have unplugged one harddrive and plugged the other one in whenever I wanted to use the other system (with both of them installed as the primary master /dev/hda).
To get my test drive to work as the primary slave /dev/hdb, I plugged both drives in, my production system as the primary master and my test system as the primary slave. I then booted the production system normally. I then mounted /dev/hdb1 using the command
Code:
mount /dev/hdb1 /mnt
I set this mount point as the temporary root using the command
Code:
chroot /mnt
Now / refers to my test setup on /dev/hdb. I then edited /etc/fstab to replace occurences of hda with hdb. I then edited /etc/lilo.conf to replace occurrences of hda with hdb. I then ran the command
Code:
lilo
to implement the new lilo configuration. I then typed exit so that I was no longer using hdb1 as my root and rebooted.
When I get the bios coming up, I press F11 to get a boot menu and this allows me to select either of the two harddrives to boot from. Depending on your bios, the mechanism for getting it to boot from the primary slave may be different. Selecting the primary master boots my production system and selecting the primary slave boots my test system.
You could do this equally easily with windows on the primary master, but to mount /dev/hdb1 and do the chroot step, you would have to boot from the knoppmyth cd. Hopefully this can answer the dual boot windows questions that frequently come up.