Home · Compatibility Lists · Support Forums · FAQ · News Archive · Articles · Submit News/Upcoming News
NT Compatible
advertisement


Forum overview » Networking » How to remove GRUB loader!? (1/1)

Reply New Poll

How to remove GRUB loader!?
Author Message
zadrras
Member


Icon 2004-08-12 12:59:42

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?

Post #143448
Edit Quote Print Solution Plonk Delete
zadrras
Member


Icon 2004-08-12 13:03:14

.

Post #143450
Edit Quote Print Solution Plonk Delete
AndyFair
Senior Member


Posts: 748
From: At home
Joined: 2001-05-21
Member No.: 5852
Icon 2004-08-13 04:59:48

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:

fixmbr

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

Post #143511
Edit Quote Print Solution Plonk Delete
aruwin
Junior Member


Posts: 2
Joined: 2004-09-05
Member No.: 39389
Icon 2004-09-05 12:32:59

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

Post #145149
Edit Quote Print Solution Plonk Delete
cybersam
Junior Member


Posts: 1
Joined: 2004-09-06
Member No.: 39537
Icon 2004-09-06 15:30:39

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.

Post #145193
Edit Quote Print Solution Plonk Delete
Alec§taar
Account Disabled


Posts: 207
From: A discrete point in the Space-Time Continuum...
Joined: 2001-04-17
Member No.: 5614
Icon 2004-09-11 08:39:20

I am going to go with what AndyFair stated too, because I agree:

Use the Recovery Console & do the FixMBR commandline... & not the DOS one.

Why?

Well, because this is about Windows NT-based Operating Systems, & the use of another Operating System's disk mgt. tools MIGHT NOT be the best idea here... especially DOS, & if the initial poster uses NTFS (which is exclusive to NT-based Operating Systems, whereas DOS only had Fat-16).



* GRUB loader, I've never heard of it... Is this a LINUX thing?

I ask that, because MAYBE in this case with this tool, cybersam's right about using DOS tools in that regard though!

However, it yells to me "watch it" for the reasons I state above.

(BOTTOM LINE - IS Anyone here REALLY familiar with this "GRUB" tool & its mechanics? I am not... & we need someone who is I think!)

APK

P.S.=> Additionally, once FixMBR Recovery Console command is used? Once you reboot, go to your BIOS & enable "Boot Sector Virus Protection" IF your BIOS has that option. Most modern ones do, & this should stop anything from undoing FixMBR's actions, even GRUB (wish I knew more about it, I don't use it, so have to take guesses on how to stop it)... apk


[Edited by Alec§taar on 2004-09-11 09:40:20]

Post #145483
Edit Quote Print Solution Plonk Delete
AndyFair
Senior Member


Posts: 748
From: At home
Joined: 2001-05-21
Member No.: 5852
Icon 2004-09-13 12:00:14

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

zadrras - I'm not sure why fixmbr doesn't work - it's always worked for me in the past. You could try fixboot 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

Rgds
AndyF

Post #145628
Edit Quote Print Solution Plonk Delete
Alec§taar
Account Disabled


Posts: 207
From: A discrete point in the Space-Time Continuum...
Joined: 2001-04-17
Member No.: 5614
Icon 2004-09-13 14:11:11

Originally posted by AndyFair:
"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 "


Looks matter! Ease-of-use additionally... e.g.-> Commandline DOS Window/terminal/consoles vs. GUI apps!

(Part of why I did a Tcp/IP worktools set in my toolset in fact: Folk's don't want to work HARDER, they want to work SMARTER (gui easy point-n-click FASTER & SMARTER, usually)).

I think of software I use like I do women &/or cars - You have two girls that can cook, are nice women to be with as people, & do the job in all facets of "human-being'ness", except... One looks as nice as a Ferrari, & the other is just an ordinary car!

(Ala Microsoft - "WHERE DO YOU WANT TO GO TODAY?", lol!)

* Sad, but quite OFTEN, true - Men? We're pigs! lol...

