LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   uninstall GRUB (https://www.linuxquestions.org/questions/linux-newbie-8/uninstall-grub-256841/)

Krun 11-19-2004 09:39 AM

uninstall GRUB
 
I've told GRUB to install itself into /dev/hda1 which is my Windows XP partition. Now, I can't boot into Windows.

How can I remove it?

fdisk /mbr doesn't help.

scottman 11-19-2004 09:54 AM

It's possible that you installed grub over the first part of your windows partition, rather than on the MBR (grub-install /dev/hda). Grub may have overwritten certain areas of your hard disk that windows relies on. :(

Another possibility is grub didn't install itself because it was a windows file system. In that case we'd need to know a few things. Can you get into grub when you boot? Can you boot into Linux? What error messages do you get when trying to boot to windows?

Krun 11-20-2004 02:18 AM

GRUB just freezes when it starts. I get the message "GRUB" on the screen and it just stops there. It doesn't matter where I install it (MBR, the windows partition...). I get no error messages. Everything seems to be configured OK, the install goes without problems. I can get into linux with the linux CD. The CD has a option Boot Installed System and that works.

scottman 11-20-2004 11:03 AM

Please do not try to install grub on the windows partition. It's meant to be installed on the MBR or on a Linux partition. I'm not sure if it does any damage if you try, but it's possible.

When grub starts, and seems to freeze, are you able to type anything? If you can your on the command line. Also, try typing the letter 'c', and see if that effects anything.

Was grub installed with your linux distro, or are you doing it on your own? If you are doing it independantly, you need to set up a /boot/grub/menu.1st.

When you are logged into Linux, see if that file exists, if it does, post the output.

#ls /boot/grub

#cat /boot/grub/menu.1st

Also, make sure that the last time you installed grub was to the MBR.

Here is a big grub thread.

http://www.linuxquestions.org/questi...hreadid=237511


All times are GMT -5. The time now is 07:15 AM.