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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
01-11-2003, 08:29 AM
|
#1
|
|
Member
Registered: Dec 2002
Location: New Hampshire
Distribution: Red Hat 8
Posts: 176
Rep:
|
Getting rid of GRUB
I used family machine to test drive Linux (dual boot with Windows 98). I love Linux and have since built my own machine with only Linux on it. This morning I tried to rededicate the old machine to windows for the kids. Using Partition Magic, I removed the partitions for Linux. When rebooting, Grub prompt comes up and I can't seem to get around it.
Anyone have suggestions? This is a pretty serious situation here as far as the kids are concerned.
|
|
|
|
01-11-2003, 08:48 AM
|
#2
|
|
Member
Registered: Dec 2002
Location: New Hampshire
Distribution: Red Hat 8
Posts: 176
Original Poster
Rep:
|
More info...
Possible commands are: background blocklist boot border cat chainloader cmp color configfile debug display displayapm displaymem embed find foreground fstest geometry halt help hide impsprobe initrd install ioprobe kernel lock makeactive map md5crypt module modulenounzip partnew parttype password pause read reboot root rootnoverify savedefault serial setkey setup shade splashimage terminal testload testvbe unhide uppermem vbeprobe viewport
|
|
|
|
01-11-2003, 09:01 AM
|
#3
|
|
Member
Registered: Oct 2002
Location: San Antonio, Texas
Distribution: MDK 8.0, 9.0; RH 7.2, 8.0, 9.0, FC3, FC4, FC5
Posts: 355
Rep:
|
Been there, done that and got the tee-shirt.
Grub was in your MBR and now cannot find its files it had put on the now-deleted Linux partitions. You want to put your Windows computer back to the way it was. It is as simple as having Windows put its boot loader back in the MBR.
If you have a Windows boot disk, use it to start the computer and type this:
fdisk /mbr
Windows will overwrite the non-working Grub with its original, working boot loader.
If you don't have a boot disk, use the Windows 98 CD and have it do a Rescue boot (I think it does that). You do not want to reinstall the program, though! This would start your computer and allow you to access fdisk from the hard drive.
Your computer will work, the kids will be happy, you will be a hero!
Good luck
Last edited by deadbug; 01-11-2003 at 09:06 AM.
|
|
|
|
01-11-2003, 09:25 AM
|
#4
|
|
Member
Registered: Dec 2002
Location: New Hampshire
Distribution: Red Hat 8
Posts: 176
Original Poster
Rep:
|
Deadbug, I do appreciate your suggestions. Unfortunately, the system did not come with a windows CD--a practice I think is terribly wrong--and I could not find a boot disk. Royally screwed here...
I am reinstalling Linux right now to see if that helps me.
|
|
|
|
01-11-2003, 09:55 AM
|
#5
|
|
Member
Registered: Dec 2002
Location: New Hampshire
Distribution: Red Hat 8
Posts: 176
Original Poster
Rep:
|
Deadbug,
It would appear that all is well here after reinstalling RH8 and letting it create the partitions again. (Wiping sweat from brow)
I guess I will get my act together before I try that again. I was drastically unprepared. lol
Thanks, man!
|
|
|
|
01-11-2003, 10:06 AM
|
#6
|
|
Member
Registered: Oct 2002
Location: San Antonio, Texas
Distribution: MDK 8.0, 9.0; RH 7.2, 8.0, 9.0, FC3, FC4, FC5
Posts: 355
Rep:
|
Yeah, reinstalling Red Hat, put Grubs configuration files back on and will now let you start both programs. If you still want to remove Red Hat from the computer, first, use Windows to fix the MBR, then delete the partitions. With Windows now working, load it and at a DOS prompt type:
fdisk /mbr
This will overwrite Grub and then you can delete the Red Hat partitions and rededicate that space to Win98.
Glad to hear you are at least out of the dog house now!
|
|
|
|
01-11-2003, 10:28 AM
|
#7
|
|
Member
Registered: Dec 2002
Location: New Hampshire
Distribution: Red Hat 8
Posts: 176
Original Poster
Rep:
|
Deadbug, I have my courage back and so I did the fdisk /mbr at DOS prompt. I then thought I'd reboot to see the effect. My assumption was that it would boot Windows. Instead it says "Missing operating system"
What now, mate?
Should I boot with Partition Magic disk and just delete the partitions? It doesn't feel right...
|
|
|
|
01-11-2003, 01:58 PM
|
#8
|
|
Member
Registered: Dec 2002
Location: New Hampshire
Distribution: Red Hat 8
Posts: 176
Original Poster
Rep:
|
Deadbug,
A couple of things... First: I am having trouble with affero. Don't know why. I have used it before, but can't seem to today. I will get it straightened out and I won't forget you for the help with smartes' post.
Second: I am back to square one--a dual boot system that I'd like to re-dedicate to windows exclusively. The last thing you told me was to fdisk /mbr and then remove linux partitions with Partition Magic, but I am a little gun shy as a result of what I just went through. I can only assume that I should do it again and carry on to the second step which is remove the linux partitions, but I am very weary, as Linux was what enabled me to fix the missing operating system problem. If it's gone I fear I will be hopelessly lost.
|
|
|
|
01-11-2003, 02:04 PM
|
#9
|
|
Member
Registered: Oct 2002
Location: San Antonio, Texas
Distribution: MDK 8.0, 9.0; RH 7.2, 8.0, 9.0, FC3, FC4, FC5
Posts: 355
Rep:
|
Don't delete them yet--we need to get your system running until we can make sense of this.
Put the Red Hat boot disk in and get linux running. In a terminal window, type:
grub-install /dev/hda
That will get Grub working again.
Now, back to the basic idea--obviously, "Missing operating system" wasn't supposed to happen!
Does Windows boot with Grub installed?
Anyone else who is looking at this have any ideas? A non-NT system (Win98) and fdisk /mbr didn't fix the MBR.
|
|
|
|
01-11-2003, 02:17 PM
|
#10
|
|
Member
Registered: Oct 2002
Location: San Antonio, Texas
Distribution: MDK 8.0, 9.0; RH 7.2, 8.0, 9.0, FC3, FC4, FC5
Posts: 355
Rep:
|
Looks like we're posting at the same time!
Sorry about the confusion over grub-install and /sbin/grub-install. I thought Red Hat would put the /sbin directory in root's path; apparently not. I'll keep that in mind in future posts!
Anyway, your system is back working as a dual boot and I'm heading away for the weekend. Let's give it til tomorrow evening to see if someone can help us with why fdisk /mbr didn't work.
Have a good one
|
|
|
|
01-11-2003, 02:41 PM
|
#11
|
|
Member
Registered: Dec 2002
Location: New Hampshire
Distribution: Red Hat 8
Posts: 176
Original Poster
Rep:
|
Deadbug, ok. I am happy to sit on my hands for a while. I am still having trouble with affero, but I want you to know I really do appreciate your help.
Have a great weekend and be safe.
Kind regards,
TAH
|
|
|
|
01-12-2003, 02:34 PM
|
#12
|
|
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731
Rep:
|
Just a thought - check the partitions (with msdos fdisk) and make sure that the Windows partition is marked active. You may need to try the fdisk /MBR again.
|
|
|
|
01-12-2003, 02:40 PM
|
#13
|
|
Member
Registered: Dec 2002
Location: New Hampshire
Distribution: Red Hat 8
Posts: 176
Original Poster
Rep:
|
msdos fdisk? I'm afraid I may need some very specific instructions here to do what you suggest, i.e., to check if they're active.
Regarding trying fdisk /MBR again: I have done that per your suggestion to someone else. In fact, I did it twice and with the capitals (MBR). No luck. I get "Missing operating system" just as before.
|
|
|
|
01-12-2003, 03:03 PM
|
#14
|
|
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731
Rep:
|
You need the windows/dos version of fdisk and it has to be the same dos/win version as what's on your machine.
The fdisk application is menu-driven dos utility and it''s pretty much self-explanatory. Unfortunately I don't have a dos console to test on at the moment otherwise I could refresh my memory.
|
|
|
|
01-12-2003, 03:34 PM
|
#15
|
|
Member
Registered: Dec 2002
Location: New Hampshire
Distribution: Red Hat 8
Posts: 176
Original Poster
Rep:
|
hmmmm
I am not sure how to proceed from here.... "You need the windowos/dos version of fdisk...[same as what's on your machine]"
I'm lost
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:24 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|