LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 01-17-2004, 11:40 AM   #1
jlbincr
LQ Newbie
 
Registered: Jan 2004
Location: Iowa
Distribution: Red Hat 9
Posts: 1

Rep: Reputation: 0
Question 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
jlbincr
 
Old 01-17-2004, 12:09 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
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.
 
Old 02-21-2004, 09:11 AM   #3
jorgil
LQ Newbie
 
Registered: Feb 2004
Posts: 1

Rep: Reputation: 0
help

i have the same problem, but the fdisk /mbr command doesn't work with me.
I have windows XP proffessional
 
Old 02-21-2004, 10:45 AM   #4
Boeboe
LQ Newbie
 
Registered: Feb 2004
Location: Leuven
Distribution: Redhat 9
Posts: 3

Rep: Reputation: 0
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...?


Last edited by Boeboe; 02-21-2004 at 10:52 AM.
 
Old 02-21-2004, 10:48 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub troubles. Moving linux from hda to hdb Zarneth Linux - General 3 06-29-2005 04:57 PM
Where do I put Grub? hda (XP) or hdb(FC2)? TimDog Fedora - Installation 1 10-04-2004 05:56 PM
How can I boot either one of my hard drives /dev/hda or /dev/hdb, I have RH9 and FC2 omogunkristi Linux - General 1 06-21-2004 05:11 AM
moving hdb to hda linux inside Linux - Software 2 08-13-2003 04:57 PM
[HELP] GRUB problems!!! (WindowsXP-hda / RedHat8.0-hdb) jpsrm Linux - General 7 01-08-2003 09:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration