Computing.Net > Forums > Unix > Removing a linux partition

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Removing a linux partition

Reply to Message Icon

Name: Naim El-Far
Date: November 28, 1998 at 14:01:51 Pacific
Comment:

How do you remove a linux partitiion? I FIPSed my harddisk to install linux and now I want to get rid of the whole thing cause I need the disk space. Thanx



Sponsored Link
Ads by Google

Response Number 1
Name: Zniper
Date: November 30, 1998 at 23:39:13 Pacific
Reply:

use FDISK.com in DOS


0

Response Number 2
Name: saufil
Date: June 25, 1999 at 18:35:43 Pacific
Reply:

I already have install linux in my computer so i have problem how to configure my monitor and when i restart my computer. Linux os cannot loading and system automatically Halt...


0

Response Number 3
Name: Keith
Date: September 8, 1999 at 19:56:32 Pacific
Reply:

Zniper,
yup i tried FDISK.com in DOS as well but the options are always not available. I tried to remove the EXT DOS parition but the error was LOGISTICAL Drives exist. When i tried to remove the so called LOG Drives it says there arnt any... pls help?


0

Response Number 4
Name: Les
Date: September 9, 1999 at 10:32:24 Pacific
Reply:

Kieth,

I needed to remove Linux as well and ran into the same problem with EXT DOS. FDISK.exe in DOS didn't work. I tried using GDISK.exe from Symantec/Ghost and it work fine.

Good luck.....


0

Response Number 5
Name: Nagabhushan
Date: December 3, 1999 at 03:43:50 Pacific
Reply:

You can do a low level partition removal using the shareware "diskedit". Have a boot floppy with "diskedit" on it, boot from the floppy, and remove the partition.

Hope this helps...


0

Related Posts

See More



Response Number 6
Name: Raf
Date: December 15, 1999 at 04:56:24 Pacific
Reply:

Hi Keith,

I have the same problem. The suggested solutions were to use GDISK.EXE, or diskedit. Do you know where to find these utils?

Many thanks
Raf


0

Response Number 7
Name: ali ozdogan
Date: December 15, 1999 at 13:03:03 Pacific
Reply:

Keith,
I overcomed the same problem with gdisk.exe. But, anyway, fdisk.exe didnt work.
good luck....


0

Response Number 8
Name: Sam Siegel
Date: January 22, 2000 at 06:47:57 Pacific
Reply:

Thanks for the diskedit suggestion. In truth I hadn't a clue as to what I was doing...but somehow I successfully killed the LINUX partition and was able to use FDISK to rebuild.


0

Response Number 9
Name: rob
Date: January 26, 2000 at 09:27:18 Pacific
Reply:

Try using delpart.com file from a boot disk. Be careful though, it wipes out all partitions on all fixed disks on hte system and gives you no last chance warning.


0

Response Number 10
Name: Bufnea Vasile
Date: February 1, 2000 at 14:27:47 Pacific
Reply:

I have big problems with linux partition.
I whant to remove this partition.
I need strongly help.


0

Response Number 11
Name: Dorren
Date: February 1, 2000 at 20:44:11 Pacific
Reply:

gdisk works!!
you can get gdisk.exe from ghost at www.download.com, install it and there is.

"gdisk 1 /mbr" to clear master boot record.
"gdisk 1 /del /all" ro delete all partitions.
1 is disk number, 1st, 2nd, etc.
read the "usage.txt"


0

Response Number 12
Name: fran
Date: February 7, 2000 at 10:42:40 Pacific
Reply:

where can i download gdisk or something? cant find anything. pls hlp.


0

Response Number 13
Name: Marc
Date: February 15, 2000 at 10:32:18 Pacific
Reply:

gdisk.exe can be found here:
http://www.innovativesoftware.com/ghost/text_only/to_choose.htm


0

Response Number 14
Name: Marc
Date: February 15, 2000 at 10:46:22 Pacific
Reply:

