Solved

Removing Linux from HDD

Posted on 2000-05-08
7
283 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
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
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 100 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

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.
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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…
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.

820 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