Visit Jeremy's Blog.
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-25-2002, 12:18 PM   #1
LQ Newbie
Registered: Nov 2002
Posts: 6

Rep: Reputation: 0
How do I remove Grub

I have (2) partitions on my single hard drive, XP on first and Red Hat 8.0 on the second. When I installed Red Hat, I installed Grub to handle dual boot and if I remember correctly installed Grub on first Red Hat partition not in the MBR and set XP as default.

For extra privacy I want to remove Grub so it will load just XP and use the boot disk I created to boot Red Hat. Can someone tell me step by step (in layman's terms) how to accomplish this? I'm very new to Linux so I need step by step instructions.

Old 11-25-2002, 03:29 PM   #2
Registered: Oct 2002
Location: Curitiba - Brazil
Distribution: Conectiva
Posts: 334

Rep: Reputation: 30
Hi kmay,

In order to clean your mbr you can or use `fdisk /mbr` (with a dos fdisk) or use

# dd if=/dev/zero of=/dev/HDX bs=512 count=1

in Linux, considering HDX is the destination of your disk ...

But to restore Windows boot I think you will need a bootdisk of your Windows version and then enter `sys c:`

Hope that helps ...
Old 11-25-2002, 04:49 PM   #3
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 8.04
Posts: 668

Rep: Reputation: 31
# dd if=/dev/zero of=/dev/HDX bs=512 count=1
This will render your hard drive unbootable. Use fdisk /mbr or use your fixboot, or is it fixmbr, utilities in WinXP.

An MBR MUST have boot code on it, unless you don't want the device to be usable.


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
how to remove grub from the grub prompt haroon110 Fedora - Installation 7 12-22-2005 12:57 PM
Remove GRUB netjack Linux - General 5 09-28-2005 05:21 PM
how to remove GRUB? tygernoot Linux - Software 3 12-19-2004 05:21 PM
how to remove grub? tsitras Debian 6 07-07-2004 09:06 PM
How to remove grub? SoulPioneer Linux - Newbie 7 06-21-2004 09:04 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration