Unistall Linux 6.1

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?
seanasAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
kartebiConnect With a Mentor Commented:
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
 
bernardhCommented:
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
 
tiboriCommented:
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
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
bernardhCommented:
yeah right. =)
0
 
EatEmAndSmileCommented:
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
 
bernardhCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.