Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-27-2009, 03:55 AM   #1
LQ Newbie
Registered: Nov 2009
Posts: 3

Rep: Reputation: 0
remove grub boot loader

i have 2 os redhatlinux 5.1 and windows xp. is it possible to remove grubboot loader.
Old 11-27-2009, 04:08 AM   #2
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707

Rep: Reputation: 55
Originally Posted by ajatshatru View Post
i have 2 os redhatlinux 5.1 and windows xp. is it possible to remove grubboot loader.

Why u want to remove grub ?
I you remove grub you will not be able to boot, to either of the OSes

try this
Old 11-27-2009, 06:17 AM   #3
Senior Member
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Originally Posted by ajatshatru View Post
i have 2 os redhatlinux 5.1 and windows xp. is it possible to remove grubboot loader.
What do like to do only use windows xp ?
In that case you have to reinstall windows boot loader.
There are many threads how to reinstall windows boot loader.
So google for it.
But before that down load geparted to format redhatlinux partition in NTFS again
Old 11-27-2009, 07:33 AM   #4
Senior Member
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498

We use here your question at the other double posted thread, it says:
have 2 os in my system( redhat linux 5.1 and windows xp).is it possible to remove grub boot loader without any effect on xp .and how can i use windows boot loader for boot linux.
It is always possible to remove grub. If your bootloading runs okay today you should first backup the MBR before doing some alteration. Do this first:

root@host-#: dd if=/dev/sda of=/root/myMBRback bs=512 count=1

<Remember you must be root; or you must 'sudo' to access the device>

Take note of your MBR back up, take note of its location to restore it in case you need to recover and restore the current booting condition.

Now to your question:
how can i use windows boot loader for boot linux
The answer is a NO there is no way. Before, I have tried to manipulate the Xp boot file at C:\boot.txt <hidden file> to pass kernel pointer to grub but ntbootldr cannot interpret upon reaching that point.

Yet the geniuses of redmond can certainly do you that service, customizing you an Xp bootloader to boot a Free OS, under one exclusive language: not C, not C++, but the language of MONEY. If no one has yet managed to configure an ntbootldr to load a Linux OS, then your only way is to make a call to Microsoft and make them an Offer ($$$$$$) that they cannot refuse.

If you want to remain in the fantasy of Matrix then get re-plugged to Microsoft: that is, use the Xp install CD, press "r" to get into the recovery console, there issue the 'restorembr' command at the C:\ use "Help" to get the right syntax reinstalling nt boot loader into the MBR. Reboot to Xp. Delete or reformat the Linux drive. There you can remain until the messiah returns.

If you want to be able to boot to either Xp and Linux then your only choice is Grub or Lilo.

BTW, if you want to restore the current MBR using that back up when using dd, you may only need do this:

root@host--#: dd if=/root/myMBRback of=/dev/sda


Hope this helps.
Good luck.

Last edited by malekmustaq; 11-27-2009 at 07:41 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
I want to remove ubuntu boot loader and use windows boot loader RUshabh55 Linux - Newbie 9 11-29-2009 07:01 PM
Remove grub loader rdm59 Solaris / OpenSolaris 5 06-25-2009 10:50 PM
How can I remove Grub boot loader? TechSonic Linux - Newbie 7 08-06-2005 03:11 PM
How to remove Grub Loader Darthomir Linux - General 12 04-22-2005 10:47 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:12 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration