Solved

Formatting Hardrives with Linux.

Posted on 2003-10-21
7
1,096 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
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 …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

910 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now