[HOW TO] Get back your Windows XP Bootloader


Recommended Posts

Hey all, I just registered to the site to say thank you, you helped me a whole bunch!

I just downloaded a copy of Vista off the web, followed the live CD through till it said Repair Your Computer, went to Command Prompt and typed "Bootrec.exe /FixMbr" and hit enter! Now it works again.

I LOVE YOU!!!

Again i draw your attention to my earlier post: HERE

After reading the continued postings about fixing the mbr via windows repair etc, i can only come to the conclusion that some people like to head butt brick walls and other immovable objects in their spare time, even after being given a solution that doesnt destroy the mbr in the first place...........seriously, why do you lot persist to do things the hard way? The human gene pool is doomed going on the evidence supplied here.

  • 1 month later...
  • 1 year later...

For what it's worth, I don't have a Windows install CD that works, either (short form: Thinkpad T61p was pre-installed and XP appears to need drivers for hard drive). I'm perfectly happy with grub, but Truecrypt wasn't.

So, I moved grub to my Linux boot partition then needed to recover the NT boot loader (which I zorched long ago when installing Ubuntu).

I installed a new Windows under VMWare (from an MSDN CD), then booted that VM in a linux rescue CD and extracted the first 446 bytes of the drive (dd if=/dev/sda of=ntboot.mbr count=1 bs=446).

I then put that into my target machine (dd if=ntboot.mbr of=/dev/sda) and the NT boot loader was back. I presume that this worked because in both the real and VM cases I was booting from the first partition (/dev/sda1 in Linuxspeak).

For completeness, to make the machine keep booting linux I extracted the boot record from my boot partition (dd if=/dev/sda6 of=linux.mbr count=1 bs=512) and set boot.ini to load that file.

Truecrypt is now happy and I now have an encrypted Windows boot drive and can still boot Windows and Linux with the drive available (Truecrypt FTW!). Now to encrypt the Linux drive...

  • 6 months later...

I'm a bit surprised this post hasn't been kept up to date. For Windows 7 do this:

Boot from the Windows 7 CD

Choose Repair

Choose Command Prompt

Type this in the command prompt:

bootsect /nt60 c: /mbr

This gets rid of grub and replaces it with the Window 7 bootloader.

  • 1 month later...

I'm a bit surprised this post hasn't been kept up to date. For Windows 7 do this:

Boot from the Windows 7 CD

Choose Repair

Choose Command Prompt

Type this in the command prompt:

bootsect /nt60 c: /mbr

This gets rid of grub and replaces it with the Window 7 bootloader.

I just tried this and nothing happened still stuck with the grub

  • Brandon H unpinned this topic
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • What they really need to do is automatically spell "loses" and "lose" correctly since nobody seems to know how to anymore. Then they blame spellcheck/autocomplete and don't realize autocomplete is just filling in the word for them automatically so it was misspelled in the first place.
    • If someone chooses to continue using SB and therefore goes through the manual intervention in the thread, afterwards the BSOD problem is gone. Whether they then re-enable the task doesn't matter, they're done, though on such machines it might pay to keep it disabled in case the next update (if there is a next) causes the same problem. OTOH, if someone disables SB in the BIOS, the problem is also gone. Incidentally, I noticed that this task exists even on machines that don't support SB. It's just installed across the board...and runs. Doing what on such machines is a little hazy.
    • qBittorrent 5.2.2 by Razvan Serea The qBittorrent project aims to provide a Free Software alternative to µtorrent. qBittorrent is an advanced and multi-platform BitTorrent client with a nice user interface as well as a Web UI for remote control and an integrated search engine. qBittorrent aims to meet the needs of most users while using as little CPU and memory as possible. qBittorrent is a truly Open Source project, and as such, anyone can and should contribute to it. qBittorrent features: Polished µTorrent-like User Interface Well-integrated and extensible Search Engine Simultaneous search in most famous BitTorrent search sites Per-category-specific search requests (e.g. Books, Music, Movies) All Bittorrent extensions DHT, Peer Exchange, Full encryption, Magnet/BitComet URIs, ... Remote control through a Web user interface Nearly identical to the regular UI, all in Ajax Advanced control over trackers, peers and torrents Torrents queueing and prioritizing Torrent content selection and prioritizing UPnP / NAT-PMP port forwarding support Available in ~25 languages (Unicode support) Torrent creation tool Advanced RSS support with download filters (inc. regex) Bandwidth scheduler IP Filtering (eMule and PeerGuardian compatible) IPv6 compliant Available on most platforms: Linux, Mac OS X, Windows, OS/2, FreeBSD qBittorrent 5.2.2 changelog: FEATURE: Use D-Bus to show file in file managers (Chocobo1) #24340 BUGFIX: Fix friendlyUnitCompact precision calculation (vafada) #24323 BUGFIX: Remove all top-level folders (glassez) #24333 BUGFIX: Use proper API for checking exit status (Chocobo1) #24349 BUGFIX: Delete stale lockfile when hostname mismatch (TurboTheTurtle, glassez) #24363 BUGFIX: Fix wrong removal procedure of watched folder paths (Chocobo1) #24413 BUGFIX: Don't reannounce before interface changes are applied (glassez) #24447 BUGFIX: Use Latin script for Bosnian locale name (Andy Ye) #24342 WEBUI: Fix performance of global checkbox toggling (tehcneko) #24316 WEBUI: Fix Safari transfer list header misalignment (Piccirello) #24377 WEBUI: Fix error when submitting magnet before metadata loads (Piccirello) #24378 WEBUI: Use correct row id when updating Rss Downloader feed selection (Chocobo1) #24402 WEBUI: Use SameSite=Lax for session cookie to fix cross-site login (Piccirello) #24422 WEBUI: Bring back properties panel expand/collapse button (vafada) #24430 WEBAPI: Only use X-Forwarded-Host header when reverse proxy support is enabled (Chocobo1) #24457 RSSS: Fix "RSS Smart Episode Filter" RegEx (nathanon-akk, glassez) #24398 RSS: Fix previously matched episode format (glassez) #24452 WINDOWS: Fix Python fallback search path (TurboTheTurtle) #24325 WINDOWS: NSIS: Allow to install x64 binary on ARM64 (Chocobo1) #24358 Download: qBittorrent 5.2.2 | 41.1 MB (Open Source) Download: qBittorrent 64-bit installer (qt6) | 43.6 MB Links: qBittorrent Home page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Weechat. https://weechat.org/
  • Recent Achievements

    • Veteran
      branfont went up a rank
      Veteran
    • Reacting Well
      Almohandis earned a badge
      Reacting Well
    • First Post
      Cosminus earned a badge
      First Post
    • One Year In
      ThatGuyOnline earned a badge
      One Year In
    • Week One Done
      Jeroen Wilms earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      485
    2. 2
      +Edouard
      185
    3. 3
      PsYcHoKiLLa
      126
    4. 4
      Steven P.
      87
    5. 5
      neufuse
      72
  • Tell a friend

    Love Neowin? Tell a friend!