How do I remove linux from a dual boot?

Posted on 2003-03-09
Medium Priority
Last Modified: 2013-12-15
I have redhat linux 8.0 and windows xp home asa dual boot with grub.  I wanted to know how to remove the linux os completely and just have the windows xp home.  I don't want grub anymore and want to go back to the ntloader i think it's called.
Question by:jmcwild
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

Expert Comment

ID: 8103164
Boot from the Windows XP CD, press the key "R" in the setup in order to start the restoration console. Select your Windows XP installation from the list, and enter the administrator password. Enter the command "FIXMBR" at the input prompt and confirm the next question with "y". Finally, use "exit" to restore the computer and to reallocate the linux partition as you prefer.

Expert Comment

ID: 8117148
Alternative approach:

Boot from a boot disk with fdisk.exe on it.  At the A:> prompt, type:

fdisk /mbr

and reboot when it's done.  (Only takes a sec...)  The remove the Linux partition(s) and use as you see fit.

Of course, this assumes you have access to a Win98 box that you can create a boot disk from and copy fdisk to, or that you can download a boot disk from the Internet (www.bootdisk.com -- great site.)

Author Comment

ID: 8120442
ok if I fdisk /mbr from a boot disk will winxp just boot from the get go without grub popping up?
7 Extremely Useful Linux Commands for Beginners

Just getting started with Linux? Here's a quick start guide that has 7 commands that we believe will come in handy.


Expert Comment

ID: 8129318
You got it!  That will replace the GRUB boot loader in your MBR (which is actually LILO or a part of it I believe) with the NT bootloader.  I have had one circumstance (fouled-up MBR?) where I had to run sys on it to install the 9x bootloader, then fdisk /mbr to get the NT bootloader (that machine had 98 and Win2K on it).  Normally though, fdisk will do the trick on its own.

Expert Comment

ID: 8207805
If you had successfully remove the Grub and booted succesfully to windows XP, then you can remove the linux partition by

1. booting your system using your win98 boot disk.
2. by using fdisk remove the non-dos partition, which is used by the linux os.
3. afterdoing it boot the system and use win XP to use the unused harddisk space.

hope my suggestions are useful.

Expert Comment

ID: 9079559
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.
LVL 12

Expert Comment

ID: 10020345
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

PAQ - no points refunded

Please leave any comments here within the next seven days.

EE Cleanup Volunteer

Accepted Solution

SpazMODic earned 0 total points
ID: 10060357
PAQed - no points refunded (of 25)

EE Moderator

Featured Post

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!

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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
Course of the Month14 days, 10 hours left to enroll

770 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