[HOW TO] Get back your Windows XP Bootloader


Recommended Posts

If for some reason you find the need to get back to your Windows XP bootloader instead of the one installed by your Linux distro, simply follow these instructions:

1. Boot up with your Windows XP disc.

2. Select the option Recovery Console.

3. At the prompt, type "fdisk /mbr" (without the quotes of course)

4. Restart your computer.

Edited with correct info from the following posts...

For me and some others you might need to type "fdisk /mbr" instead of "fixmbr"

just thought I'd add that before people start saying it doesn't work

585566261[/snapback]

Hahaha, you beat me to it!

Yeah, Fixmbr and Fixboot both don't work. I know, I've tried several times. All they do is jack up the NTLoader.

Edited by Jstphish
is there a way to recover the winlogin.exe

585566297[/snapback]

Of course there is :) Boot into the recovery console and use this command.

expand d:\i386\winlogon.ex_ c:\windows\system32\winlogon.exe

D: = drive Xp cd is in

C: = drive Xp is installed on

Edited by Mr. Dick C. Normous
Jeez, leave it to me to have a typo in my very first HOW TO.  Mark, fix that would ya?

585566188[/snapback]

Not a problem. Done.

You should always be able to go back and edit your first post. All members are able to do this. At least that is how I understand it to work. :unsure:

And, by the way, thanks for the quick write-up! This gets asked an awful lot.

  • 3 weeks later...
Hahaha, you beat me to it!

Yeah, Fixmbr and Fixboot both don't work.  I know, I've tried several times.  All they do is jack up the NTLoader.

585566400[/snapback]

Agreed with that.

It always mess with the NTLoader.....arghhhhhh...gotta hate windows.

  • 5 weeks later...
fdisk /mbr does not work for me. I've even ran a search on my XP box for 'fdisk'...and it's not on here.

Is there a way that actually works? shall I try the 'fixmbr' command and see if that works - because I really don't wanna' mess up my system.

585823046[/snapback]

I have always used fdisk /mbr, but I pretty much stopped using Windows right about the start of the XP days, so I can't say for sure which command is supported in XP. Both are equivalent commands, so they are both safe (and set the MBR back to the MS default)

I have always used fdisk /mbr, but I pretty much stopped using Windows right about the start of the XP days, so I can't say for sure which command is supported in XP.  Both are equivalent commands, so they are both safe (and set the MBR back to the MS default)

585830160[/snapback]

If you have MS Windows 95/98/ME installed, click on Start >> Run. Type in "command", without the quotes, and press Enter. At the command prompt, type in the command "fdisk /mbr" to reinstall the Windows bootloader into the MBR.

If you have MS Windows 2000/XP installed, you will need to have the Windows Installation CD. Insert the Installation CD into your CD-ROM drive and reboot your computer. When Windows Setup loads up, follow the onscreen instructions to open the Recovery Console. At the Recovery Console command prompt, type in the command "fixmbr" to reinstall the Windows bootloader into the MBR.

Slight difference in the OS's.

Ok folks.

Fixmbr and fixboot are not working for me. It says it has revised the boot sector etc, but when I restart the computer it still says the hard drive is not bootable. Tried from the Windows XP CD. The options are limited - it won't let you run anything but what is listed under help (so, no fdisk, sys, etc).

I'm getting very frustrated. I tried reinstalling XP, but it simply copies files over to the HD, resets the computer and then tries to boot from the hard drive (which it cannot do).

I'm lost for a solution.

Ok folks.

Fixmbr and fixboot are not working for me.  It says it has revised the boot sector etc, but when I restart the computer it still says the hard drive is not bootable.  Tried from the Windows XP CD.  The options are limited - it won't let you run anything but what is listed under help (so, no fdisk, sys, etc).

I'm getting very frustrated.  I tried reinstalling XP, but it simply copies files over to the HD, resets the computer and then tries to boot from the hard drive (which it cannot do).

I'm lost for a solution.

585845486[/snapback]

I am not sure why your XP is refusing to boot. Really, all that needs to be done is get Windows to restore the MBR and you are done.

What I would recommend at thsi point (you did try a Win98 boot disk from http://www.bootdisk.com/ right?) is that you back up whatever data you can - use a Knoppix LiveCD if you must to get access to your data. Then fdisk and remove all partitions and reinstall XP completely from scratch. You may have some bad data in your partition table that prevents it from accessing the correct Microsoft data outside the MBR.

  • 3 months later...

The easiest way to fix this problem (I know, ive had to do it quite a few times) is to go on and start the installion, and format the drive. THEN go into the recovery console and in this order type fixmbr then fixboot and reinstall windows. I have not yet figured out how to keep windows on a seperate partition and have it still boot

I am not sure why your XP is refusing to boot.  Really, all that needs to be done is get Windows to restore the MBR and you are done.

What I would recommend at thsi point (you did try a Win98 boot disk from http://www.bootdisk.com/ right?) is that you back up whatever data you can - use a Knoppix LiveCD if you must to get access to your data.  Then fdisk and remove all partitions and reinstall XP completely from scratch.  You may have some bad data in your partition table that prevents it from accessing the correct Microsoft data outside the MBR.

585847112[/snapback]

dont need to start fdisk. just use the windows xp or 2000 cd and format there then reboot.

about people not getting this to work. not taking you all for stupid or anything like that, i would say check if the error says ntloader missing, if so you have to copy it from the xp cd. that is a whole other operation i dont have at hand rigth now. *there work houres are done, driving home*

If for some reason you find the need to get back to your Windows XP bootloader instead of the one installed by your Linux distro, simply follow these instructions:

1.  Boot up with your Windows XP disc.

2.  Select the option Recovery Console.

3.  At the prompt, type "fixmbr" (without the quotes of course)

4.  Restart your computer.

585565400[/snapback]

Better hope u only have on partition, or you will trash them all (well, they will exist, but u won't be able to boot them)!!! You should warn people ahead of tyme....

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • In what way is any of what I said incorrect? To install an update you need to close all browser instances, upping it from once a month to once a fortnight is an inconvenience for users. Particularly when updates don't offer functionality that users want (notably copilot). Security updates should come as they are needed, not on a release schedule
    • Dopamine 3.0.6 by Razvan Serea Dopamine is an awesome free audio player which tries to make organizing and listening to music as simple and pretty as possible. Dopamine has been designed for Windows 7, Windows 8.x and Windows 10 and plays mp3, ogg vorbis, flac, wma and m4a/aac music formats quite well. The best part? It's created by long-time Neowin member, Raphaël Godart. If you’re looking for a music player to handle a large music collection, you should definitely give Dopamine a try. Dopamine 3.0.6 changelog: Fixed Manually edited album covers are overwritten on the next collection refresh Fixed AppImage package not working on modern GNU/Linux distributions Deleting song from playlist sometimes fails Playback controls only work when clicking on upper half of the buttons It's unclear that files must be tagged with an external ReplayGain scanner (for example rsgain) before normalization can take effect. Change to Artist or Album tags is not reflected in the song list view nor in the Now Playing information ReplayGain issues Smart playlist filters ignore text containing accents or other special characters Some MP3 files trigger an "MPEG header not found" error due to a too-narrow initial MPEG header scan range Changed Updated the Vietnamese translation Download: Dopamine 3.0.6 | 122.0 MB (Open Source) Links: Home Page | Forum Discussion | Screenshot | Other OSes Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • BleachBit 6.0.1 Beta by Razvan Serea When your computer is getting full, BleachBit quickly frees disk space. When your information is only your business, BleachBit guards your privacy. With BleachBit you can free cache, delete cookies, clear Internet history, shred temporary files, delete logs, and discard junk you didn't know was there. Designed for Linux and Windows systems, it wipes clean thousands of applications including Firefox, Microsoft Edge, Google Chrome, Opera, Safari, and more. Beyond simply deleting files, BleachBit includes advanced features such as shredding files to prevent recovery, wiping free disk space to hide traces of files deleted by other applications, and vacuuming Firefox to make it faster. Better than free, BleachBit is open source. BleachBit has many useful features: Delete your private files so completely that "even God can't read them" according to South Carolina Representative Trey Gowdy. Simple operation: read the descriptions, check the boxes you want, click preview, and click delete. Multi-platform: Linux and Windows Free of charge and no money trail Free to share, learn, and modify (open source) No adware, spyware, malware, browser toolbars, or "value-added software" Translated to 64 languages besides American English Shred files to hide their contents and prevent data recovery Shred any file (such as a spreadsheet on your desktop) Overwrite free disk space to hide previously deleted files Portable app for Windows: run without installation Command line interface for scripting and automation CleanerML allows anyone to write a new cleaner using XML Automatically import and update winapp2.ini cleaner files (a separate download) giving Windows users access to 2500+ additional cleaners Frequent software updates with new features Going beyond standard deletion of files, BleachBit has several advanced cleaners: Clear the memory and swap on Linux Delete broken shortcuts on Linux Delete the Firefox URL history without deleting the whole file—with optional shredding Delete Linux localizations: delete languages you don't use. More powerful than localepurge and available on more Linux distributions. Clean APT for Debian, Ubuntu, Kubuntu, Xubuntu, and Linux Mint Find widely-scattered junk such as Thumbs.db and .DS_Store files. Execute yum clean for CentOS, Fedora, and Red Hat to remove cached package data Delete Windows registry keys—often where MRU (most recently used) lists are stored Delete the OpenOffice.org recent documents list without deleting the whole Common.xcu file Overwrite free disk space to hide previously files Vacuum Firefox, Google Chrome, Liferea, Thunderbird, and Yum databases: shrink files without removing data to save space and improve speed Surgically remove private information from .ini and JSON configuration files and SQLite3 databases without deleting the whole file Overwrite data in SQLite3 before deleting it to prevent recovery (optional) BleachBit 6.0.1 Beta release notes: BleachBit 6.0.1 beta is now available for testing. This maintenance-focused release includes bug fixes, updated translations, and a range of safe enhancements. This release fixes a Windows security issue that could allow arbitrary file deletion during privileged cleaning (reported by Zeze with TeamT5). It also adds new cleaners (including a DNS cache cleaner, Claude Code, and Visual Studio Code forks), support for multiple Chrome and Edge profiles, new deep scan options for developer directories like node_modules and venv, and safer, faster file shredding. All Platforms Added cleaners for Claude Code, DNS cache, and many Visual Studio Code forks. Added support for multiple Chrome and Edge profiles. Chrome can now clean downloaded AI models. Deep Scan can optionally remove venv, __pycache__, node_modules, and .angular directories. Deep Scan is faster by skipping directories on the keep list. File shredding is safer, faster, and leaves fewer recoverable traces. Improved handling of cookies, symlinks, Unicode filenames, external processes, and configuration files. Improved Expert Mode warnings and long warning dialogs. Fixed crashes related to cleaner detection, invalid Unicode, and malformed cleaner data. Clipboard is now cleared automatically after shredding files via paste operations. Linux Added AppImage support. Added cleaners for Visual Studio Code, Codeium, Librewolf (.deb), Transmission (Flatpak), and Profanity. Improved Linux trash detection, including Snap-installed applications and mounted drives. Fixed Wayland root CLI issues and several Snap-related problems. Improved package dependencies, AppStream metadata, and desktop file handling. Fixed startup crashes when Python Requests is unavailable. Windows Fixed a security vulnerability that could allow arbitrary file deletion when cleaning with elevated privileges. Added %WindowsSystem% variable support. Improved clipboard clearing using native Windows APIs. Improved installer experience on unsupported Windows versions. Reduced installer size and improved application robustness. Fixed Unicode handling, filename anonymization, Git revision reporting, and splash screen stability. [full release notes] Download: BleachBit 6.0 | Portable | ~20.0 MB (Open Source) View: BleachBit Home page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • One Month Later
      AndreaB earned a badge
      One Month Later
    • One Month Later
      agatameier earned a badge
      One Month Later
    • Week One Done
      agatameier earned a badge
      Week One Done
    • Week One Done
      ssd21345 earned a badge
      Week One Done
    • Contributor
      MarkHughes4096 went up a rank
      Contributor
  • Popular Contributors

    1. 1
      +primortal
      516
    2. 2
      +Edouard
      193
    3. 3
      PsYcHoKiLLa
      147
    4. 4
      ATLien_0
      96
    5. 5
      Steven P.
      77
  • Tell a friend

    Love Neowin? Tell a friend!