Welcome to WebmasterWorld Guest from 54.167.76.176

Forum Moderators: bakedjake

Message Too Old, No Replies

Linux partition removal problem

     

AceAll

6:58 pm on Feb 28, 2005 (gmt 0)

10+ Year Member



Is there any way i can remove the partition of linux using fdisk(microsoft). I have got a HDD of 20 gb. I had made two partitions for linux. I was able to remove the non-dos partition of linux easily but i am not able to remove the other partition. FDISK is not able to remove that partition. It says it has got logical drives but actually that partition doesnt have any logical drives in it. Is there any other way to remove that partition, so that i can make use of that space for something else. let me know ...

:)

Matt Probert

7:29 pm on Feb 28, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If Fdisk is reporting logical drives, it sounds like a DOS partition. Have you tried all the deletion options?

Matt

NickCoons

8:03 pm on Feb 28, 2005 (gmt 0)

10+ Year Member



Perhaps you can try to create a logical drive and then remove it, then remove the partition. Or you could boot to Knoppix and use Linux's fdisk to remove it.

GeorgeGG

10:36 pm on Feb 28, 2005 (gmt 0)

10+ Year Member



Try from a 'DOS' disk:
fdisk /mbr

This will rewrite the Master Boot Record, and clear the
Lilo boot message and everything.

GeorgeGG

AceAll

11:20 pm on Feb 28, 2005 (gmt 0)

10+ Year Member



I beleive the MBR is clear. It is the other partition that is giving me trouble . I tried giving it a logical drive name & then remove the partition but it doesnt work. I will try using the linux fdisk . I thought of another idea that is to run "partition magic" to remove that partition . I hope it works

:)

StupidScript

12:30 am on Mar 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If the MBR were clear, you would have no partition information at all. The Master Boot Record is where partition info is stored.

dingman

1:05 am on Mar 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't actually know how to do this from Windows, but I'd try writing zeros (or ones) over the first several megabytes of the partition. That way, you get rid of whatever information is fooling fdisk into thinking that you have an extended partition. FWIW, in Linux the command would be something like: 'dd if=/dev/zero of=/dev/peskypartition bs=1M count=8'.

Another possibility would be to try changing the type of the partition, so that it is explicitly marked as something Windows understands. It's easy with Linux fdisk/cfdisk/sfdisk. Perhaps Windows fdisk also supports this operation?

StupidScript

5:55 pm on Mar 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Do you have a Windows installation you want to keep on there, or something? I've never had any trouble removing Non-DOS partitions using MS-DOS fdisk. It doesn't matter if it's a Linux boot/swap/data partition. It's Non-DOS.

Please post the output of fdisk's partition display so we can get a better handle on what you are looking at.

AceAll

1:45 am on Mar 10, 2005 (gmt 0)

10+ Year Member



well, i removed the partition using the linux fdisk so there is no problem right now .
 

Featured Threads

Hot Threads This Week

Hot Threads This Month