homepage Welcome to WebmasterWorld Guest from 54.166.14.218
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
Linux partition removal problem
AceAll

10+ Year Member



 
Msg#: 1387 posted 6:58 pm on Feb 28, 2005 (gmt 0)

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

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 1387 posted 7:29 pm on Feb 28, 2005 (gmt 0)

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

Matt

NickCoons

10+ Year Member



 
Msg#: 1387 posted 8:03 pm on Feb 28, 2005 (gmt 0)

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+ Year Member



 
Msg#: 1387 posted 10:36 pm on Feb 28, 2005 (gmt 0)

Try from a 'DOS' disk:
fdisk /mbr

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

GeorgeGG

AceAll

10+ Year Member



 
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

:)

StupidScript

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 1387 posted 12:30 am on Mar 4, 2005 (gmt 0)

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

dingman

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 1387 posted 1:05 am on Mar 4, 2005 (gmt 0)

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

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 1387 posted 5:55 pm on Mar 9, 2005 (gmt 0)

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

10+ Year Member



 
Msg#: 1387 posted 1:45 am on Mar 10, 2005 (gmt 0)

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved