LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Trying to uninstall Grub, Win2000 on HdA; RH9 on HdB? (https://www.linuxquestions.org/questions/linux-general-1/trying-to-uninstall-grub-win2000-on-hda%3B-rh9-on-hdb-135741/)

jlbincr 01-17-2004 11:40 AM

Trying to uninstall Grub, Win2000 on HdA; RH9 on HdB?
 
I have Windows 2k installed as the only OS on my primary HD. I had wanted to install RH9 for quite a while, so when I got a removable HD for some classes I am taking, I installed RH9 on this drive. When I installed (not knowing much) I chose to install the Grub boot loader, when it asked me where I wanted to load it, it suggested that I load it in the MBR of my primary Win2K HD so I did. And it worked great!!! Loved RH9 still do not know that much, but I am learning.
Anyway, now my problem is...
When I take the removable HD out and take it to class etc. I cannot boot Win2k on the fixed HD. The error it gives me is a "Grub Error" just after POST. I am assuming that Grub was partially installed on the MBR of the fixed drive but calls for files on the removable one, which causes it to fail when it cannot access those files.
What I think I want to do now is either uninstall Grub completely and just boot from my boot disk or, figure out a way to get Grub to let me take the one HD out of the system and still be able to boot.
But I do not know how to do either.
Uninstalling RH9 at this point would not be too big of a deal I have not really set much up on it, so if uninstalling and re-installing with a different boot setup is the best option that would be OK. But I am so helpless I am not sure even how to uninstall RH9 so as to make sure that Grub went with it and make it work.

Your help is appreciated!

Major :newbie:
jlbincr

leonscape 01-17-2004 12:09 PM

To simply restore the MBR ( Master Boot Record ) In Windows open up a console and type:

fdisk /mbr

This will restore windows to normal. You can use your boot disk to boot Linux. Grub boots from the master record but needs files from /boot/grub to actually work.

You can set up the windows boot menu too load grub as a secondary boot loader. You need to record a boot sector ( using dd ) and put that on the wondows disk. theres details available google for it, simply look up GRUB and WIn2K bootloader.

jorgil 02-21-2004 09:11 AM

help
 
i have the same problem, but the fdisk /mbr command doesn't work with me.
I have windows XP proffessional

Boeboe 02-21-2004 10:45 AM

1) try typing help

you'll get a list af available command. I think fixboot or bootfix or something like that was one of them.


2) "You can set up the windows boot menu too load grub as a secondary boot loader. You need to record a boot sector ( using dd ) and put that on the wondows disk. theres details available google for it, simply look up GRUB and WIn2K bootloader."

This method doesn't work for me. When you want to try this, how does your Linux boot loader have to be installed (on the MBR or the first part of the Linux Boot Partition (you have these two choices when installing grub or lilo). And what about working with no bootloader at all for your Redhat. And then copying the 512 bytes of bootloader onto your c: and edit boot.ini...?


michaelk 02-21-2004 10:48 AM

Boot the XP install CD to recovery mode and then run the fixmbr utility.

http://www.tprthai.net/bootmgr.htm
http://www.linuxgazette.com/issue61/padala.html


All times are GMT -5. The time now is 05:42 AM.