GRUB reinstall

Asked by Mihai Tambur on 2007-11-18

I have 2 OS on my system Kiwi linux and Windows, after reinstalling windows it erased my bootloader from MBR I tried ti install the bootloader to my linux partition it worked well until I start windows and it makes its partition active and the bootloader dose not show again, I've tried to install grub on (hd0,0) it installed itself normally, but destroyed the ntfs filesystem on my windows partition(it is my first partition on the hard disk).

The question is: How can I install GRUB on MBR? Can someone help me please?

Question information

Language:
English Edit question
Status:
Solved
For:
Kiwi Linux Edit question
Assignee:
No assignee Edit question
Solved by:
Jani Monoses
Solved:
2007-11-18
Last query:
2007-11-18
Last reply:
2007-11-18
Best Jani Monoses (jani) said : #1

to install in the mbr use
setup (hd0)
not setup (hd0,0)
as the last step in the grub install
so root (hd0,X) where X is where your /boot dir is, but setup on the disk as a whole

Mihai Tambur (miskamt) said : #2

Thank you for the hint it helped me much.

Mihai Tambur (miskamt) said : #3

Thanks Jani Monoses, that solved my question.