Jump to content


Photo

How to remove GRUB loader!?


  • Please log in to reply
28 replies to this topic

#1 ZadrraS

ZadrraS

    stranger

  • Members
  • 7 posts

Posted 12 August 2004 - 07:59 PM

I deleted all linux partitions with Partition Magic and converted them to FAT32. When i restart my computer the GRUB command line thingie loads and the computer doesn't boot any startup disks or windows cd's. What to do? how do i turn that hing off?

#2 ZadrraS

ZadrraS

    stranger

  • Members
  • 7 posts

Posted 12 August 2004 - 08:03 PM

.

#3 AndyFair

AndyFair

    old hand

  • Members
  • 748 posts

Posted 13 August 2004 - 11:59 AM

You need to go into the BIOS and set the CD to be the first device to boot, put the hard drive second.
Do you have Windows installed already? If so, boot from the CD, enter the recovery console (press R when it asks you whether you want to install windows etc.) When you're at the console, type:

[font:courier]fixmbr[/font]

and that will remove GRUB from your system.

If you don't have Windows installed, GRUB will be overwritten as part of the installation.

Rgds
AndyF

#4 xyz23191

xyz23191

    stranger

  • Members
  • 2 posts

Posted 05 September 2004 - 07:32 PM

HI, I tried what u said andy but in my case the problem remains. Please do tell me an alternate method!


#5 cybersam

cybersam

    stranger

  • Members
  • 1 posts

Posted 06 September 2004 - 10:30 PM

It is very simple to restore a DOS or Windows MBR. Just enter the MS-DOS command (available since DOS version 5.0) fdisk /MBR. These commands only write the first 446 bytes (the boot code) into the MBR and leave the partition table untouched.

#6 AndyFair

AndyFair

    old hand

  • Members
  • 748 posts

Posted 13 September 2004 - 07:00 PM

AlecStaar - GRUB is a Linux bootloader, similar to lilo. It seems to be becoming more popular in Linux distros to use GRUB rather than lilo, I think it's because GRUB looks nicer wink

zadrras - I'm not sure why fixmbr doesn't work - it's always worked for me in the past. You could try [font:courier]fixboot[/font] instead, which will rewrite all of the Windows boot files.

