Solved

Unistall Linux 6.1

Posted on 2000-02-29
6
203 Views
Last Modified: 2013-12-15
I have installed Linux Red Hat 6.1 onto a machine I now realise I don't want it on, as I want it on another machine. How do I uninstall it so that I can reinstall windows?
0
Comment
Question by:seanas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 2

Expert Comment

by:bernardh
ID: 2571072
You can do this with the installation floppy by doing the following. Start
the installation, select install (versus upgrade) and when it comes to                partitioning the drive choose fdisk.
In fdisk type p to print out the
partition numbers, and remove the Linux partitions with the d              command. If satisfied with the changes you have made, you can quit with a w and the changes will be saved to disk. If you deleted too much, type q and no
changes will occur.

Once you have removed the Linux partitions, you can reboot the box
instead of continuing with the install.
0
 
LVL 3

Expert Comment

by:tibori
ID: 2573687
bernardh:This will remove Linux but it'll still leave lilo in the MBR no?
To remove lilo, type the command lilo -u <device name> The device name is where lilo was installed. You can find this out by looking at the /etc/lilo.conf file and looking for the string boot=/dev/hda# where # is the number of the partition that lilo was installed on. This should replace the original mbr and get rid of lilo. If not, just use a DOS boot disk with fdisk on it and type FDisk /MBR.
0
 
LVL 2

Expert Comment

by:bernardh
ID: 2573720
yeah right. =)
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 2

Expert Comment

by:EatEmAndSmile
ID: 2573747
Usually, the only thing you should do to uninstall Linux would be to log in as root one last time and then issue "lilo -u". This will get you rid of the Linux Loader. Once this step is done you can reboot and install your other option of OS.
0
 
LVL 1

Accepted Solution

by:
kartebi earned 50 total points
ID: 2574996
I think the quickest way is this:
Boot your system from a dos disk.
Run fdisk and delete the partitions you want(NON-DOS are Linux partitions).
Create a dos partition , format it , and you are ready to install Windows.
To restore your Master Boot Record (delete lilo from it) run:
fdisk /mbr
Hope you do it easily!
(-:
0
 
LVL 2

Expert Comment

by:bernardh
ID: 2577351
what difference does it make? you boot from from linux floppy, you delete partitions with fdisk, reboot the pc and reinstall windoz. oic, one minute is a lot of time =)
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Moving from Mcrypt to OpenSSL 18 75
expand ext4 on centos 6 5 71
SMTP log file for IMSVA 5 75
sed command 3 30
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…
Suggested Courses

752 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