How to unistall grub


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat How to unistall grub
# 1  
Old 09-19-2005
How to uninstall grub

hai,
i have a problem. i installed RHEL 4. The system got hanged during installation.so now i want to install Windows XP. when i boot from cd i am getting grub> prompt. so i want to remove grub from MBR.
And i am having 128MB RAM.whether it is recommended for installation for RHEL4.

Give me a solution for removing grub

Thanks in advance for any help

Last edited by chinnappa; 09-19-2005 at 08:42 AM..
# 2  
Old 09-19-2005
Code:
fdisk /mbr

from DOS



or


Code:
fixmbr

from Windows Recovery Console
# 3  
Old 09-24-2005
I've used this to remove lilo, which should also work for grub


dd if=/dev/zero of=/dev/hda bs=446 count=1
# 4  
Old 09-25-2005
Quote:
Originally Posted by locustfurnace
I've used this to remove lilo, which should also work for grub


dd if=/dev/zero of=/dev/hda bs=446 count=1

The thing placed after
Code:
fdisk /mbr

or
Code:
fixmbr

will exec. bootsector of the active partition and this will do nothing: so anyway you will not can install WinXP after that because NT-installer puts partition bootsector, but does not rewrite MBR.
# 5  
Old 10-14-2005
1:进入单用户Smilie进入方法,用启动光盘引导,后进入恢复模式)
2:进入配置文件,(位置一般在,/etc/grub.conf)
3:大概的样子是这样的
RedHat linux (2.4.7-10)
    root (hd0,1)
    kernel /boot/vmlinuz-2.4.7-10 ro root=/dev/hda2 1
4:用命令fdisk -l 查看你的分区形式
5:重新写grub.conf
# 6  
Old 10-14-2005
zhenyuan1125, please read our rules and note:
(9) Edit your posts if you see spelling or grammar errors (don't write in cyberchat or cyberpunk style). English only.
# 7  
Old 10-14-2005
Those are Chinese glyphs. On my PC at least. He must have cut & pasted something from his own PC. I don't think he's using cyberchat at all.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Linux first or GRUB first ?

Hi everyone, I am having trouble of understanding the concept of GRUB bootloader in Linux. My questions are-: Do we install GRUB first and then install Linux ? Does GRUB act as a bootloader for Windows if we are trying to dual boot Windows and Linux ? Or does GRUB load the Windows... (4 Replies)
Discussion started by: sreyan32
4 Replies

2. UNIX for Dummies Questions & Answers

"/boot/grub/grub.conf" VS "/etc/grub.conf"

can someone please explain me the difference between these two files: "/boot/grub/grub.conf" and "/etc/grub.conf" .. (7 Replies)
Discussion started by: stunn3r
7 Replies

3. Red Hat

Can we specify which grub.conf to use in grub-install.

Hi, Can we specify which grub.conf to use while installing grub on RHEL. We are working on application which requires different grub configurations needed, depending on certain criteria we need to update grub with correct grub.conf. Can we use grub-install for this purpose? (4 Replies)
Discussion started by: successlin
4 Replies

4. Solaris

grub problem

hi , was using solaris in dual boot with xp , then I ' ve installed ubuntu too . The solaris grub has been in some way damaged , maybe because during the linux installation i've delete an old partition that I was not using by some months. It's normal that the solaris grub has been overriden by... (7 Replies)
Discussion started by: freeware
7 Replies

5. Ubuntu

grub loader

i was dual booting vista and ubuntu but i have now taken off vista. however the microsoft bootloader is still in the list. how do i get rid of it and automatically boot into ubuntu? (13 Replies)
Discussion started by: bcbotha
13 Replies

6. Solaris

GRUB/Solaris 10

When I boot up with the first install disk I get this error message... ERROR:28 Selected item cannot fit into memory I've read alot of information about this being a bug with the GRUB loader and several people's posts about getting around this by using Solaris Express instead. Does anyone... (6 Replies)
Discussion started by: Tekkie
6 Replies

7. UNIX for Dummies Questions & Answers

grub problem- keeps rebooting as soon as it tries to do grub

Hi, I installed solaris 10 a few weeks ago. It was working fine during the past two weeks. However, now when I start to load to the drive, I get this problem: The BIOS screen comes up like normal, then screen goes blank and a message "Grub loading stage 2" flashes real quick then the computer... (1 Reply)
Discussion started by: moesays
1 Replies

8. Linux

grub help

in dual os grub will ask like this (linux 9 (red hat)) linux(bigmem) linux(smallmem) dos so i want that grub will ask like this dos linux(bigmem) linux(smallmem) how to do this (8 Replies)
Discussion started by: seshumohan
8 Replies

9. Debian

Getting rid of grub

ok so i have two HDs on my PC, on the 1st one (master) i have w2k running, i decided to install debian on the second (slave). During the install, i was asked if i wanted to install grub, i said yes. Now debian starts just fine. Windows on the hand now takes forever to load (ie like two minutes... (4 Replies)
Discussion started by: jad
4 Replies
Login or Register to Ask a Question