Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 09-13-2003, 08:59 AM   #1
Registered: Jun 2003
Posts: 54

Rep: Reputation: 15
How to remove grub + linux partition from drive? No longer needed.

I would like to know how to remove my linux partition, remove my bootloader (grub) and reclaim the disk space in WindowsXP.

At first the challenge of using a different OS seemed great, and so I set about dual booting, using Redhat9. I learned how to customise it, make it look etc the way I wanted, but unfortunately, after a while I came to a simple conclusion... it just isn't functional. Hey, it seems cool, and looks nice, but just isn't being used. I find myself time and time again booting into XP, because all the stuff I wanna do is in Windows. This does make me sad, as I never wanted to give up on Linux, but I just don't see the need for it. I don't wanna bring up any flame wars or anything, just wanting to share the way I feel.

So if anyone could help me with a quick step by step on how to remove it from my disk, I would greatly appreciate it.

Thanks and cheers

Old 09-13-2003, 09:02 AM   #2
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
use fdisk to delete the linux partitions.then boot into DOS from a floppy (make it,if you dont have one)and then 'fdisk /MBR' from dos prompt.
Old 09-13-2003, 09:07 AM   #3
Registered: Jun 2003
Posts: 54

Original Poster
Rep: Reputation: 15
Oh, forgot to mention I don't have a floppy drive.

Should I just reinstall XP, I know this overwrites your Mbr. Is there any other way I can do this? I don't want to really lose data, I got about 20 hours worth of Enter The Matrix saved!
Old 09-13-2003, 09:13 AM   #4
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
so you have XP install cdrom.well,boot from it to Rescue mode by pressing R(or F5,i think) button.from there,try 'fixmbr <device_name>'.
device_name:The device (drive) on which you want to write a new master boot record. The name can be obtained from the output of the map command. An example of a device name is:

Last edited by arunshivanandan; 09-13-2003 at 09:15 AM.
Old 09-13-2003, 09:29 AM   #5
Registered: Sep 2002
Location: Novi Sad, Vojvodina
Distribution: Slackware, FreeBSD
Posts: 386

Rep: Reputation: 32
Good luck with blaster and other beautiful thingies Lixux lacks...:P
Old 09-13-2003, 11:27 PM   #6
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I have the same problem, I try windows but end up booting into Linux because everything I do is there.

Oh well I'll leave it there for airport security.
Old 10-21-2003, 12:29 AM   #7
LQ Newbie
Registered: Oct 2003
Location: Mexico
Distribution: RH 9
Posts: 1

Rep: Reputation: 0
Smile Thks

only in put in the command line fixmbr and all fixed, thanks again
Old 11-09-2008, 01:29 AM   #8
LQ Newbie
Registered: Nov 2008
Distribution: Fedora 9
Posts: 3

Rep: Reputation: 0
I had a problem with grub too after i removed my linux so i wrote a tutorial on really how to get it off completely so it doesnt load at all! of cource i suppose you have your windoze installation disk


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
remove GRUB from windows partition boot record Krun Linux - Newbie 3 09-13-2007 05:51 PM
linux installation on 2nd drive, partition advice needed... Billydakid Linux - Newbie 16 11-10-2005 03:14 AM
Swap partition needed for every drive? lagu2653 Linux - Hardware 2 06-21-2005 06:15 PM
howto remove GRUB from the partition using fdisk ? cccc Linux - General 6 01-18-2005 08:09 PM
linux answer no longer links to the main grub post aus9 LQ Suggestions & Feedback 5 09-12-2004 06:09 PM > Forums > Linux Forums > Linux - General

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

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