Originally posted by AndyFair:
"zadrras - I'm not sure why fixmbr doesn't work - it's always worked for me in the past. You could try fixboot instead, which will rewrite all of the Windows boot files."


FixBoot rewrites the boot.ini file, correct? If his is NOT pointing to a valid %WinDir% anymore, it fixes that iirc.

(That COULD be possible, if he for instance, switched drive letters OR the %WinDir% has been blown away...)

Originally posted by AndyFair:
"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

Rgds
AndyF"


Agree again on your 3rd point, & same reasoning here!



APK

Post #145641
Edit Quote Print Solution Plonk Delete
chriss
Junior Member


Posts: 1
Joined: 2004-10-24
Member No.: 45158
Icon 2004-10-24 17:49:57

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!

Post #148854
Edit Quote Print Solution Plonk Delete
croma
Junior Member


Posts: 1
Joined: 2004-11-11
Member No.: 47197
Icon 2004-11-11 11:32:33

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

Post #150012
Edit Quote Print Solution Plonk Delete
tftan
Junior Member


Posts: 1
Joined: 2004-11-21
Member No.: 48433
Icon 2004-11-21 20:17:50

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.


Post #150817
Edit Quote Print Solution Plonk Delete
_neo_
Junior Member


Posts: 2
Joined: 2004-11-27
Member No.: 49098
Icon 2004-11-27 09:19:36

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

Post #151227
Edit Quote Print Solution Plonk Delete
_neo_
Junior Member


Posts: 2
Joined: 2004-11-27
Member No.: 49098
Icon 2004-11-27 09:28:44

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

http://www.gnu.org/software/grub/grub-legacy-faq.en.html#q12

Post #151228
Edit Quote Print Solution Plonk Delete
jbirkett
Junior Member


Posts: 2
Joined: 2005-01-08
Member No.: 54504
Icon 2005-01-08 21:15:58

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

Post #154566
Edit Quote Print Solution Plonk Delete
intenzity513
Junior Member


Posts: 3
Joined: 2005-01-10
Member No.: 54779
Icon 2005-01-10 18:33:45

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.


Post #154722
Edit Quote Print Solution Plonk Delete
intenzity513
Junior Member


Posts: 3
Joined: 2005-01-10
Member No.: 54779
Icon 2005-01-11 17:04:40

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

l8

Post #154819
Edit Quote Print Solution Plonk Delete
jbirkett
Junior Member


Posts: 2
Joined: 2005-01-08
Member No.: 54504
Icon 2005-01-12 10:49:11

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

Post #154892
Edit Quote Print Solution Plonk Delete
intenzity513
Junior Member


Posts: 3
Joined: 2005-01-10
Member No.: 54779
Icon 2005-01-28 05:21:21

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

Anyway, just some thoughts....anyone else

l8

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

Post #156182
Edit Quote Print Solution Plonk Delete
Jasbo
Member


Posts: 46
Joined: 2002-12-01
Member No.: 15753
Icon 2005-01-28 05:39:42

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.

Post #156183
Edit Quote Print Solution Plonk Delete
ishmach
Junior Member


Posts: 1
Joined: 2006-08-03
Member No.: 82894
Icon 2006-08-03 04:49:11

Originally posted by intenzity513:
"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.

Post #174394
Edit Quote Print Solution Plonk Delete
thereisonlyone
Junior Member


Posts: 1
Joined: 2006-08-03
Member No.: 82895
Icon 2006-08-03 08:12:17

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:
"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.

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!!!

Post #174398
Edit Quote Print Solution Plonk Delete

Reply New Poll

Forum overview » Networking » How to remove GRUB loader!?

Legend
View   View profile
Solved   Mark this post as solution (topic starter only)
Quote   Reply with quote to post
Edit   Edit post
Delete   Delete post (admin only)

Moderator: Open / Close / Bump / Delete / Move / Merge

All products mentioned are registered trademarks or trademarks of their respective owners.
© 1998-2009 Esselbach Internet Solutions - All Rights Reserved. Terms and privacy policy
Website powered by Esselbach Storyteller CMS System