Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
my LINUX grub MBR is overwritten by Windows MBR and now i am unable to boot from Linux. can anybody can help in this regard? here is all all situation. sorry for poor english.
once i have installed windows and linux dual boot. like this
c: windows 98 fat32
d: windows 2000 fat32
e: nothing fat32
f: red hat linux ext2
GRUB was installed by linux in MBR.
every thing was working fine
i have c: as only primary and active partition.
then my windows corrupted so i decided to reinstall windows.
i re-installed windows2000 and then comes the problem with GRUB . i dont know wut was that but when i boot the system prompted grub and nothing else i was unable to boot any OS. then i thought that it is problem related to MBR and then installed win98 from win98 bootable CD. win98 got itself right and installed properly with its own MBR overwritten to grub. then i installed win2000 from win98 and now both windows working well. but i lost my linux. i am not getting any way to boot with linux. i have no linux bootable floppy. and i have no backup of MBR. now wut should i do to get dual boot system working? can i do that without installing any os again?
If you have linux installation cd's, you should be able to boot from the first cd, instead of re-installing.
When you are finally in Linux, open a terminal and type grub <enter> to get to the grub prompt.
Then, from the grub prompt:
grub> root (hd0,5) (where hd0,5 is the root of my Linux. edit to suit your setup).
grub> install --stage2=/boot/grub/stage2 /grub/stage1 d (hd0) /grub/stage2 0x8000 (hd0,5)/grub/menu.lst (where your menu.lst or grub.conf file is located. edit to suit your system).
I believe that will get grub working again.
PS Your poor english is better than the english used be some english-speaking natives I've seen on this board.
Last edited by bigrigdriver; 11-11-2004 at 10:39 AM.
I suggest RedHat Rescue (CD 1). I did the exact same thing when I went from 98 to ME. I just hit that Rescue mode, and it practically walked me right through the reinstating of LILO (I like LILO better, but it should do the same for GRUB).