Discussion Locked

Linux hard disk reformat

0 helpful
11 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

How can I reformat a hard disk previously formated for Linux. I need to reformat it to be used in Windows environment (fdisk, format).
Thanks and best regards

11 replies

by drb63

You'll first need to delete the "non dos" partition(s) then create new partition(s) and then do the format.

by mdelyea

I have found that fdisk has problems deleting linux partitions (it often says there are no logical drives in the extended partition and then won't let you delete the extended partition because logical drives exist in the extended partition - sheesh!). I use PQMagic to get rid of linux partitions. Also, if you used lilo for dual booting you will have to restore the MBR. Fdisk/MBR is adequate for this chore. Once the linux partitions are gone just follow the normal procedure (create partition and format it).

by dkvoldar

When i had to delete my linux partition i had to go into fdisk delete the extended partition and then restart the computer and do it again until it finally removed and it let me delete the primary.

by d_v ant

Here is a debug routine that will delete all partitions on a drive regardless of the OS used to create them. It is not selective and deletes ALL partitions in one shot.
Boot with a startup disk that has debug.exe on it. (You may need to copy it from another PC.

CAUTION: Performing the following will remove all data from you hard disk drive.

At the DOS command prompt, type DEBUG and press [ENTER].
Prompt will be a dash "-"
NOTE: Type the following commands.
TYPE: A CS:100 [ENTER]
Prompt should change to xxxx:0100
TYPE: MOV AX,301 [ENTER]
Prompt should change to xxxx:0103
TYPE: MOV BX,200 [ENTER]
Prompt should change to xxxx:0106
TYPE: MOV CX,1 [ENTER]
Prompt should change to xxxx:0109
TYPE: MOV DX,80 [ENTER] (NOTE: "80" for HD0 and "81" for HD1)
Prompt should change to xxxx:010C
TYPE: INT 13 [ENTER]
Prompt should change to xxxx:010E
TYPE: INT 20 [ENTER]
Prompt should change to xxxx:0110
Press [ENTER]
Propmt should change to dash again "-"
Type: G [Enter]
Should respond "Program terminated normally"

Reboot PC. All partitions will be deleted from hard disk.

Rinse, Repeat.

Hope this helps

by bohicam1

Do a search on google.com for utilities called clearhdd.exe or delpart.exe. Either one will get rid of any non-dos partitions. I prefer clearhdd as it will wipe out the MBR as well leaving a drive as clean as it left the factory.
Good luck!

Mike

This discussion is closed to new replies.