LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-19-2004, 09:39 AM   #1
Krun
LQ Newbie
 
Registered: Nov 2004
Posts: 3

Rep: Reputation: 0
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.
 
Old 11-19-2004, 09:54 AM   #2
scottman
Member
 
Registered: Jul 2004
Location: USA
Distribution: Slackware, FreeBSD, LFS
Posts: 72

Rep: Reputation: 15
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?
 
Old 11-20-2004, 02:18 AM   #3
Krun
LQ Newbie
 
Registered: Nov 2004
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
Old 11-20-2004, 11:03 AM   #4
scottman
Member
 
Registered: Jul 2004
Location: USA
Distribution: Slackware, FreeBSD, LFS
Posts: 72

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


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i uninstall grub? Braveheart1980 Linux - Software 12 06-17-2004 07:32 AM
Uninstall GRUB? lexusnexus Linux - General 3 11-13-2003 09:47 PM
How to uninstall GRUB Cone_420 Linux - Newbie 1 03-01-2003 08:22 PM
Uninstall GRUB and Linux nizzy Linux - General 5 11-09-2002 05:14 AM
GRUB Uninstall Reno Linux - Software 1 05-02-2001 03:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:28 PM.

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