Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Need to go back to NT From Linux

Need to go back to NT From Linux

Need to go back to NT From Linux

I need some help in finding out the best way to format the hard drive on a computer that has linux red hat already installed upon it. I can't seem to bring back or format the section in which Linux was being stored. There are two different partitions and the active partition is two small to do install of.

RE: Need to go back to NT From Linux

I've had the same problem. For some reason, Microsoft's fdisk does not want to remove the ext2 partition. Here's the only way I found to work around it. Try to install RH as normal. When prompted to partition the drive, use Disk Druid. Remove all partitions that are shown (it will also show any FAT16 partitions , if you want to delete those as well). Choose done and save the partition table. Shutdown the system (may not be the best thing but I only did it once!) HDD should be clean of partitions and ready to go.
The only drawback is if you don't have RH!

May not be the best advice but, like I said, it worked for me. Any other ideas??

RE: Need to go back to NT From Linux

I agree that it may not be the best way, but I tried it and like you it worked for me. Sometimes if it works just go with it. Does anyone know of a better way possibly.

RE: Need to go back to NT From Linux

Yes...boot your system off a DOS boot disk with the utilities fdisk, format, debug, and basic dos boot files. At the C: prompt type debug. NOTE: "This should only be used if you want to start fresh on a hard drive." Follow step by step;
-f200 L200 0 "enter"
-a 100 "enter"
mov ax,301 "enter"
mov bx,200 "enter"
mov cx,1 "enter"
mov dx,0080 "enter"
int 13 "enter"
int 3 "enter"
"Press enter again"
-q (quits back to DOS)
This debug utility will clean everything off your harddrive including viruses.

Any questions ask me

RE: Need to go back to NT From Linux

Uh, Tool, this script appears to overwrite the boot record on the first fixed disk. It only "cleans" 512 bytes and deletes all partitions. Atowngreyhound, my guess is that DOS doesn't understand the value stored in one of the following boot sector offsets: 1C3h, 1D3h, 1E3h or 1F4h. They contain the Operating System indicators for the partition records. Fdisk won't recognize a partition marked with an "invalid" byte in those locations.
URGENT P.S. >>> Don't try this at home. Leave the work to the mad scientists of the world.

RE: Need to go back to NT From Linux

Oops, those offsets were offset. See what I mean? It's too easy to make a mistake. Don't mess with the boot sector unless you're working with a throw-away hard drive on a toy system.

RE: Need to go back to NT From Linux

Whahooguy, Go TRIBE!!!!
Hmmm, you might resolve the issue by placing 06h in the fourth offset of the appropriate partition record. That should make the partition visible to fdisk. Sorry about the endorsement but, GO TRIBE!


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close