Grub Prompt
Hi,
In order to explain my problem let me give you the details of my system as follows: HD: 80 GB First OS: Widnows XP Partitions for Windows XP: C, D, E, F, (Free) Installed Second OS: RHEL 5 Partitions/File Systems of Linux: Use the Free space and installed RHEL and specified / and /home partitions. Some 3 GB space was still left free which I found through My Computer - > Manage - > Disk Manage: Code:
C Code:
Grub> Code:
Grub> I was not able to load Windows XP and so I was a little confused this time. I called some other trainer and she asked me to do the following: Code:
Grub> rootnoverify (hd0,0) <enter> and voila! Widnows XP was loading! So, I deleted the Linux partitions and restarted the system. But Grub> prompt was not willing to go away. So, can you show me a way to remove the grub info in order for Windows XP to boot normally as if there were no Linux installed on the system? I have to do those steps over and again to boot from Windows: Code:
Grub> rootnoverify (hd0,0) <enter> One more thing, when I have deleted the Linux partitions why Grub> is still alive? I think it is present in MBR. So, how to troubleshoot it? |
Yes, it is still in the MBR. You can fix it by following this link.
|
Thanks for the link! Got a good deal of info there! But I am not ready to do any R & D on my system so I will do that on a PC in the lab session. Why I don't want to do that on my PC is I read that it can damage the partition table and the partitions can possibly be become unusable or data can get swaped!
So, my question is: Is it safe to run Code:
fixmbr Thanks! |
That's the standard method to restore the MBR to pre-linux state. I've done it a few times with no ill effects.
Is it safe to run? It's as safe as all the other advice on this board. Bottom line, as always, it's your machine and your decision. |
Well, so I didn't like my system to be in such a piteous state. I installed Recovery Console from the CD of Windows XP SP2, restarted the system and got the
Code:
Grub> Code:
Grub> rootnoverify (hd0,0) <enter> In the first attempt: Code:
C:\WINDOWS> fixmbr C: In the second attempt: Code:
C:\WINDOWS> fixboot C: So, finally I installed RHE Linux 5 again and I got rid of the piteous state of my system. But the question is: How could I really get rid of the Grub> prompt? One more thing, what should be the proper or ideal steps of removing Linux from your system when you have Windows already installed and don't want to reinstall it? |
Quote:
|
|
BTW there are no partitions associated with unallocated or free space nor can it be deleted. If you really deleted a partition as you stated in your first post you probably deleted your / partition. The reason you were only seeing the grub prompt was as stated due to the fact that the grub menu.lst file was deleted which Redhat typically locates in the /etc directory. fixmbr will remove grub and restore the MS bootloader to the MBR. To remove linux just run fixmbr and delete your linux partitions. You can create new or resize your existing windows partitions as desired.
|
Get rid of Grub prompt!
Yes, this will do:
Go in Recovery Console and type the following command: Code:
C:\WINDOWS> fixmbr <enter> Thanks to you all! |
Code:
The reason you were only seeing the grub prompt was as stated due to the fact that the grub menu.lst file was deleted which Redhat typically locates in the /etc directory. Well, there is no menu.lst file in my /etc folder. Please, note that only RHEL 5 is installed on my other PC where I looked for that file. Is it created only when we have more than one OS? |
I might of been somewhat dyslectic.. /etc/grub.conf which is a symlink to /boot/grub/grub.conf
|
All times are GMT -5. The time now is 06:35 PM. |