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 ...
Msg#: 1387 posted 11:20 pm on Feb 28, 2005 (gmt 0)
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
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?
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.