two years ago i install for the first time linux on a slave hd, in the master hd i had windows, in a few months i was using only linux but , thanks to the flexibility of the system i just gave proper format to the master disk and use it as my /home. i didn't take in account the fact tat the mbr in the master disk was just redirecting the booth process to the mbr of the slave disk, yesterday i lend my linux disk, and the system at startup just showed a message saying that there were no grub. of course there were no grub it left with my disk!!.
i am going to overwrite the mbr with the windows loader ntldr, what i want to know is : once my linux disk is back, how can i restore the former mbr to use grub?.
Thanks in advance
So now the hard drive that was a slave is now the master?
Do you have a linux install disk?
With that you should be able to boot into your system and do this as root
Don't do the fixmbr thing, if you do it will be much harder to get grub back.
no, the slave disk was always slave, but it is the disk where i have linux on. if i don't do the fixmbr thing, how can i temporary use the windows loader while i get back my linux hd?
The slave disk where you have linux on, why don't you just make it the Master and then install Grub to the mbr from there.
What distro is this?
The instructions for putting grub back on the mbr depend on what distro this is.