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.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
e: swap
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?
Windows is notoriously anti-social, and hates sharing space with other OSes. It's at its happiest when you install it on a hard drive first, and THEN add other OSes afterwards, behind it's back.
If you haven't got one already, get hold of a bootable linux disk - Damnsmalllinux is only a 50mb download. That'll get you back into a Linux system, and you can re-install Grub in the MBR from there.
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).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.