On Friday 04 July 2003 15:29, you wrote:
GLUG Meeting on 13th July, 4pm at KReSIT, IIT Campus, Powai.
How will u install grub after reinstalling the windows ..... Hi,
how do u reinstall grub after u have reinstalled windows and it has erased the MBR to its own convinience.
The procedure is Windows then GNU/Linux! Anyway now that you've done the thing I'll try help you look at the process of generating the answer out of the problem you asked...
1. Without GRUB you can't have the installed GNU/Linux system running 2. Without access to a GNU/Linux system you can't write GRUB onto the MBR.
So the natural way to proceed will be to have some sort of a basic GNU/Linux system (shell only + little admin utils) running. A boot floppy fits the bill perfectly. That brings us to another best-practice... always make boot floppies. If you're lucky, the 1.44 things might just work before dying ;).
But incase you haven't made boot floppies, use your installation disks in "rescue mode" to get a shell up and running as root. Now you could either make a boot floppy OR install GRUB on the MBR direct.
Interestingly, the same solution applies if you've forgotten the root password. One needs to use 'chroot' and 'chpasswd' cleverly.
Before you try to modify you're MBR make sure you have a working copy of grub.conf or lilo.conf _outside_ your system. Also make sure you've gone through the man/info pages gleaning as much as information as possible. I guess... reading the man/info pages is another chicken-hen problem... just browse the Internet.
Best of luck,
Amol Hatwar.