LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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-27-2009, 03:55 AM   #1
ajatshatru
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
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

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

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

try this
http://www.cyberciti.biz/faq/linux-h...ninstall-grub/
 
Old 11-27-2009, 06:17 AM   #3
ronlau9
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
Quote:
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
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: /root
Distribution: Slackware & BSD
Posts: 1,208

Rep: Reputation: 230Reputation: 230Reputation: 230
ajatshatru,

We use here your question at the other double posted thread, it says:
Quote:
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:
Quote:
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

Reboot.

Hope this helps.
Good luck.

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


Reply


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


All times are GMT -5. The time now is 12:56 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration