Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1146
  • Last Modified:

How do I remove linux from a dual boot?

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.
0
jmcwild
Asked:
jmcwild
1 Solution
 
IchitakaCommented:
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.
0
 
neofireCommented:
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.)
0
 
jmcwildAuthor Commented:
ok if I fdisk /mbr from a boot disk will winxp just boot from the get go without grub popping up?
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
neofireCommented:
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.
0
 
bryanbelCommented:
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.
0
 
CleanupPingCommented:
jmcwild:
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 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
paullamhkgCommented:
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.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

paullamhkg
EE Cleanup Volunteer
0
 
SpazMODicCommented:
PAQed - no points refunded (of 25)

SpazMODic
EE Moderator
0

Featured Post

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now