cybersam - I suggested using the Windows install CD becuase the chances of zadrras having a DOS disk spare were slim (I don't have one either) and since he couldn't get into Windows, he couldn't run a command prompt from there either :P

Rgds
AndyF

#7 chriss

chriss

    stranger

  • Members
  • 1 posts

Posted 25 October 2004 - 12:49 AM

I had both SUSE 9.1 and XP Home on my Vaio S-150. I removed the Linux partition using Windows Partition manager. I get a GRUB message popping up when I turn on my computer. How do I delete it? I dont have a backup disk because it did not come with one. I do have a disc but it is for XP Pro. I tried loading that but it wont boot the CD. I went into my BIOS to change it to boot the CD Drive before the HDD. It wouldnt let me change it. What do I do? Thank You!

#8 croma

croma

    stranger

  • Members
  • 1 posts

Posted 11 November 2004 - 07:32 PM

Hey,

You need a boot disk (cd or floppy) with fdisk on it, then run
fdisk /mbr.

This worked for me with LILO and it should work with GRUB.

http://www.nu2.nu/bootdisk/cdrom/

Croma

#9 tftan

tftan

    stranger

  • Members
  • 1 posts

Posted 22 November 2004 - 04:17 AM

fixboot won't solve the problem. I tried already. you need to use fixmbr to remove grub. fixmbr available for XP but not in Win NT4.

alternatively, you can use grub to help you to boot your windows by directing the GRUB to load your NTLoader.

grub> rootnoverify (hd0,0)
grub> makeactive
grub> chainloader +1
grub> boot

Assuming your Windows is in HDD 1 and partition 1.

grub is a tool helping you to choose which OS you want to load if your machine loaded with multiple OSs.



#10 _neo_

_neo_

    stranger

  • Members
  • 2 posts

Posted 27 November 2004 - 05:19 PM

Check that your windows partition is set to ACTIVE.

I tried the "fdisk /mbr" & still had Grub showing also.
After checking fdisk again, I noticed the /mbr option had removed the ACTIVE flag.
This seemed to have done the trick for me.

PS: check also http://www.linuxquestions.org

#11 _neo_

_neo_

    stranger

  • Members
  • 2 posts

Posted 27 November 2004 - 05:28 PM

Also, here is the official Grub FAQ on uninstalling Grub...

http://www.gnu.org/s...faq.en.html#q12

#12 jbirkett

jbirkett

    stranger

  • Members
  • 2 posts

Posted 09 January 2005 - 05:15 AM

Sorry i'm late in the game with this, but it does not appear that this has been answered successfully. You do not, i repeat, do not want to use fdisk /mbr with Windows NT or XP. That method is for dos based systems and not NT based systems. You swill most likely have success with the following:

fixboot c:
fixmbr

is you want to change the boot.ini file then execute the command:

bootcfg /rebuild

the last will put a new entry in the boot.ini file.

To do this successfully you should have started your system from the Windows XP CD and selected the 'repair' option.
This also assumes that you have not moved any partitions around, that is in the order or number that they exist on your HDD. If you have then you should execute bootcfg and rewrite the boot.ini file.
You also should be in the root directory, as in 'C:\' not 'C:\windows'.

Please don't ask me why I know this so well. As most people in our industry know so well, sometimes you lear VERY well by experience.

Hope this helps others.
John

#13 intenzity513

intenzity513

    stranger

  • Members
  • 3 posts

Posted 11 January 2005 - 02:33 AM

Ok so what do you do when you want to uninstall GRUB from a SFS/NTFS Volume, and FIXMBR does not work?

I have this problem on a XP volume in which GRUB was installed into the MBR/replaced the MBR, and FIXMBR will not remove it or repair the MBR. This is a SATA drive.



#14 intenzity513

intenzity513

    stranger

  • Members
  • 3 posts

Posted 12 January 2005 - 01:04 AM

After trying to recover a MBR on a SFS/NTFS volume after uninstalling GRUB from SUSE 9.2, the only way to repair a SFS/NTFS MBR is to use FDISK v1.2.1 with the /MBR <drive#> tag. FIXBOOT & FIXMBR do not work. ALSO, once you rebuild the MBR using FDISK, FIXMBR cannot be used to repair/replace the MBR. MS FDISK will not work, it must be FDISK v1.2.1

smile l8


#15 jbirkett

jbirkett

    stranger

  • Members
  • 2 posts

Posted 12 January 2005 - 06:49 PM

I do know why DOS FDISK won't work, but I was able to accomplish the fix with FIXBOOT and FIXMBR, then BOOTCFG.
It only worked if I was in the root directory for the instance that I wanted to fix:

example:
when selecting repair function used
C:\WINDOWS
CD ..
FIXBOOT C:
FIXMBR
BOOTCFG /rebuild

after all that I was able to select the new entry from the selection menu.

Like I said, I don't know why you could not get it to work.
Regards,
John

#16 intenzity513

intenzity513

    stranger

  • Members
  • 3 posts

Posted 28 January 2005 - 01:21 PM

I am curious as to which version of Microslush you have installed, and having FIXMBR and FIXBOOT solve the issue. The system I encountered this issue on was a MS XP PRO box w/SP2 and all the latest hotfix's installed (including IE updates, natrualy, and hahah, of course almost impossible to avoid:):) Anyway, like I stated before, if it's this combination of OS's (SUSE 9.x, and XP PRO SP2/later) I would love to see someone come forth having had FIXMBR and FIXBOOT solve the MBR corruption issue from a SUSE GRUB boot loader installation/un-installation/failed installation. Unless this test machine I encountered this issue on is "special" per say, I would go as far as saying that you have NO OTHER OPTION other than using FDISK 1.2.1 when its XP PRO SP2 and Grub from SUSE 9.x). I could be wrong, so if you have experienced this issue having meet the following above mentioned OS requirements, and were able to fix it using the MS supplied toolset, please speak up because we want to know what the deal really is with the random intermittent?ness? of such issues, although, 97% chance it will be blamed on a ?un-supported? hardware platform.

I do admire MS software, but one thing that I have noticed throughout the years in supporting, using, developing, and often times enjoying it, is that Windows/MS based apps are the single most intermittent POS available at times. I realize the very broad range of hardware platforms does playa major role in such intermittent"ness" in regards to software/development issues, but now-a-days, in this year of 2005, the hardware platforms we are working with, even for most clones, are almost identical in construction and somewhat regulated and ?standardized?, this obviously due to many years of developer's and engineer's trying to accomplish exactly that, a IBM PC based architecture that runs efficient, with solid performance and reliability, yet somewhat standardized even across multi-corporation/manufacture platforms. This is the #1 reason Macs have 60% less support issues with their OS/Software. Just a thought. Anyways, who likes macs anyway, 5 minutes with a one button mouse, and I will place a large wager in Vegas on the fact that you probably ripped it out of the box and destroyed it in a very understandable and most lilkly enjoyable fit of rage as I did smile

Anyway, just some thoughts....anyone else smile smile

l8

intenzity
_____________________________________________________________________________________
EliTE PEOPLE R0CK, but PUBLIC DOMAIN IS BETER, but why? LOL, EXACTLY Mate.

#17 Jasbo

Jasbo

    newbie

  • Members
  • 46 posts

Posted 28 January 2005 - 01:39 PM

I have used FIXMBR to remove the grub loader on a windows xp sp2 system just a few days ago. I was running Windows XP and Fedora Core 3. worked just fine.

#18 ishmach

ishmach

    stranger

  • Members
  • 1 posts

Posted 03 August 2006 - 11:49 AM

Originally posted by intenzity513:
Quote:
Ok so what do you do when you want to uninstall GRUB from a SFS/NTFS Volume, and FIXMBR does not work?

I have this problem on a XP volume in which GRUB was installed into the MBR/replaced the MBR, and FIXMBR will not remove it or repair the MBR. This is a SATA drive.



I had the same problem. I have a SATA drive and an EIDE drive. XP always wants to think the EIDE drive is the first, and when in recovery mode it would think the installation was at D:\Windows -> this caused the FIXBOOT/FIXMBR/BOOTCFG combo not to work. When I disabled the EIDE drive and tried again, it worked out fine. Just simplify the process by temporarily disabling extra drives in the BIOS.

#19 thereisonlyone

thereisonlyone

    stranger

  • Members
  • 1 posts

Posted 03 August 2006 - 03:12 PM

I used this method and had absolutly no troubles with removing the Grub 1.5 Loader that came with Kubuntu. I have multile hard drives but since i only have one windows installation it happened to be in c:\windows. I didnt even have to disable any of my other hard drives...


Originally posted by jbirkett:
Quote:
C:\WINDOWS
CD ..
FIXBOOT C:
FIXMBR
BOOTCFG /rebuild



I noticed that i ended up with a second instance of "Microsoft Windows XP Professional" in the NTLoader when I start up. But that will be quickly removed when I edit the boot.ini file in Windows to remove it. wink

Thanks!!

===========================================================================
Asus A7N8X
Athlon 2600+ Barton Core
1GB DDR RAM Dual Channel
128MB Radeon 9600XT
Sound Blaster Audigy 2 7.1
hey...It's 3 years old and still holds it's own...
....even up against a brand new DELL XPS!!!


#20 Aves

Aves

    stranger

  • Members
  • 1 posts

Posted 26 September 2006 - 12:15 AM

That above solution doesn't work. I have Windows 2K and it says fixboot c: is not a command.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

IPB Skin By Virteq