markwolfe Veteran Posted August 9, 2005 Veteran Share Posted August 9, 2005 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. Link to comment https://www.neowin.net/forum/topic/292614-how-to-get-back-your-windows-xp-bootloader/page/2/#findComment-586350360 Share on other sites More sharing options...
Nostromov Posted September 4, 2005 Share Posted September 4, 2005 I like using the windows 98/me boot discs the best. 585570750[/snapback] www.bootdisk.com :) Link to comment https://www.neowin.net/forum/topic/292614-how-to-get-back-your-windows-xp-bootloader/page/2/#findComment-586477011 Share on other sites More sharing options...
mincho Posted December 9, 2005 Share Posted December 9, 2005 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 Link to comment https://www.neowin.net/forum/topic/292614-how-to-get-back-your-windows-xp-bootloader/page/2/#findComment-586898067 Share on other sites More sharing options...
dan diemer Posted December 26, 2005 Share Posted December 26, 2005 Thanks a ton, worked well for me. Link to comment https://www.neowin.net/forum/topic/292614-how-to-get-back-your-windows-xp-bootloader/page/2/#findComment-586972073 Share on other sites More sharing options...
Catharsis Posted April 10, 2006 Share Posted April 10, 2006 Hmm, that must be if you've installed Linux in a VERY specific way, because now I can't boot into either OS. Wonderful. Link to comment https://www.neowin.net/forum/topic/292614-how-to-get-back-your-windows-xp-bootloader/page/2/#findComment-587403660 Share on other sites More sharing options...
markwolfe Veteran Posted April 11, 2006 Veteran Share Posted April 11, 2006 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. Link to comment https://www.neowin.net/forum/topic/292614-how-to-get-back-your-windows-xp-bootloader/page/2/#findComment-587404200 Share on other sites More sharing options...
QuarterSwede Posted April 11, 2006 Share Posted April 11, 2006 All I know is that that method has never worked for me. Link to comment https://www.neowin.net/forum/topic/292614-how-to-get-back-your-windows-xp-bootloader/page/2/#findComment-587406958 Share on other sites More sharing options...
Banzai Posted April 12, 2006 Share Posted April 12, 2006 i aint got the recovery console on my xp cd Link to comment https://www.neowin.net/forum/topic/292614-how-to-get-back-your-windows-xp-bootloader/page/2/#findComment-587409149 Share on other sites More sharing options...
markwolfe Veteran Posted April 12, 2006 Veteran Share Posted April 12, 2006 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. Link to comment https://www.neowin.net/forum/topic/292614-how-to-get-back-your-windows-xp-bootloader/page/2/#findComment-587409222 Share on other sites More sharing options...
Keisugo Posted May 14, 2006 Share Posted May 14, 2006 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 Link to comment https://www.neowin.net/forum/topic/292614-how-to-get-back-your-windows-xp-bootloader/page/2/#findComment-587505792 Share on other sites More sharing options...
markwolfe Veteran Posted May 14, 2006 Veteran Share Posted May 14, 2006 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. :) Link to comment https://www.neowin.net/forum/topic/292614-how-to-get-back-your-windows-xp-bootloader/page/2/#findComment-587505933 Share on other sites More sharing options...
ViperAFK Posted June 15, 2006 Share Posted June 15, 2006 after i do the fdisk / mbr how do i reboot from there without having to turn off the PC? (cause that doesnt fix the bootloader if you do that) Link to comment https://www.neowin.net/forum/topic/292614-how-to-get-back-your-windows-xp-bootloader/page/2/#findComment-587606963 Share on other sites More sharing options...
markwolfe Veteran Posted June 15, 2006 Veteran Share Posted June 15, 2006 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. Link to comment https://www.neowin.net/forum/topic/292614-how-to-get-back-your-windows-xp-bootloader/page/2/#findComment-587607106 Share on other sites More sharing options...
Kraftman Posted June 15, 2006 Share Posted June 15, 2006 markjensen : Linux + NTFS write = kernel recompile. Is it stable and safe to write to an NTFS partition in Linux? This would be hardcore BitTorrent downloading with every second file access kinda thing. Link to comment https://www.neowin.net/forum/topic/292614-how-to-get-back-your-windows-xp-bootloader/page/2/#findComment-587607109 Share on other sites More sharing options...
markwolfe Veteran Posted June 15, 2006 Veteran Share Posted June 15, 2006 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. Link to comment https://www.neowin.net/forum/topic/292614-how-to-get-back-your-windows-xp-bootloader/page/2/#findComment-587608312 Share on other sites More sharing options...
ViperAFK Posted June 15, 2006 Share Posted June 15, 2006 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. Link to comment https://www.neowin.net/forum/topic/292614-how-to-get-back-your-windows-xp-bootloader/page/2/#findComment-587608492 Share on other sites More sharing options...
markwolfe Veteran Posted June 15, 2006 Veteran Share Posted June 15, 2006 Are you supposed to hit ENTER or answer 'yes'? It certainly seems that your XP Recovery Console isn't re-writing the MBR!=... :unsure: Link to comment https://www.neowin.net/forum/topic/292614-how-to-get-back-your-windows-xp-bootloader/page/2/#findComment-587608717 Share on other sites More sharing options...
ViperAFK Posted June 15, 2006 Share Posted June 15, 2006 well, it doesnt say what to do, and it only lets me type one letter Link to comment https://www.neowin.net/forum/topic/292614-how-to-get-back-your-windows-xp-bootloader/page/2/#findComment-587609242 Share on other sites More sharing options...
LittleNeutrino Veteran Posted June 15, 2006 Veteran Share Posted June 15, 2006 the way i got my bootloader back is put in the xp disk and then run the recovery console and type in Fixmbr or fdisk\mbr Link to comment https://www.neowin.net/forum/topic/292614-how-to-get-back-your-windows-xp-bootloader/page/2/#findComment-587609256 Share on other sites More sharing options...
ViperAFK Posted June 15, 2006 Share Posted June 15, 2006 well that is what i did, like i said it just keeps asking me if i want to write a new one and doesnt do it. Link to comment https://www.neowin.net/forum/topic/292614-how-to-get-back-your-windows-xp-bootloader/page/2/#findComment-587609348 Share on other sites More sharing options...
gigapixels Veteran Posted June 15, 2006 Veteran Share Posted June 15, 2006 fixboot and fixmbar are the two commands you need to type. That's all. Link to comment https://www.neowin.net/forum/topic/292614-how-to-get-back-your-windows-xp-bootloader/page/2/#findComment-587609355 Share on other sites More sharing options...
strekship Posted June 19, 2006 Share Posted June 19, 2006 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. Link to comment https://www.neowin.net/forum/topic/292614-how-to-get-back-your-windows-xp-bootloader/page/2/#findComment-587621052 Share on other sites More sharing options...
Barney T. Administrators Posted June 20, 2006 Administrators Share Posted June 20, 2006 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: Link to comment https://www.neowin.net/forum/topic/292614-how-to-get-back-your-windows-xp-bootloader/page/2/#findComment-587621492 Share on other sites More sharing options...
buzlink Posted June 20, 2006 Share Posted June 20, 2006 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? Link to comment https://www.neowin.net/forum/topic/292614-how-to-get-back-your-windows-xp-bootloader/page/2/#findComment-587623398 Share on other sites More sharing options...
markwolfe Veteran Posted June 20, 2006 Veteran Share Posted June 20, 2006 Borrow a CD? Or use a boot floppy (images readily available online) from Windows 95 or 98. They will work just fine, according to Microsoft. (Y) Link to comment https://www.neowin.net/forum/topic/292614-how-to-get-back-your-windows-xp-bootloader/page/2/#findComment-587623425 Share on other sites More sharing options...
Recommended Posts