Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Removing Linux from HDD

Posted on 2000-05-08
7
Medium Priority
?
292 Views
Last Modified: 2010-04-20
Can anyone help with getting rid of linux signature on a harddrive so I can use dos Fdisk to repartition it. It is a WD 12GIG . I used WD utility to write zero's to it but still does not let Fdisk see it. I have tried DRDOS Fdisk in expert mode too and does not see HDD. I installed Mandrake 7.0 on the whole HDD and now want to remove to dual boot with NT. I even tried re-install of Mandrake to remove linux partitions but Fdisk still will not see HDD.    Any help would be greatly appreciated
0
Comment
Question by:Charles31651
7 Comments
 

Expert Comment

by:larry_eisenstein
ID: 2790426
Linux is still in the Master Boot Record possibly, but the Zero utility should have got rid of it.

Try this anyway.
Boot to a DOS/Windows disk w/ fdisk on it.

Run: fdisk /mbr


0
 
LVL 2

Expert Comment

by:modulus
ID: 2790443
Have you got LILO installed?  If so then:
/sbin/lilo -u /dev/hda

Replacing /dev/hda with wherever you installed.  This will copy the original Master Boot Record (MBR) back.
0
 
LVL 1

Expert Comment

by:rtheriot
ID: 2790671
boot to dos

fun dfdisk c: /mbr

if that doesnt work,
try running a linux 6.x install
when you get to the partitioning
portion, use the intsall programs fdisk or disk druid to wipe out all partitions
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
LVL 1

Expert Comment

by:crojas
ID: 2791021
Get a utility called aefdisk from www.bootdisk.com to delete any Linux partition, and make a /mbr with aefdisk. This will solve your problem.
0
 

Author Comment

by:Charles31651
ID: 2792294
Bootdisk.com looks like an excellent resource site,will try it soon, thanks to all for input. This experts site is in another universe compared to any other support site i've used.
0
 

Expert Comment

by:wallerp
ID: 2792729
You can run "fdisk /mbr" perhaps ?
0
 
LVL 2

Accepted Solution

by:
tzanger earned 300 total points
ID: 2810775
Why not just boot linux (from hdd or floppy or CD) and do

dd if=/dev/zero of=/dev/hda bs=512 count=1

that zeroes out the MBR.  now the drive "looks" completely empty and you should have no trouble whatsoever installing whatever it is you want on it.

you can do the same thing from DOS with a bit of DEBUG code (ask if you want it)
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month7 days, 17 hours left to enroll

824 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