Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Formatting Hardrives with Linux.

Posted on 2003-10-21
7
1,103 Views
Last Modified: 2013-12-06
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
0
Comment
Question by:KharnTerrer
7 Comments
 
LVL 3

Accepted Solution

by:
dschwartzer earned 125 total points
ID: 9594204
Insert Windows CD, boot from it (make sure this is configured in BIOS), and go with the wizard. It should prompt you to choose drive/partition, etc. If you want to start the whole system anew, then delete all partitions, and create new ones.
You don't need any Linux tools to go back to Windows, MS will do the job :-)
0
 
LVL 12

Expert Comment

by:mburdick
ID: 9595007
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.

0
 
LVL 4

Expert Comment

by:victorbx
ID: 9595680
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
 
0
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
LVL 12

Expert Comment

by:paullamhkg
ID: 9595948
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 :)
0
 
LVL 20

Expert Comment

by:Gns
ID: 9597802
> ... 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
0
 
LVL 3

Expert Comment

by:dschwartzer
ID: 9604591
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...
0
 
LVL 12

Expert Comment

by:paullamhkg
ID: 9604610
dschwartzer,

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

Paul
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question