LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-01-2003, 12:00 PM   #1
berrioshernan
LQ Newbie
 
Registered: Dec 2003
Posts: 2

Rep: Reputation: 0
removing grub from a new pc with no other os installed


how do i remove GRUB from a pc that has never had another os than redhat linux 9.0. I want to clean up the pc in order to install Windows.
 
Old 12-01-2003, 02:05 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Microsoft support has the howtos on this

# How do I uninstall Linux completely and keep/use Windows only?
How to Remove Linux and Install Windows 2000
How to Remove Linux and Install Windows XP
You can remove lilo from the mbr with
/sbin/lilo -u
You can remove grub or lilo from the mbr by booting with a Windows 98 boot floppy (at the prompt, type fdisk /mbr), or by using the Windows XP Recovery Console or the Windows 2000 Recovery Console
 
Old 12-01-2003, 06:06 PM   #3
flysideways
Member
 
Registered: Jul 2003
Posts: 151

Rep: Reputation: 30
I like the fixmbr command in the Windows Recovery Console.
 
Old 12-02-2003, 12:53 PM   #4
berrioshernan
LQ Newbie
 
Registered: Dec 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you for replying to my question. I already tried fdisk /mbr using a Windows 98 installation disk but still get the GRUB> prompt. I cant seem to recover what I never had on my pc. It is a brand new pc that I put together and the only OS ever installed on it was Redhat linux 9.0. Is the recovery console a usefull tool for a first time use, since Windows wasnt installed before on the pc?
 
Old 12-02-2003, 01:06 PM   #5
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
You haven't mentioned the flavor of Windows you are attempting to install. Some versions of Windows install (above Windows 98, I believe) can recognise and remove Linux partitions and grub.

If you can boot into linux from a CD, I suggest zeroing out the drive. Any "Linux live" cd will do. For example, master drive on first ide:

dd if=/dev/zero of=/dev/hda bs=512

If you can boot from floppy (and have access to a Windows machine to make the floppy), the Ranish Partition Manager might do the job for you.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
removing half installed package eurest Debian 8 08-03-2005 09:31 AM
Removing Installed package on Linux. ashisht LinuxQuestions.org Member Intro 3 11-04-2004 02:26 PM
Removing old kernel and other packages installed DriveMeCrazy Red Hat 1 06-05-2004 09:40 PM
Installed Fedora, which installed Grub - how to boot to Knoppix? squall14716 Linux - General 3 03-15-2004 03:11 PM
Removing Installed Software SirLancelotX Slackware 3 07-14-2003 12:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:53 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration