LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I remove Grub (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-remove-grub-36424/)

kmay 11-25-2002 11:18 AM

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.

Thanks:)

vladkrack 11-25-2002 02:29 PM

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

jglen490 11-25-2002 03:49 PM

Quote:

# 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.


All times are GMT -5. The time now is 04:43 PM.