you have to reinstall the bootloader.
You can do that with a live-cd, like knoppix.
Start-up the live cd, open a terminal and go to linux dir.
go root type: grub [return]
(grub is in the root of the partition linux is on, except the number 1 is in grub 0.
Windows is at hd0, there is where the grub must be installed, so:
If linux is on fi. hda2, in grub this would look like: hd0,1)
If grub returns, you type: root (hd0,1)[return]
than you type: setup (hd0) [return]
and that's it.
Here is an example:
Code:
grub> root (hd1,5)
Filesystem type is reiserfs, partition type 0x83
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/reiserfs_stage1_5" exists... yes
Running "embed /boot/grub/reiserfs_stage1_5 (hd0)"... 20 sectors are embedded
.
succeeded
Running "install /boot/grub/stage1 d (hd0) (hd0)1+20 p (hd1,5)/boot/grub/stage
2 /boot/grub/menu.lst"... succeeded
Done.
grub>
In the example is my SuSE at the second harddrive, in the 6th partition.
Harddrive 2=hdd (=hd1 in grub)
6th partition =hdd6 (hd1,5 in grub)
First drive =hda (hd0 in grub)
It is realy very simple, it just looks difficult.....