LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-16-2002, 03:37 AM   #1
virtualking
LQ Newbie
 
Registered: Oct 2002
Posts: 13

Rep: Reputation: 0
Unhappy format linux


hi , ...
i have two OS win98 & linux redhat 7.1 , now i want to formt linux
how can i format it and let my win98 as it .
 
Old 12-16-2002, 04:17 AM   #2
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Re: format linux

Quote:
Originally posted by virtualking
hi , ...
i have two OS win98 & linux redhat 7.1 , now i want to formt linux
how can i format it and let my win98 as it .
I'm assuming that you want to get rid of linux and just use Windows. I am also assuming that you have linux on your first hard drive. Do not proceed with these instructions unless you are sure that this is what you have, and that this is what you want to do. These instructions will remove partitions, which will destroy data. I would strongly recommend backing up your data first.

In Windows:

1) Make a Windows boot disk, copy FDISK.EXE to it.


In linux (Windows won't do this for you):

2) run "fdisk /dev/hda" as root.

3) hit "p" to print out your partition table.

4) Look at the last column, you will want to get rid of anything that says "linux".

5) hit "d" and the partition number for your linux partitions (be sure to get the swap partition as well).

6) If your are sure that this is correct, then hit "w" to write the new partition table and quit. Otherwise, hit "q" to quit without making any changes.

6a) You could also use linux's fdisk to create your new Windows partition, but I'm going to assume that you will want to do this using Windows (either way will work just fine).

7) If you deleted your linux partitions (linux and linux swap), then simply cycle your power switch. No sense in an orderly shutdown now...

8) Boot up using your Windows boot disk. Type FDISK /MBR and hit enter.

9) Reboot without the floppy, Windows should come up. Recreate, enlarge, whatever, your extra space and format it for Windows (be sure not to accidentally format your "C:\" drive.


John
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
format a hard drive (/dev/hda1) in Reiser fs format Linh Linux - General 7 06-17-2009 06:30 AM
use vi to convert linux format to windows format intolinux Linux - Software 2 12-10-2003 10:20 PM
Format Problems Saving Star Office Docs in Word Format kkempter Linux - Software 4 08-27-2003 04:23 PM
Linux Format Linux Awards 2001 - vote now CragStar General 11 01-19-2002 02:12 PM
About amiga format to linux format? 45pferde Linux - General 0 08-12-2001 07:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration