[HOW TO] Get back your Windows XP Bootloader


Recommended Posts

fixmbr does not trash your partitions. It just returns the Microsoft boot loader to the Master Boot Record. Microsoft cannot (will not?) see the Linux partitions, but they exist and can be used or removed, at the user's discretion.

You can re-install GRUB (or LILO) to re-allow mutli-boot, or you can set up your NT boot loader to do the same thing.

  • 4 weeks later...
  • 3 months later...

very very thanks to you........................................

there is lot of formulas to remove linux and bring back the xp boot loader but easiest way is posted in first post of this thread and that way is also secure.......

thanks

  • 3 weeks later...
  • 3 months later...
Hmm, that must be if you've installed Linux in a VERY specific way, because now I can't boot into either OS. Wonderful.
No. It is very general, as it restores the Microsoft MBR to the hard drive.

Chances are that some other action has corrupted your partitions if this doesn't work.

Well, here is a method that will work, if you can boot Linux (installed or LiveCD, it doesn't matter).

The "code" part of the MBR is the first 446 bytes of the hard drive. If you can get that as a file, then you use the command (as root):

dd if=mbr.bin of=/dev/hda bs=446 count=1

Now, all we need is some nice soul with XP and a LiveCD to grab the 446 bytes from his XP box and post it here, so others can use it to write to their MBR.

That eliminates any problems with booting the XP CD and getting to recovery console, or booting from a floppy from bootdisk.com.

  • 1 month later...

well I have tried the fixmbr in the windows recovery console, but wasn't sure if I had screwed up beacuse after typing that in, installation then rebooted right into the windows xp install. Now even if i try to stop it midway, the installation pop up again even if I reboot. Basically, my concern is if my files will still be avaible to me besides the fact that the windows installation is installnig windows xp again

Yes (if I understand you correctly).

Your Linux partition(s) will be there, untouched. The fixmbr just reset the Windows bootloader to its Microsoft-default settings. You can do a grub-install to get the ability to use GRUB to boot back into Linux.

Use a LiveCD to browse around and verify your data is untouched for yourself. :)

  • 1 month later...

It is fdisk /mbr (no space in the "/mbr" part), or fixmbr. That might be part of the problem.

That fixes the MBR. If for some (non-Linux) reason, your boot.ini file is in need of repair (Linux doesn't touch NTFS, so it could not have modified it*), you can do a fixboot, and I believe that it will fix the boot.ini and NTLDR for you.

* Technically Linux can write to your NTFS partition, but it would take several deliberate actions on your part.

Honestly, I don't know.

Conventional wisdom has been when I started using Linux that it was experimental and not recommended.

I don't know how much native NTFS has improved since then. Also, CaptiveNTFS made its debut a few years ago, and that uses Windows' own NTFS.SYS file to 'understand' the NTFS filesystem. I have heard it works, but is a bit more sluggish.

You will always be safe writing to a Linux native filesystem, or FAT, so that is what I would probably recommend.

well what basicaly happens with me is i did sepll it right, i typed "fdisk /mbr" and it said "are you sure you want to write a new mbr?" and i hit enter, than it just says it again and again, so i couldnt figure out how to restart my pc from there so i hat to hit th power and it was still GRUB.

well what basicaly happens with me is i did sepll it right, i typed "fdisk /mbr" and it said "are you sure you want to write a new mbr?" and i hit enter, than it just says it again and again, so i couldnt figure out how to restart my pc from there so i hat to hit th power and it was still GRUB.

You are not supposed to keep hitting enter, you press "y" and then hit enter.

well, it doesnt say what to do, and it only lets me type one letter

So you have to type a "Y" or a "N" and then <Enter>.... yes? I've done this multiple times and it works ok for me (no looping back).

Barney

**Edit... the guy above me beat me to this! :pinch:

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...

What do you do if your Windows XP CD resides on a HD, for example on a Dell, and the HD you are wanting to recover is on a separate HD. How do you recover it then? Is there a Boot CD that can be downloaded and used?

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

    • No registered users viewing this page.
  • Posts

    • How can it beat a Steam machine without a serious GPU? The two CU iGPU only provides about 5fps in gaming. That's not going to make any gamer happy.
    • Anthropic introduces Claude Tag, a new AI teammate for Slack by Fiza Ali Anthropic has announced Claude Tag, a new feature that lets teams work with Claude directly inside Slack. The idea is simple: once Claude is added to a Slack workspace and given access to selected channels, users can tag @Claude in conversations and assign tasks. Claude can then work through those requests using connected tools and data sources before posting its results back into a Slack thread. What makes Claude Tag different from a typical chatbot is that it's designed to operate as a shared assistant for an entire team rather than a single user. Everyone in a channel interacts with the same Claude instance. This allows the team members to see ongoing work and continue tasks started by others. Furthermore, Anthropic says the AI can build context over time by following conversations in channels where it has permission to operate. This means users don't have to repeatedly provide the same background information for every request. The system is also designed for asynchronous work. Instead of waiting for responses in a chat window, users can assign a task to Claude and return later once the work is complete. Anthropic says Claude can break larger requests into multiple steps and use connected tools to complete them. Moreover, the system can also schedule follow-up tasks and continue working on projects over extended periods. Another feature allows Claude to keep the users updated and follow up on unresolved tasks when its optional "ambient" mode is enabled. The company says the tool is already being used internally for software development, data analysis, support workflows, and debugging. According to Anthropic, around 65% of its product team's code is now generated through its internal version of Claude Tag. For organisations concerned about security, administrators can control which channels, tools, and data sources Claude can access. Separate Claude instances can also be configured for different departments, helping keep information isolated between teams. Administrators can also monitor activity logs, review completed tasks, and set spending limits at both the organisation and channel level. Claude Tag is now available in beta for Claude Enterprise and Claude Team customers and runs on Claude Opus 4.8 that was announced this May. The feature will also replace Anthropic's existing Claude in Slack application, with current users able to migrate within a 30-day migration window. Lastly, eligible customers will receive introductory credits to help teams evaluate the new experience.
    • Beats Studio Pro wireless over-ear ANC headphones drop to their lowest price yet by Fiza Ali Amazon is currently offering the Beats Studio Pro headphones at their all-time low price. The Studio Pro use 40mm active drivers which are designed to improve clarity and reduce distortion compared to previous models, with up to an 80% improvement over the Beats Studio3 Wireless. A built-in digital processor adjusts frequency response to keep the sound balanced rather than overly boosted in any one area. They also include Active Noise Cancelling that adapts to your surroundings to reduce background noise along with a Transparency mode that lets outside sound in when you need awareness of what’s going on around you. Furthermore, the headphones support personalised Spatial Audio with dynamic head tracking as well as Dolby Atmos playback on supported content. Moreover, built-in voice-targeting microphones improve call quality. You can also switch between three sound profiles including Beats Signature for balanced music playback, Entertainment for films and gaming, and Conversation for clearer voice in calls and podcasts. Physically, they are designed to be worn for long periods without feeling heavy or awkward. The ear cushions use UltraPlush engineered leather while metal sliders allow you to adjust the fit. On the connectivity side, the Studio Pro use Class 1 Bluetooth for a stable, long-range wireless connection. There is also a 3.5mm input if you want to plug in directly, including use with in-flight entertainment systems. Controls are located on the headphones and include a "b" button for music and call control, a volume rocker, and a multifunction button used for switching listening modes, EQ settings, power, and pairing. In addition, the headphones offer integration with both Apple and Android devices. On Apple devices, they support one-touch pairing with iCloud-linked devices, hands-free Siri access, Find My tracking based on last connected location, and automatic software updates. On Android devices, they support Google Fast Pair, Audio Switch between compatible devices, and Google Find My Device tracking, with additional features available through the Beats app. When it comes to the battery performance, it is rated at up to 40 hours of listening time with ANC turned off, and up to 24 hours with ANC or Transparency mode enabled. A 10-minute Fast Fuel charge should provide up to 4 hours of playback. Finally, the headphones use a rechargeable lithium-ion battery and charge via USB-C. Beats Studio Pro Wireless Over-Ear ANC Headphones: $149.95 (Amazon US) Good to know This Amazon deal is U.S. specific, and not available in other regions unless specified. We only use first-party seller links (at the time of article publishing); ensure that you purchase from a first-party seller link only. Check out Today's Deals on Amazon | or our recent tech deals. Become a Prime member (for Students or SNAP) via Neowin Get Prime Access - Prime for half price (for qualifying Medicaid, EBT, SNAP) Subscribe to Prime Video, Audible Plus, Music Unlimited or Kindle Unlimited via Neowin As an Amazon Associate, we earn from qualifying purchases.
    • "lets you pause updates by choosing an end date, for up to 35 days" Wasn't it "indefinitely"?
    • Those extra reboots are related to the UEFI Secure Boot certificate update thing.
  • Recent Achievements

    • Rookie
      DaviKar went up a rank
      Rookie
    • Dedicated
      HidekoYamamoto94 earned a badge
      Dedicated
    • One Month Later
      timbobit earned a badge
      One Month Later
    • One Month Later
      nates earned a badge
      One Month Later
    • Week One Done
      Almohandis earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      460
    2. 2
      +Edouard
      161
    3. 3
      PsYcHoKiLLa
      110
    4. 4
      Michael Scrip
      81
    5. 5
      Steven P.
      69
  • Tell a friend

    Love Neowin? Tell a friend!