LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-11-2007, 03:06 PM   #1
jkillah1
Member
 
Registered: Feb 2007
Posts: 37

Rep: Reputation: 15
How to Remove Linux Partitions...


Since I had to look everywhere for how to do this (because everyone assumes that even if you're a complete Linux noob, everyone already has 2-3 years of experience with Linux already!), I'm going to help you out!

This is how I removed a linux partition while keeping my XP partition intact...

First, just go download GParted. This will save you the problem of navigating though the scary Windows XP recovery disc (where you have to tell it you want to install XP even if you just want to delete a partition). I know I was afraid the whole time that the next time I said OK or continue (while attempting to use the Recovery Disc), it was going to start re-formatting XP before it got to the partition editor.

Anyways, once you download GParted, burn it to a disc using some sort of ISO recorder. After you have your live boot CD all ready to go, make sure you have a Windows XP recovery disc. If you do, then stick in GParted and delete all of the partitions that Windows XP is not in. Most likely, XP will be labeled as "NTSC" or "Fat32" and the Linux partitions will have a name such as "ext3" or something. After you've right-clicked and selected "delete" for the partitions you do not need, click "Apply" at the top of the window in GParted.

Now, when you restart your computer, you will see something like "Grub>" if you don't put in your Recovery Disc first. This is to be expected, and I'll tell you how to fix it. Start your computer with the recovery disc and when the blue screen finishes loading, press R for the Recovery Console or something similar. It will ask you for your admin password. Usually, it will either be your main account's password or nothing. Try both, and if that doesn't work, then you'll need to download OPHcrack and burn to disc to crack your own password.

I think it also asks you which version of Windows you want to load before it asks you for your password. I just typed in "1" and it worked! I'm lucky, b/c if I hadn't, I would've had to use another computer to figure it out!

After you enter the correct password, a prompt that looks like "C:\WINDOWS>" will appear. All you have to do is type in "fixmbr". It will give you a warning, but just type in "Y" to go ahead and write the MBR. After it's done, type "exit" and it will reboot your computer automatically. If everything worked out right, there will be no more GRUB bootloader and Windows XP will boot as normal. If you don't want to keep Windows XP as a smaller partition, then I think you can use GParted to make it bigger and fill up the space that was reserved for Linux, but I'm not sure... If you have the disc, try it out yourself!


If you have any problems or if there's any way to make this guide more helpful, please let me know! I'm just a Linux newbie sharing what I've learned! I hope this guide was completely easy to follow, and if it wasn't let me know how I can improve it!

Last edited by jkillah1; 07-11-2007 at 03:12 PM.
 
Old 07-11-2007, 03:24 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
I'm pretty sure you can delete linux partitions using Windows Disk Management.

Start --> Run --> compmgmt.msc

Then select "Storage" --> "Disk management"

You should be able to just right click on the partition you want to delete (except you can't delete the running version of Windows of course).
 
Old 07-11-2007, 04:06 PM   #3
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
fdisk

And for older versions of windows (Before XP) you can use fdisk to delete the partitions and fdisk /mbr to remove grub or lilo.
 
Old 07-11-2007, 10:23 PM   #4
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
And in post #10 in the thread link below is another method:
http://www.linuxquestions.org/questi...d.php?t=568398
 
  


Reply

Tags
how, keep, remove, windows, xp


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
windows killed my partitions! no linux partitions found on this computer. The MJ Linux - Software 10 01-05-2007 08:31 AM
FC3 Add and Remove Application, Linux Partitions linhmt Linux - Newbie 2 11-07-2005 06:00 PM
Remove all Linux partitions and.... gman587 Linux - General 10 02-14-2005 01:41 PM
How do you remove all partitions darazman Linux - Newbie 5 08-19-2003 10:43 PM
How do I add and remove partitions. Wagner Linux - General 3 01-16-2002 09:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:56 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