Link to home
Start Free TrialLog in
Avatar of KharnTerrer
KharnTerrer

asked on

Formatting Hardrives with Linux.

I have Red hat 9.1 on my Hard Drive and, after some time I have decided to get rid of it entirely and put Windows back on it, but the conventinal DOS commands don't work in Red hat nor does F disk.

How do I format My Hard drive now and make it possible to install Windows back on to it?

Thanx
ASKER CERTIFIED SOLUTION
Avatar of dschwartzer
dschwartzer

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mark
Windows NT-based systems (NT, 2K, XP, 2003) will allow you to repartition the drive during the installation.

You can also boot from RH disc 1 with "linux text" at the first prompt and run "fdisk /dev/hda" at the command prompt. From there, type "p" to get a list of partitions and then use "d" to delete the partitions. Once all partitions are deleted, you can use "w" to exit the fdisk program.

Avatar of victorbx
victorbx

under dos you only need to type :
FDISK /MBR

it will erase the mbr area ,
then rerun fdisk again without the /mbr parameter and delete the non dos partitions

Good Luck !!!   :-)


Victor
 
well they all give you the good hints, just wanna to give you hint to get the bootable floppy and the fdisk.exe in case you don't have.

www.bootdisk.com where you can get want you need :)
> ... Red hat 9.1 ...
No you don't have that. RedHat has not released any version 9.1, only version 9.

Anyway, in past versions of M$ fdisk you couldn't remove partitions with "unknown" partition types, so you had to use linux fdisk to remove the partition(s)... How to get that done is overed nicely above.
According to M$ the recomended way of rewriting the MBR is via Recovery Console and the "fixmbr" command, for newer windozes (2k, xp).

-- Glenn
KharnTerrer,
thanks for the points; but did my answer really solve the problem? It seems like I've done the least to help you out...
dschwartzer,

I think KharnTerrer follow your step and got the problem fixed :)

Paul