Strike that last message. WRONG. Sorry.


0

Response Number 15
Name: Marc
Date: February 15, 2000 at 11:22:48 Pacific
Reply:

Sorry about the previous two messages. But... I found the software... and forgot where to get it. So, i placed it on my own site. Go to the download pages on this site:
http://home.wanadoo.nl/borburgh/


0

Response Number 16
Name: George
Date: February 16, 2000 at 19:00:45 Pacific
Reply:

Actually, you can use fdisk. It doesn't show up if you do "fdisk /?" but it works. Just type "fdisk /mbr" to wipe the master boot record.


0

Response Number 17
Name: BPN
Date: February 16, 2000 at 19:26:02 Pacific
Reply:

Thanks to whoever started this thread. I have had the same problem in the past. I even sent a hard drive back because I thought it was bad, because I could not remove a linux partition. I would like to make a correction to a post above. I think the command should be:

"gdisk 1 /del /all"

thanks to everyone, especially Marc for offering the file for download.


0

Response Number 18
Name: Marc
Date: February 18, 2000 at 01:54:50 Pacific
Reply:

First of all fdisk /mbr will not do the trick!
Second, gdisk 1 /del /all is for removign ALL partitions. Best thing to do is gdisk 1 /status to see what's on the drive and have a look at gdisk /?. You can remove partitions one at a time.


0

Response Number 19
Name: Jose de Arimathea Fonseca
Date: March 12, 2000 at 16:31:55 Pacific
Reply:

I used the DISK GO ( see your hard disk manufacturer and download the respective software above ) in my QUANTUM 4.3GB.
It's work fine...
THANKS FOR ALL HELPS.

Arimathea


0

Response Number 20
Name: Skippy
Date: April 5, 2000 at 18:25:52 Pacific
Reply:

Use delpart.exe instead of delpart.com. It is a CGI that allows you to select which partitions you want to delete instead of them all. Search for the Kansas State University page with Microsoft utilities.


0

Response Number 21
Name: Erwin Schmidt
Date: April 8, 2000 at 15:14:54 Pacific
Reply:

I used the Ranish Partition Manager (a link in this thread) and it worked perfect. GDISK didn't work anyway.
Thanks...


0

Response Number 22
Name: Eric
Date: April 10, 2000 at 02:34:06 Pacific
Reply:

I was using Partition Magic to remove a linux partition, and it was interrupted by a power failure. When I restarted, PM couldn't find the partiton, but the dirve space was still occupied. would one of the tools discussed above work for my problem?


0

Response Number 23
Name: Anurag Jain
Date: April 14, 2000 at 14:09:06 Pacific
Reply:

I too am facing problem in removing linux partition as fdisk doesnot see this partition.... Rescue Me..?


0

Response Number 24
Name: declan
Date: April 15, 2000 at 13:45:29 Pacific
Reply:

linux partitions can be removed with fdisk,
option 3 delete parts brings up another menu
one option is delete non dos partition.
this works I did it today.


0

Response Number 25
Name: leon meguira
Date: April 18, 2000 at 07:27:05 Pacific
Reply:

i cant remove my linux partition with
FDISK and beacuse of that my 6.4 GB is not useable.

please tell me what to do.

thenk you.


0

Response Number 26
Name: BoBo
Date: April 18, 2000 at 12:26:56 Pacific
Reply:

Just try GDISK. I'm not using anything else. Just print and read the manual (RTFM)!
You can find GDISK at a site mentioned by Marc on : February 15, 2000


0

Response Number 27
Name: Manny Borges
Date: May 31, 2000 at 07:07:13 Pacific
Reply:

OK Lets sum up this thread.

point one: Linux is giving people issues.

Why?

