For all those who do not want to install both windows and linux but do not want to overwrite their windows MBR.
This trick can help a bit provided you have windows 2k or XP
When installing linux, choose to install boot loader on the root partition or /boot partition(if any).
When you boot into linux mount your windows C drive to some directory e.g. /mnt/C
Launch a terminal, su to root, change to the directory where C drive is mounted.
Type this command.
dd if=/dev/<drive where boot loader is istalled> of=bootsect.lnx bs=512 count=1
e.g.
dd if=/dev/hda3 of=bootsect.lnx bs=512 count=1
Then come back to windows.
Add this line to boot.ini file
C:\BOOTSECT.LNX="<Your distribution name>"
This trick can help a bit provided you have windows 2k or XP
When installing linux, choose to install boot loader on the root partition or /boot partition(if any).
When you boot into linux mount your windows C drive to some directory e.g. /mnt/C
Launch a terminal, su to root, change to the directory where C drive is mounted.
Type this command.
dd if=/dev/<drive where boot loader is istalled> of=bootsect.lnx bs=512 count=1
e.g.
dd if=/dev/hda3 of=bootsect.lnx bs=512 count=1
Then come back to windows.
Add this line to boot.ini file
C:\BOOTSECT.LNX="<Your distribution name>"