Solved

Formatting Hardrives with Linux.

Posted on 2003-10-21
7
1,100 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Video Streaming 6 72
How can you tell your public IP address without a browser? 9 61
Coding C# in Linux 8 61
how to install java on RHEL image on EC2 4 26
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

776 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