There are two basic partition types, Primary and Extended. There may be up to four primary partitions on a drive. Now since that is limiting in many ways, lets talk about the extended. There is only one extended( unless otherwise noted I will be ingnoring funky geek work arounds) partition, and it gets no drive letter. Its just a defined area. Within the extended you can make a total of 23 Logical drives( 26 letters in the alphabet, a&b are floppy, c is always active primary partition) You can't have an extended without at least one primary. You can't have a logical drive without an extended. And you can't remove them unless you reverse the order.
I am clarifying a few points here that many of the people posting seem to be unaware of.

FDISK , the dos utility , can not ever remove a logical drive that is not formatted in fat16, or fat 32( dependfing on your version of fdisk) So linux and nt and netware can cause some issues to arise if the are populating a logical drive.

My solution is gdisk. It works. Evreytime.
BUT you must do as BoBo says and read the manual. It even works on NTFS5 with W2K.


0

Response Number 28
Name: Lisa
Date: July 22, 2000 at 07:38:29 Pacific
Reply:

Go gdisk...
Go gdisk...

Woohoo!!! It worked! I'm so happy!

fdisk, slate10, partition magic, and delpart didn't do it, but gdisk did.

Thanks!

L


0

Response Number 29
Name: zzchatx
Date: July 27, 2000 at 02:41:32 Pacific
Reply:

Gdisk is to be found at Norton sites. It's included in the 13,x MB pack together with Norton Ghost utility. Don't kill me if this isn't correctly...


0

Response Number 30
Name: ROFRANO GABRIEL
Date: August 4, 2000 at 21:16:16 Pacific
Reply:

Thanx for Gdisk comments

It work perfect....and make me very happy

so again Thanx !!!


0

Response Number 31
Name: Jason Pickering
Date: August 14, 2000 at 08:38:02 Pacific
Reply:

Many thanks to Manny and Marc. For the file and the summary. Worked without a hitch.


0

Response Number 32
Name: Brandon
Date: August 20, 2000 at 23:23:52 Pacific
Reply:

I installed Linux. Installation seemed to go fine. I logged in under a username that I set during installation. I then tried to start X Windows, but I got some errors. I now want to remove Linux from my computer. If I FDisk the MBR will it kill off Windows? Please help, I am pretty new to this. Will Partition Magic 5.0 be able to format the Linux partitions back to FAT 32?, or just format it and have it just go back to my original C drive?? I read most of everything above and an still somewhat confused about what I should do.


0

Response Number 33
Name: hyperion
Date: September 1, 2000 at 03:50:05 Pacific
Reply:

i used diskdruid and linux fdisk both with success at removing all partitions
i then ran dos fdisk, and then fdisk /mbr
i then fromated with dos and it worked great
i have done this on several machines with success


0

Response Number 34
Name: Jim Prudner
Date: September 22, 2000 at 19:55:51 Pacific
Reply:

I recently did a network install of Win2K Server on 16 machines from a script for classroom training. When the machines rebooted, all but the one I had installed linux on (playing around in a class) booted up to W2k. The disks had all been fdisked, partitioned and formated with a 2GB DOS Primary partition (13 GB drives). The linux disk started up with LILO. I floppy booted to a DOS prompt and did fdisk /mbr. That fixed it. That command copies the backup Master Boot Record that is on the hard disk to the proper place on the disk over the active MBR. I have used the same command to "kill" a boot sector virus. Hope this helps.


0

Response Number 35
Name: Dexabyte
Date: December 6, 2000 at 03:52:10 Pacific
Reply:

I tried it but it's not working. I didn't know that it should have spaces on each parameter. Ex. gdisk_1_/del_/all, underscore represents space.

Thanks to everyone.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Removing a linux partition

Access linux partition from Boot CD www.computing.net/answers/unix/access-linux-partition-from-boot-cd/8315.html

Delete Linux Partition www.computing.net/answers/unix/delete-linux-partition/449.html

LILO and linux partitions www.computing.net/answers/unix/lilo-and-linux-partitions/314.html